On Thu, 27 Jul 2006, Justin Gedge wrote: > rm -f libmozz.so > c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion > -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth > -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic > -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-h > -Wl,libmozz.so -o libmozz.so adler32.o compress.o crc32.o deflate.o gzio.o > infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o > -ldl -lm > /usr/bin/ld: deflate.o: relocation R_X86_64_PC32 against > `memcpy@@GLIBC_2.2.5' can not be used when making a shared object; recompile > with -fPIC > /usr/bin/ld: final link failed: Bad value . . . > Kind of interesting- it complains about libmozz.so not being there- but a > few lines earlier- it [rm -f libmozz.so]. Not sure why it's going through > torching a file it needs seconds later in the compile. Any ideas?
It's removing libmozz.so because the c++ command-line is attempting to re-create it. (see the "-o libmozz.so"?). My only guess at the linker error is that deflate.o was compiled without -fPIC. Does your make log file show the command-line which was used to compile deflate.o? Chris /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */