* Make fails on Mac OS 10.7: ld: symbol(s) not found
@ 2011-10-16 8:04 Marius Hofert
2011-10-16 12:42 ` Marius Hofert
2011-10-16 17:23 ` Peter Dyballa
0 siblings, 2 replies; 4+ messages in thread
From: Marius Hofert @ 2011-10-16 8:04 UTC (permalink / raw
To: Emacs help
Hi,
I tried to build and install emacs 23.3 on Mac OS X 10.7.2 (Lion) and obtained (during "make"):
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
What is missing?
Not sure if this is important:
The first call to ./configure stopped with an error saying that libgif was missing. I got it from sourceforge and installed it (as described in INSTALL). Then I did "make distclean" and after that ./configure and make (see output below).
Cheers,
Marius
## output
bash-3.2$ ./configure
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E -no-cpp-precomp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc understands -Wno-pointer-sign... yes
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E -no-cpp-precomp
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for install-info... /usr/bin/install-info
checking for install-info... (cached) /usr/bin/install-info
checking for install-info... (cached) /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for makeinfo... /usr/bin/makeinfo
checking for -znocombreloc... no
configure: checking the machine- and system-dependent files to find out
- which libraries the lib-src programs will want, and
- whether the GNU malloc routines are usable...
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for pkg-config... /opt/local/bin/pkg-config
checking for alsa >= 1.0.0... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking linux/version.h usability... no
checking linux/version.h presence... no
checking for linux/version.h... no
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking coff.h usability... no
checking coff.h presence... no
checking for coff.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vlimit.h usability... no
checking sys/vlimit.h presence... no
checking for sys/vlimit.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/_mbstate_t.h usability... no
checking sys/_mbstate_t.h presence... no
checking for sys/_mbstate_t.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking if personality LINUX32 can be set... no
checking for term.h... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for function prototypes... yes
checking for working volatile... yes
checking for an ANSI C-conforming const... yes
checking for void * support... yes
checking whether make sets $(MAKE)... yes
checking whether we are using GNU Make... yes
checking whether gcc understands -MMD -MF... yes
checking for long file names... yes
checking for X... libraries /usr/X11/lib, headers
checking for malloc_get_state... no
checking for malloc_set_state... no
checking whether __after_morecore_hook exists... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking for XSetWMProtocols... yes
checking X11 version 6... 6 or newer
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for librsvg-2.0 >= 2.11.0... no
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for gtk+-2.0 >= 2.6 glib-2.0 >= 2.6... no
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for dbus-1 >= 1.0... no
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for gconf-2.0 >= 2.13... no
checking for xaw3d... no
checking for libXaw... yes; using Lucid toolkit
checking X11 toolkit version... 6 or newer
checking for XmuConvertStandardSelection in -lXmu... yes
checking for XShapeQueryExtension in -lXext... yes
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for fontconfig >= 2.2.0... yes
checking FONTCONFIG_CFLAGS... -I/opt/local/include
checking FONTCONFIG_LIBS... -L/opt/local/lib -lfontconfig
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for xft >= 0.13.0... yes
checking XFT_CFLAGS... -I/opt/local/include -I/opt/local/include/freetype2
checking XFT_LIBS... -L/opt/local/lib -lXft
checking for XRenderQueryExtension in -lXrender... yes
checking X11/Xft/Xft.h usability... yes
checking X11/Xft/Xft.h presence... yes
checking for X11/Xft/Xft.h... yes
checking for XftFontOpen in -lXft... yes
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for libotf... no
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for jpeg_destroy_compress in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking for png_get_channels in -lpng... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for EGifPutExtensionLast in -lgif... yes
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
checking malloc/malloc.h usability... yes
checking malloc/malloc.h presence... yes
checking for malloc/malloc.h... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking whether netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking for gethostname... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... no
checking for getrusage... yes
checking for get_current_dir_name... no
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... yes
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for __fpending... no
checking for mblen... yes
checking for mbrlen... yes
checking for mbsinit... yes
checking for strsignal... yes
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockopt... yes
checking for setsockopt... yes
checking for getsockname... yes
checking for getpeername... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for getline... yes
checking for getdelim... yes
checking for mremap... no
checking for memmove... yes
checking for fsync... yes
checking for sync... yes
checking for bzero... yes
checking for memset... yes
checking for memcmp... yes
checking for difftime... yes
checking for memcpy... yes
checking for mempcpy... no
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for posix_memalign... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for alarm... yes
checking for working mktime... no
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... yes
checking whether getpgrp requires zero arguments... yes
checking for strftime... yes
checking for grantpt... yes
checking for getpt... no
checking for tparm in -lncurses... yes
checking for res_init with -lresolv... yes
checking for dgettext in -lintl... yes
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking whether system supports dynamic ptys... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for mbstate_t... yes
checking for C restrict keyword... __restrict
checking for C restricted array declarations... yes
Configured for `x86_64-apple-darwin11.2.0'.
Where should the build process find the source code? /Users/mhofert/Downloads/emacs-23.3
What operating system and machine description files should Emacs use?
`s/darwin.h' and `m/amdx86-64.h'
What compiler should emacs be built with? gcc -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign
Should Emacs use the GNU version of malloc? no
(The GNU allocators don't work with this system configuration.)
Should Emacs use a relocating allocator for buffers? no
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? x11
What toolkit should Emacs use? LUCID
Where do we find X Windows header files? Standard dirs
Where do we find X Windows libraries? /usr/X11/lib
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? yes
Does Emacs use -ljpeg? yes
Does Emacs use -ltiff? yes
Does Emacs use a gif library? yes -lgif
Does Emacs use -lpng? yes
Does Emacs use -lrsvg-2? no
Does Emacs use -lgpm? no
Does Emacs use -ldbus? no
Does Emacs use -lgconf? no
Does Emacs use -lfreetype? yes
Does Emacs use -lm17n-flt? no
Does Emacs use -lotf? no
Does Emacs use -lxft? yes
Does Emacs use toolkit scroll bars? no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib-src/Makefile.c
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile.c
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating src/config.h
config.status: executing default commands
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile
bash-3.2$ make
cd lib-src; make all \
CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-pointer-sign ' CPPFLAGS='' \
LDFLAGS='-L/usr/X11/lib' MAKE='make'
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -o test-distrib /Users/mhofert/Downloads/emacs-23.3/lib-src/test-distrib.c
./test-distrib /Users/mhofert/Downloads/emacs-23.3/lib-src/testfile
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/make-docfile.c -o make-docfile
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/profile.c -o profile
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/digest-doc.c -o digest-doc
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/sorted-doc.c -o sorted-doc
cp /Users/mhofert/Downloads/emacs-23.3/lib-src/getopt_.h getopt.h-t
mv getopt.h-t getopt.h
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/movemail.c
/Users/mhofert/Downloads/emacs-23.3/lib-src/movemail.c: In function ‘error’:
/Users/mhofert/Downloads/emacs-23.3/lib-src/movemail.c:618: warning: format not a string literal and no format arguments
/Users/mhofert/Downloads/emacs-23.3/lib-src/movemail.c:618: warning: format not a string literal and no format arguments
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/pop.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/getopt.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/getopt1.c
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign movemail.o pop.o getopt.o getopt1.o -o movemail
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/fakemail.c -o fakemail
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/hexl.c -o hexl
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/update-game-score.c -DHAVE_SHARED_GAME_DIR="\"/usr/local/var/games/emacs\""
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign update-game-score.o getopt.o getopt1.o -o update-game-score
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER /Users/mhofert/Downloads/emacs-23.3/lib-src/../src/regex.c
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"23.3\"" /Users/mhofert/Downloads/emacs-23.3/lib-src/etags.c getopt.o getopt1.o regex.o -o etags
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"23.3\"" /Users/mhofert/Downloads/emacs-23.3/lib-src/etags.c getopt.o getopt1.o regex.o -o ctags
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/emacsclient.c getopt.o getopt1.o -DVERSION="\"23.3\"" -o emacsclient
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign /Users/mhofert/Downloads/emacs-23.3/lib-src/b2m.c -DVERSION="\"23.3\"" getopt.o getopt1.o -o b2m
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lib-src -I/Users/mhofert/Downloads/emacs-23.3/lib-src/../src -L/usr/X11/lib -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DVERSION="\"23.3\"" /Users/mhofert/Downloads/emacs-23.3/lib-src/ebrowse.c getopt.o getopt1.o -o ebrowse
boot=bootstrap-emacs; \
if [ ! -x "src/$boot" ]; then \
cd src; make all \
CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-pointer-sign ' CPPFLAGS='' \
LDFLAGS='-L/usr/X11/lib' MAKE='make' BOOTSTRAPEMACS="$boot"; \
fi;
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/pre-crt0.d pre-crt0.c
cd ../lwlib/; make CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-pointer-sign ' MAKE='make' "C_SWITCH_X_SITE=-I/opt/local/include -I/opt/local/include/freetype2" "C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=" "C_SWITCH_MACHINE=" "C_SWITCH_SYSTEM="
gcc -c -I/opt/local/include -I/opt/local/include/freetype2 -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -Demacs -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lwlib -I/Users/mhofert/Downloads/emacs-23.3/lwlib/../src /Users/mhofert/Downloads/emacs-23.3/lwlib/lwlib.c
gcc -c -I/opt/local/include -I/opt/local/include/freetype2 -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -Demacs -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lwlib -I/Users/mhofert/Downloads/emacs-23.3/lwlib/../src lwlib-Xlw.c
gcc -c -I/opt/local/include -I/opt/local/include/freetype2 -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -Demacs -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lwlib -I/Users/mhofert/Downloads/emacs-23.3/lwlib/../src xlwmenu.c
gcc -c -I/opt/local/include -I/opt/local/include/freetype2 -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -Demacs -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lwlib -I/Users/mhofert/Downloads/emacs-23.3/lwlib/../src lwlib-Xaw.c
gcc -c -I/opt/local/include -I/opt/local/include/freetype2 -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -Demacs -I. -I../src -I/Users/mhofert/Downloads/emacs-23.3/lwlib -I/Users/mhofert/Downloads/emacs-23.3/lwlib/../src lwlib-utils.c
rm -f liblw.a
ar cq liblw.a lwlib.o lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o lwlib-utils.o
ranlib liblw.a
touch stamp-oldxmenu
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/dispnew.d dispnew.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/frame.d frame.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/scroll.d scroll.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xdisp.d xdisp.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/menu.d menu.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xmenu.d xmenu.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/window.d window.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/charset.d charset.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/coding.d coding.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/category.d category.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/ccl.d ccl.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/character.d character.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/chartab.d chartab.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/cm.d cm.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/term.d term.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/terminal.d terminal.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xfaces.d xfaces.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xterm.d xterm.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xfns.d xfns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xselect.d xselect.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xrdb.d xrdb.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/fontset.d fontset.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xsmfns.d xsmfns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/fringe.d fringe.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/image.d image.c
image.c: In function ‘my_png_error’:
image.c:5690: warning: ‘jmpbuf’ is deprecated (declared at /opt/local/include/png.h:1114)
image.c: In function ‘png_load’:
image.c:5863: warning: ‘jmpbuf’ is deprecated (declared at /opt/local/include/png.h:1114)
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xsettings.d xsettings.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xgselect.d xgselect.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/emacs.d emacs.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/keyboard.d keyboard.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/macros.d macros.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/keymap.d keymap.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/sysdep.d sysdep.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/buffer.d buffer.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/filelock.d filelock.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/insdel.d insdel.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/marker.d marker.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/minibuf.d minibuf.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/fileio.d fileio.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/dired.d dired.c
dired.c: In function ‘Ffile_attributes’:
dired.c:1038: warning: comparison is always false due to limited range of data type
dired.c:1038: warning: comparison is always false due to limited range of data type
dired.c:1042: warning: comparison is always false due to limited range of data type
dired.c:1042: warning: comparison is always false due to limited range of data type
dired.c:1090: warning: comparison is always false due to limited range of data type
dired.c:1090: warning: comparison is always false due to limited range of data type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/filemode.d filemode.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/cmds.d cmds.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/casetab.d casetab.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/casefiddle.d casefiddle.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/indent.d indent.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/search.d search.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/regex.d regex.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/undo.d undo.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/alloc.d alloc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/data.d data.c
echo "#define BUILDOBJ \"dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o xfont.o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o widget.o mktime.o " "\"" > buildobj.h
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/doc.d doc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/editfns.d editfns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/callint.d callint.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/eval.d eval.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/floatfns.d floatfns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/fns.d fns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/font.d font.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/print.d print.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/lread.d lread.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/syntax.d syntax.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/unexmacosx.d unexmacosx.c
unexmacosx.c: In function ‘read_load_commands’:
unexmacosx.c:688: warning: format ‘%#8x’ expects type ‘unsigned int’, but argument 2 has type ‘vm_address_t’
unexmacosx.c:688: warning: format ‘%#8x’ expects type ‘unsigned int’, but argument 2 has type ‘vm_address_t’
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/bytecode.d bytecode.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/process.d process.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/callproc.d callproc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/region-cache.d region-cache.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/sound.d sound.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/atimer.d atimer.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/doprnt.d doprnt.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/strftime.d strftime.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/intervals.d intervals.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/textprop.d textprop.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/composite.d composite.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/md5.d md5.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xfont.d xfont.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/ftfont.d ftfont.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/xftfont.d xftfont.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/ftxfont.d ftxfont.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/terminfo.d terminfo.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/lastfile.d lastfile.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/widget.d widget.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/mktime.d mktime.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/prefix-args.d prefix-args.c
gcc -Demacs -DHAVE_CONFIG_H -I. -I/Users/mhofert/Downloads/emacs-23.3/src -I/opt/local/include -I/opt/local/include/freetype2 -Dtemacs -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/.d -L/usr/X11/lib prefix-args.o -o prefix-args
gcc -prebind -Xlinker -headerpad -Xlinker 690 -L/usr/X11/lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o xfont.o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o widget.o mktime.o ../lwlib/liblw.a -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lXrender -L/opt/local/lib -lXft -lncurses
Undefined symbols for architecture x86_64:
"_FcPatternCreate", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_list_family in ftfont.o
_ftfont_spec_pattern in ftfont.o
_xftfont_open in xftfont.o
_xftfont_cached_font_ok in xftfont.o
"_FcPatternGetBool", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_pattern_entity in ftfont.o
_xftfont_open in xftfont.o
_xftfont_cached_font_ok in xftfont.o
"_FcPatternGetInteger", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_pattern_entity in ftfont.o
_ftfont_list in ftfont.o
_xftfont_open in xftfont.o
_xftfont_cached_font_ok in xftfont.o
"_FcPatternGetDouble", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_pattern_entity in ftfont.o
_xftfont_open in xftfont.o
"_FcPatternDel", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_list in ftfont.o
_xftfont_open in xftfont.o
"_FcPatternAddBool", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_spec_pattern in ftfont.o
_xftfont_open in xftfont.o
_xftfont_add_rendering_parameters in xftfont.o
"_FcPatternAddInteger", referenced from:
_apply_xft_settings in xsettings.o
_xftfont_open in xftfont.o
_xftfont_add_rendering_parameters in xftfont.o
"_FcPatternAddDouble", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_spec_pattern in ftfont.o
_xftfont_open in xftfont.o
"_FcPatternDestroy", referenced from:
_apply_xft_settings in xsettings.o
_ftfont_lookup_cache in ftfont.o
_ftfont_list_family in ftfont.o
_ftfont_spec_pattern in ftfont.o
_ftfont_match in ftfont.o
_ftfont_list in ftfont.o
_xftfont_open in xftfont.o
...
"_FT_Activate_Size", referenced from:
_ftfont_anchor_point in ftfont.o
_ftfont_get_bitmap in ftfont.o
_ftfont_text_extents in ftfont.o
_ftfont_open in ftfont.o
"_FT_Load_Glyph", referenced from:
_ftfont_anchor_point in ftfont.o
_ftfont_get_bitmap in ftfont.o
_ftfont_text_extents in ftfont.o
"_FT_Get_Char_Index", referenced from:
_ftfont_encode_char in ftfont.o
_ftfont_has_char in ftfont.o
"_FT_Init_FreeType", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_pattern_entity in ftfont.o
"_FT_New_Face", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_pattern_entity in ftfont.o
"_FcPatternBuild", referenced from:
_ftfont_lookup_cache in ftfont.o
"_FcObjectSetBuild", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_list_family in ftfont.o
_ftfont_list in ftfont.o
"_FcFontList", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_list_family in ftfont.o
_ftfont_list in ftfont.o
"_FcPatternGetCharSet", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_list in ftfont.o
"_FcCharSetCopy", referenced from:
_ftfont_lookup_cache in ftfont.o
"_FcCharSetCreate", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_get_charset in ftfont.o
_ftfont_spec_pattern in ftfont.o
"_FcFontSetDestroy", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_list_family in ftfont.o
_ftfont_list in ftfont.o
"_FcObjectSetDestroy", referenced from:
_ftfont_lookup_cache in ftfont.o
_ftfont_list_family in ftfont.o
_ftfont_list in ftfont.o
"_FT_Done_Face", referenced from:
_ftfont_close in ftfont.o
_ftfont_pattern_entity in ftfont.o
_ftfont_open in ftfont.o
"_FT_Done_Size", referenced from:
_ftfont_close in ftfont.o
_ftfont_open in ftfont.o
"_FcCharSetHasChar", referenced from:
_ftfont_has_char in ftfont.o
_ftfont_list in ftfont.o
"_FcInit", referenced from:
_ftfont_list_family in ftfont.o
_ftfont_match in ftfont.o
_ftfont_list in ftfont.o
"_FcPatternGetString", referenced from:
_ftfont_list_family in ftfont.o
_get_adstyle_property in ftfont.o
_ftfont_pattern_entity in ftfont.o
_ftfont_list in ftfont.o
_ftfont_font_format in ftfont.o
"_FcCharSetDestroy", referenced from:
_ftfont_get_charset in ftfont.o
_ftfont_spec_pattern in ftfont.o
"_FcCharSetAddChar", referenced from:
_ftfont_get_charset in ftfont.o
_ftfont_spec_pattern in ftfont.o
"_FcLangSetCreate", referenced from:
_ftfont_spec_pattern in ftfont.o
_ftfont_list in ftfont.o
"_FcLangSetAdd", referenced from:
_ftfont_spec_pattern in ftfont.o
_ftfont_list in ftfont.o
"_FcPatternAddString", referenced from:
_ftfont_spec_pattern in ftfont.o
_ftfont_list in ftfont.o
_xftfont_open in xftfont.o
"_FcPatternAddCharSet", referenced from:
_ftfont_spec_pattern in ftfont.o
_xftfont_open in xftfont.o
"_FcPatternAddLangSet", referenced from:
_ftfont_spec_pattern in ftfont.o
_ftfont_list in ftfont.o
"_FcLangSetDestroy", referenced from:
_ftfont_spec_pattern in ftfont.o
_ftfont_list in ftfont.o
"_FT_Get_BDF_Property", referenced from:
_ftfont_pattern_entity in ftfont.o
_xftfont_open in xftfont.o
"_FcPatternAdd", referenced from:
_ftfont_match in ftfont.o
"_FcConfigSubstitute", referenced from:
_ftfont_match in ftfont.o
_ftfont_list in ftfont.o
"_FcDefaultSubstitute", referenced from:
_ftfont_match in ftfont.o
_ftfont_list in ftfont.o
"_FcFontMatch", referenced from:
_ftfont_match in ftfont.o
_ftfont_list in ftfont.o
"_FcPatternDuplicate", referenced from:
_ftfont_list in ftfont.o
"_FcPatternGetLangSet", referenced from:
_ftfont_list in ftfont.o
"_FcObjectSetAdd", referenced from:
_ftfont_list in ftfont.o
"_FT_New_Size", referenced from:
_ftfont_open in ftfont.o
"_FT_Set_Pixel_Sizes", referenced from:
_ftfont_open in ftfont.o
"_FT_Load_Char", referenced from:
_ftfont_open in ftfont.o
"_FcPatternGetMatrix", referenced from:
_xftfont_open in xftfont.o
"_FcNameConstant", referenced from:
_xftfont_add_rendering_parameters in xftfont.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
bash-3.2$
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make fails on Mac OS 10.7: ld: symbol(s) not found
2011-10-16 8:04 Make fails on Mac OS 10.7: ld: symbol(s) not found Marius Hofert
@ 2011-10-16 12:42 ` Marius Hofert
2011-10-16 17:23 ` Peter Dyballa
1 sibling, 0 replies; 4+ messages in thread
From: Marius Hofert @ 2011-10-16 12:42 UTC (permalink / raw
To: Emacs help
Hi,
here is what I have figured out so far:
I found the file ./nextstep/INSTALL. In there it is described that one should use ./configure --with-ns. On doing so, I obtained a different failure, but I found online that a lot of people seem to have trouble with this as well (Xcode 4 + emacs 23.3). The problem is described here: http://readystate4.com/2011/04/19/installing-latest-command-line-emacs-on-mac-os-x/comment-page-1/#comment-1988 (see the comment of "gkc"). A link is provided in the "Update" section in the beginning of the webpage. Unfortunately, this link is dead.
I'm not sure how emacs can be build then. If anyone knows an answer, I'd be happy to hear about it.
Cheers,
Marius
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make fails on Mac OS 10.7: ld: symbol(s) not found
2011-10-16 8:04 Make fails on Mac OS 10.7: ld: symbol(s) not found Marius Hofert
2011-10-16 12:42 ` Marius Hofert
@ 2011-10-16 17:23 ` Peter Dyballa
2011-10-16 22:09 ` Marius Hofert
1 sibling, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2011-10-16 17:23 UTC (permalink / raw
To: Marius Hofert; +Cc: Emacs help
Am 16.10.2011 um 10:04 schrieb Marius Hofert:
> ld: symbol(s) not found for architecture x86_64
Try to 'make clean' and then configure with LDFLAGS containing '-Wl,-t' and CFLAGS containing -H. The former will show which shared libraries actually are used to build temacs (and later emacs). Knowing them, you can check with file or 'lipo -info' or 'lipo -detailed_info' whether they are correct.
The latter flag, -H, will make GCC to report which C header files it uses to pre-process the source files.
BTW, have you ever tried to compile in GNU Emacs? M-x compile RET C-a C-k <your configure or compile command instead of the default> RET.
--
Mit friedvollen Grüßen
Pete
Wenn man die Redlichkeit eines Politikers allzu laut betont, zweifelt man an seinen Fähigkeiten.
(Charles Maurice de Talleyrand)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make fails on Mac OS 10.7: ld: symbol(s) not found
2011-10-16 17:23 ` Peter Dyballa
@ 2011-10-16 22:09 ` Marius Hofert
0 siblings, 0 replies; 4+ messages in thread
From: Marius Hofert @ 2011-10-16 22:09 UTC (permalink / raw
To: Peter Dyballa; +Cc: Emacs help
Dear Peter,
thank you very much. I'll try that.
In the meantime, I switched to http://vgoulet.act.ulaval.ca/en/emacs/mac/ which also contains some of the packages I require anyway.
Cheers,
Marius
On 2011-10-16, at 19:23 , Peter Dyballa wrote:
>
> Am 16.10.2011 um 10:04 schrieb Marius Hofert:
>
>> ld: symbol(s) not found for architecture x86_64
>
> Try to 'make clean' and then configure with LDFLAGS containing '-Wl,-t' and CFLAGS containing -H. The former will show which shared libraries actually are used to build temacs (and later emacs). Knowing them, you can check with file or 'lipo -info' or 'lipo -detailed_info' whether they are correct.
>
> The latter flag, -H, will make GCC to report which C header files it uses to pre-process the source files.
>
>
> BTW, have you ever tried to compile in GNU Emacs? M-x compile RET C-a C-k <your configure or compile command instead of the default> RET.
>
> --
> Mit friedvollen Grüßen
>
> Pete
>
> Wenn man die Redlichkeit eines Politikers allzu laut betont, zweifelt man an seinen Fähigkeiten.
> (Charles Maurice de Talleyrand)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-16 22:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-16 8:04 Make fails on Mac OS 10.7: ld: symbol(s) not found Marius Hofert
2011-10-16 12:42 ` Marius Hofert
2011-10-16 17:23 ` Peter Dyballa
2011-10-16 22:09 ` Marius Hofert
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.