Daniel E. Macks <dma...@netspace.org> said: > Jean-Fran?ois Mertens <j...@core.ucl.ac.be> said: >> I get the following error: >> >>> gcc -prebind -Xlinker -headerpad -Xlinker 690 -L/sw/lib/pango-ft219/ >>> lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/usr/X11R6/ >>> 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 gtkutil.o dbusbind.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 -L/sw/lib -L/usr/X11/ >>> lib -L/usr/X11R6/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -lgtk- >>> x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 - >>> lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype - >>> lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lpthread - >>> lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/ >>> fontconfig2/lib -L/sw/lib -L/usr/X11/lib -lXft -lXrender - >>> lfontconfig -lfreetype -lX11 -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 - >>> lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib - >>> ldbus-1 -lpthread -lncurses -L/sw/lib -Wl,-framework,CoreServices - >>> Wl,-framework,ApplicationServices -lz -lotf -lfreetype >>> Undefined symbols: >>> "_png_check_sig", referenced from: >>> _png_load in image.o >>> _png_load in image.o >> >> -lpng is on the link command; so this is because of incorrect flag- >> ordering >> _ -L/usr/X11R6/lib coming before -L%p/lib . Indeed, >> %p/lib/libpng.dylib does define _png_check_sig , while (with X11 2.5.1) >> /usr/X11/lib/libpng.dylib does not. >> >> Adding -L%p/lib at the end of the SetLDFLAGS is a quick hack around.. >> (also, on systems where /usr/X11/lib/libpng.dylib would contain the >> symbol, >> this prevents incorrect linking.) > > emacs23 is next on my list of "cleanup for current gnome standards, > with fink-package-precedence", hopefully in the next day or so.
Give revision -201 a try. dan -- Daniel Macks dma...@netspace.org ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users