What does 'recompile with -fPIC' mean
Hi
I've been trying to compile various things on my AMD64 and I have gotten this error a few times. It starts out well, but when making shared objects I get this:
/usr/bin/ld: ./testmess.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./testmess.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
I've no idea what that means. I've tried to look for an explanation for this elsewhere, but the replies seems to cryptic for a relative newbee.
I'm running Fedora Core 3, kernel 2.6.10 and recent versions of gcc and whatelse... whatever up2date keeps me up to date with.
Hope anyone can help.
|