Re: [AVFS] Link Error on AVFS for Mac
Ralf Hoffmann <[email protected]> Tue, 08 Jan 2008 00:39:18 +0100
| Newsgroups | gmane.comp.file-systems.avfs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 2008-01-02 11:32, Miklos Szeredi wrote: >> I got AVFS to compile on my mac using ./configure --enable-fuse && make >> all && sudo make install >> >> So I go to make a Portfile, so I can share this lovely little tool with >> the rest of the interested Mac Users out there. >> And for the life of me I can't get it to compile, I keep getting link >> errors like this. >> >> Making all in test >> if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include >> -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT >> -D_POSIX_PTHREAD_SEMANTICS -I../include -O2 -I/opt/local/include >> -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -MT >> runtest.o -MD -MP -MF ".deps/runtest.Tpo" -c -o runtest.o runtest.c; \ >> then mv -f ".deps/runtest.Tpo" ".deps/runtest.Po"; else rm -f >> ".deps/runtest.Tpo"; exit 1; fi >> /bin/bash ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I../include >> -O2 -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT >> -D_POSIX_PTHREAD_SEMANTICS -O2 -L/opt/local/lib -o runtest >> -L/opt/local/lib -lpthread -ldl runtest.o ../lib/libavfs_static.la >> -lpthread -ldl >> mkdir .libs >> /usr/bin/gcc-4.0 -I../include -O2 -I/opt/local/include >> -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -o >> runtest runtest.o -L/opt/local/lib ../lib/.libs/libavfs_static.a >> -lpthread -ldl >> /usr/bin/ld: Undefined symbols: >> _crc32 >> _deflate >> _deflateEnd >> _deflateInit_ >> _inflate >> _inflateEnd >> _inflateInit2_ >> _inflateInit_ >> _inflateRestore >> _inflateSave >> collect2: ld returned 1 exit status >> make[1]: *** [runtest] Error 1 >> make: *** [all-recursive] Error 1 >> >> Error: Status 1 encountered during processing >> >> Any Ideas? We don't use the system-wide zlib installation but a custom one. The zlib symbols are redefined using the prefix "z_" so the symbols reported above shouldn't exist. Can you post the output of the following command so I can check whether the symbols are correct or not: nm zlib/.libs/libzlib.a Maybe some #define interfere with our build process. Best Regards, Ralf Hoffmann -- Homepage: http://www.boomerangsworld.de E-Mail: Ralf Hoffmann <[email protected]> English or German ------------------------------------------------------------------------- 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