Hello,
Am I the only one who can't compile a single port from ports tree after freebsd-update from 9.2-RELEASE to 10.0-RELEASE? Always I get the same error:
Or some other file in the "()" instead of strtonum.o. I tried with
Does anybody have an idea how to fix this?
Thank you.
P.S.
Solved by doing:
Am I the only one who can't compile a single port from ports tree after freebsd-update from 9.2-RELEASE to 10.0-RELEASE? Always I get the same error:
Code:
/usr/bin/ld: /usr/lib/libc.a(strtonum.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
make CXXFLAGS=-fPIC CFLAGS=-fPIC
but got the same error. Does anybody have an idea how to fix this?
Thank you.
P.S.
Solved by doing:
Code:
#cd /usr/src/lib/libc
#make install clean