On Sep 30, 2004, at 6:43 AM, Viv Kendon wrote:

On Wed, 29 Sep 2004, Alexander K. Hansen wrote:

On Sep 28, 2004, at 6:49 PM, Viv Kendon wrote:


[snip]

gcc -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE -o dxexec
main.o ../dxmods/user.o ../libdx/mem.o ../libdx/memory.o
-L/sw/lib ../dpexec/.libs/libDPEXEC.a -L/usr/X11R6/lib
../dxmods/.libs/libDXMODS.a ../dxmods/.libs/libDXMODSN.a
../libdx/.libs/libLIBDX.a ../hwrender/.libs/libHW.a
../hwrender/opengl/.libs/libOPENGL.a -lnetcdf -ldf -lXpm
-ltiff -ldl -lGLU -lGL -lm /sw/lib/libXm.dylib -lXt -lXp
-lXext -lX11 -lxt -lSM -lICE -lpthread
ld: warning prebinding disabled because dependent library:
/sw/lib/libnetcdf.3.dylib is not prebound
ld: /sw/lib/libdf.a(cdeflate.o) illegal reference to symbol:
_deflate defined in indirectly referenced dynamic library
/usr/lib/libz.1.dylib
ld: /sw/lib/libdf.a(dfjpeg.o) illegal reference to symbol:
_jpeg_destroy_compress defined in indirectly referenced
dynamic library /sw/lib/libjpeg.62.dylib



Seems to me that this needs -lz and -ljpeg so that the linker can properly find the libraries /usr/lib/libz.1.dylib and /sw/lib/libjpeg.62.dylib which contain the symbols in question. I don't know enough about the build system to speculate about why this isn't being included, but adding "-lz -ljpeg" to LDFLAGS might do the trick.


  -- Dave



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to