[Paranoia-dev] use gcc flag -fPIC for shared objects

David Watzke david at watzke.cz
Wed Feb 21 08:22:28 PST 2007


Hello,

I wrote a patch for cdparanoia to use gcc flag -fPIC for shared objects. 
Compilation fails on amd64 without it:

relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC
scan_devices.o: could not read symbols: Bad value

Patch is available here: 
http://www.watzke.cz/files/patches/cdparanoia-3.10_pre0-fPIC.patch

David


More information about the Paranoia-dev mailing list