Problem with LD
jnbraun@web.de
jnbraun@web.de
Tue Feb 12 12:28:00 GMT 2002
More information about the Binutils mailing list
Tue Feb 12 12:28:00 GMT 2002
- Previous message (by thread): [PATCH] Add TLS support to binutils (ia32 and ia64 for now)
- Next message (by thread): Problem with LD
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Tody I tried to compile WindowMaker 0.80.0. During the make I get this error: gcc -g -O2 -o testdraw testdraw.o ../wrlib/.libs/libwraster.a -L/usr/local/lib -L/usr/X11R6/lib -ltiff /usr/lib/libHermes.so -lpng -lz /usr/lib/libjpeg.so -lX11 -lm ../wrlib/.libs/libwraster.a(gif.o): In function `RLoadGIF': /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:64: undefined reference to `DGifOpenFileName' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:67: undefined reference to `GifLastError' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:89: undefined reference to `DGifGetRecordType' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:97: undefined reference to `DGifGetImageDesc' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:149: undefined reference to `DGifGetLine' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:164: undefined reference to `DGifGetLine' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:181: undefined reference to `DGifGetExtension' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:185: undefined reference to `DGifGetExtensionNext' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:199: undefined reference to `GifLastError' /home/daryl/upd/WindowMaker-0.80.0/wrlib/gif.c:220: undefined reference to `DGifCloseFile' collect2: ld returned 1 exit status make[1]: *** [testdraw] Error 1 make[1]: Leaving directory `/usr/local/upd/WindowMaker-0.80.0/wrlib' make: *** [all-recursive] Error 1 I have the libungif installed, and if I add an -lungif to the Makefile it compiles without any problem. My question is: Shouldn't ld add libungif automatically? I have this problem with other libs as well, and if I try to compile WindowMaker on another system with the same libungif there were no problems. /etc/ld.so.conf is ok and ldconfig runs without any problems. I use glibc-2.2.5, binutils-2.11.93 (I have the problem with 2.11.2 as well), gcc-2.95.3 and a Kernel-2.4.17. Can somebody tell me were to search for a solution? Thanks Jürgen ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
- Previous message (by thread): [PATCH] Add TLS support to binutils (ia32 and ia64 for now)
- Next message (by thread): Problem with LD
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list