[openrtm-users 00381] fPIC switch on module compilation

Calisi@DIS daniele.calisi @ dis.uniroma1.it
2008年 2月 26日 (火) 16:10:48 JST


Dear OpenRTM developers,

please add -fPIC switch to --cflags switch of your rtm-config utility, 
otherwise shared objects (.so) will be compiled without "position 
independent code" switch...

for example, please refer to 
http://www.fpx.de/fp/Software/tcl-c++/tcl-c++.html

anyway, in some case it works also without -fPIC, in some case never 
(for example on my PC, I added it in the Makefile by hand and everything 
works), in some case it works weirdly

-- 
Daniele Calisi
Dipartimento Informatica e Sistemistica
Università di Roma "La Sapienza"





openrtm-users メーリングリストの案内