From: Konstantinos D. <da...@fr...> - 2006-02-06 17:55:09
|
relocation R_X86_64_32 against 'a local symbol' can not be used when making a shared object; recompile with -fPIC Anyone knows anything about this error? A web search didn't help much and the weird thing is that it is compiled with the -fPIC Compiling on an AMD64, with Suse 10.0 gcc 4.0.2 Python 2.4.1 binutils-2.16.91.0.2-8.2 python-setuptools 0.6a9-1 make[5]: Entering directory `/mmedia/src/gazebo/libgazebo/bindings/python= ' python ./setup.py build running build running build_py file gazebo.py (for module gazebo) not found file gazebo.py (for module gazebo) not found running build_ext building '_gazebo' extension swigging gazebo.i to gazebo_wrap.c swig -python -o gazebo_wrap.c gazebo.i creating build creating build/temp.linux-x86_64-2.4 gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=3D0 -Wall -D_FORTIFY_SOURCE=3D2 -g -fPIC -I../.. -I/usr/include/python2.4 -c gazebo_wrap.c -o build/temp.linux-x86_64-2.4/gazebo_wrap.o gazebo_wrap.c: In function =A1_wrap_gz_camera_data_t_image_get=A2: gazebo_wrap.c:4204: warning: pointer targets in passing argument 1 of =A1PyString_FromStringAndSize=A2 differ in signedness gazebo_wrap.c: In function =A1_wrap_gz_guicam_data_t_image_get=A2: gazebo_wrap.c:6931: warning: pointer targets in passing argument 1 of =A1PyString_FromStringAndSize=A2 differ in signedness gazebo_wrap.c: In function =A1_wrap_gz_stereo_data_t_left_image_get=A2: gazebo_wrap.c:13575: warning: pointer targets in passing argument 1 of =A1PyString_FromStringAndSize=A2 differ in signedness gazebo_wrap.c: In function =A1_wrap_gz_stereo_data_t_right_image_get=A2: gazebo_wrap.c:13667: warning: pointer targets in passing argument 1 of =A1PyString_FromStringAndSize=A2 differ in signedness gazebo_wrap.c: At top level: gazebo_wrap.c:214: warning: =A1SWIG_TypeDynamicCast=A2 defined but not us= ed gazebo_wrap.c:402: warning: =A1SWIG_UnpackDataName=A2 defined but not use= d gazebo_wrap.c:482: warning: =A1SWIG_PropagateClientData=A2 defined but no= t used gazebo_wrap.c:1181: warning: =A1SWIG_Python_MustGetPtr=A2 defined but not= used gazebo_wrap.c:1195: warning: =A1SWIG_Python_ConvertPacked=A2 defined but = not used gazebo_wrap.c:1580: warning: =A1SWIG_Check_int=A2 defined but not used gazebo_wrap.c:1693: warning: =A1SWIG_Check_unsigned_SS_long=A2 defined bu= t not used gazebo_wrap.c:1789: warning: =A1SWIG_Check_double=A2 defined but not used gazebo_wrap.c:1860: warning: =A1SWIG_Check_unsigned_SS_int=A2 defined but not used gazebo_wrap.c:17820: warning: =A1SWIG_Python_addvarlink=A2 defined but no= t used creating build/lib.linux-x86_64-2.4 gcc -pthread -shared build/temp.linux-x86_64-2.4/gazebo_wrap.o -L../.. -lgazebo -o build/lib.linux-x86_64-2.4/_gazebo.so /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/= ld: ../../libgazebo.a(gz_error.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../../libgazebo.a: could not read symbols: Bad value collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 make[5]: *** [pythonbuild] Error 1 make[5]: Leaving directory `/mmedia/src/gazebo/libgazebo/bindings/python' make[4]: *** [all] Error 2 ____________________________________________________________________ http://www.freemail.gr - =E4=F9=F1=E5=DC=ED =F5=F0=E7=F1=E5=F3=DF=E1 =E7=EB= =E5=EA=F4=F1=EF=ED=E9=EA=EF=FD =F4=E1=F7=F5=E4=F1=EF=EC=E5=DF=EF=F5. http://www.freemail.gr - free email service for the Greek-speaking. |