20 Oct
2004
20 Oct
'04
07:23
Hilary L Hertzoff
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -Wall -pipe -DVERSION=\"0.012\" -DXS_VERSION=\"0.012\" -o codec/RTjpeg.o
This call is missing the -fPIC. You'd have to check the Makefile to see why this is compiled without and correct that. On x86-64 code for a shared library needs to be compiled as position independent code. i386 can do without (though this has serious drawbacks), which is why it's sometimes missing. Philipp