On Sun, Mar 23, 2008 at 08:08:42AM +0100, Martin Costabel wrote: > Kevin Horton wrote: > > lzo2-2.02-1 fails to compile on 10.5 Intel: > > > > Making all in lzotest > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. -I/sw/include - > > DLZO_HAVE_CONFIG_H -DLZO_USE_ASM -g -O2 -c lzotest.c > > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L/sw/lib -o > > lzotest lzotest.o ../src/liblzo2.la > > mkdir .libs > > gcc -g -O2 -o .libs/lzotest lzotest.o -L/sw/lib ../src/.libs/ > > liblzo2.dylib > > Undefined symbols: > > "_lzo1y_decompress_asm", referenced from: > > _compress_database in lzotest.o > > _compress_database in lzotest.o > [etc] > > I get the same, and at least at first glance this looks very much like a > bug in /usr/bin/ld. When creating the dynamic liblzo2.dylib, it does not > place these symbols inside, although they are present in the object > files constituting the dylib. > > If you replace, on the above libtool command line, the dylib by the > static lib (for example by editing liblzo2.la and adding liblzo2.a at > the end of the library_names line), then the command goes through, and > the tests are completed successfully.
I think I just fixed it (disabled assembly entirely, once everone in #fink stopped pondering just how oddly the assembly was being done). dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users