From: Liam K. <qua...@go...> - 2010-08-06 11:36:49
|
compiling vxl on ubuntu 10.04 64bit i get: [ 82%] Building CXX object contrib/brl/bseg/bbgm_batch/CMakeFiles/bbgm_batch.dir/reg_bbgm.o Linking CXX shared module ../../../../lib/bbgm_batch.so /usr/bin/ld: ../../../../lib/libv3p_netlib.a(dlamch.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC ../../../../lib/libv3p_netlib.a: could not read symbols: Bad value collect2: ld returned 1 exit status I had tried setting CMAKE_CXX_FLAGS to -fPIC but this didn't help. Notably when i configured, cmake produced the message 'NOT LINUX' but still allowed me to generate the Makefile so i ignored it. Do anyone know how i can proceed? Liam |