[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mac emacs port busted.

From: Doug Turner
Subject: mac emacs port busted.
Date: Wed, 17 Oct 2007 13:31:34 -0700

if there is a better place for this kind of reports, please redirect me.

when building emacs for the mac os x with:

./configure --with-carbon --without-x
make bootstrap

the result is:

gcc -I/sw/include -L/sw/lib -prebind -framework Carbon -framework QuickTime -Xlinker -headerpad -Xlinker 690 -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o window.o charset.o coding.o category.o ccl.o cm.o term.o terminal.o xfaces.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 print.o lread.o abbrev.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 mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o fringe.o image.o terminfo.o lastfile.o -lncurses /usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
make[2]: *** [temacs] Error 1
make[1]: *** [bootstrap-build] Error 2
make: *** [bootstrap] Error 2

I believe that we need to ensure that the link includes -lresolv. I also believe that this is related to or a direct cause of the check in to configure.in:

revision 1.477
date: 2007-10-17 15:53:01 +0000; author: cyd; state: Exp; lines: +31 -4; commitid: IJUAzOun4gWWAXBs;
(HAVE_RES_INIT): Define if res_init() exists.
(HAVE_LIBRESOLV): Also define if we are using res_init().

No patch; sorry. Happy to try one if you do not have a mac for testing. If I get some time, i will put something together and post it here.

Doug Turner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]