building ppp from src rpm failed in f17
Heinz Diehl
htd at fritha.org
Sun Dec 16 10:50:48 UTC 2012
On 16.12.2012, Kevin Wilson wrote:
> make[1]: Entering directory `/root/rpmbuild/BUILD/ppp-2.4.5/chat'
> cc -c -DTERMIOS -DSIGTYPE=void -UNO_SLEEP
> -DFNDELAY=O_NDELAY -o chat.o chat.c
> cc -pie -o chat chat.o
> /bin/ld: chat.o: relocation R_X86_64_32 against `.rodata' can not be
> used when making a shared object; recompile with -fPIC
You're trying to build a shared library and the build fails in
creating shared objects. The solution is in the text above:
recompile with -fPic.
More information about the users
mailing list