From: Gehua Y. <yan...@gm...> - 2010-08-06 11:54:34
|
Have you also set CMAKE_C_FLAGS to -fPIC? Gehua On Fri, Aug 6, 2010 at 7:36 AM, Liam Kurmos <qua...@go...>wrote: > 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 > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users > |