cjdelisle/cjdns — Issue #25: Does not compile on x64 Ubuntu Oneiric
Author: TheNikomo
Created: 2012-02-19 17:44:37+00:00
State: open

Error:

Linking C executable cjdroute
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/librt.a(clock_gettime.o): relocation R_X86_64_PC32 against undefined symbol `__errno_location@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [cjdroute] Error 1
make[1]: *** [CMakeFiles/cjdroute.dir/all] Error 2
make: *** [all] Error 2

uname -a: Linux nikomotop 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
GCC Version: 4.6.1-9ubuntu3 4.6.1
cmake version: 2.8.5