Hi,
I try to build an old code on 8.1 amd64 with gcc using -lcompat and I get the following message:
So as I can understand it wants me to rebuild libcompat with -fPIC. How can I do that?
Thanks!
I try to build an old code on 8.1 amd64 with gcc using -lcompat and I get the following message:
Code:
gcc -shared -Xlinker -x -o <lots of files here> -lc -lcrypt -lcompat
/usr/bin/ld: /usr/lib/libcompat.a(ftime.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/libcompat.a: could not read symbols: Bad value
*** Error code 1
Thanks!