From: Sven L. <ps...@hi...> - 2006-04-11 10:47:15
|
Hello, I am trying to compile Gazebo at my AMD64 with Fedora Core 5. I am using = the CVS Sources. The following error message occurs: > 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/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 gab 1 als Ende-Status zur=FCck > error: command 'gcc' failed with exit status 1 I have tried the following: > export CFLAGS=3D-fPIC ${CFLAGS} > export CXXFLAGS=3D-fPIC ${CXXFLAGS} > ./bootstrap > ./configure=20 > make The result is the same. Is there any news about this error? I have found a post in the E-Mail Archive ("Compile error (relocation R_X86_64_32 ...)"), but the = attachment in the HTML view is incomplete. Can anyone send this patch again? I'd be thankful for any hints Sven |
From: Konstantinos D. <da...@fr...> - 2006-04-11 15:03:44
|
Hi Sven, That patch is no longer valid. You need to change configure.in and put CXXFLAGS="-fPIC $CXXFLAGS" CFLAGS="-fPIC $CFLAGS" in the "Some build options" section. Also last time I checked in the CVS the Blimp, ClodBuster, Shrimp and Wheelchair were not updated and you either need to disable them or if you need them edit their Init and change: if (gz_position_create(this->iface, this->world->gz_server, this->GetId(), "Shrimp", (int)this, (int)this->parent) != 0) to: if (gz_power_create(this->power_iface, this->world->gz_server, this->GetId(), "Shrimp", this->GetIntId(), this->GetParentIntId()) != 0) That worked for me. dalai Sven Lange wrote: > Hello, > > I am trying to compile Gazebo at my AMD64 with Fedora Core 5. I am using the > CVS Sources. > > The following error message occurs: > > >> 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/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 gab 1 als Ende-Status zuru"ck >> error: command 'gcc' failed with exit status 1 >> > > > I have tried the following: > > >> export CFLAGS=-fPIC ${CFLAGS} >> export CXXFLAGS=-fPIC ${CXXFLAGS} >> ./bootstrap >> ./configure >> make >> > > The result is the same. > > Is there any news about this error? I have found a post in the E-Mail > Archive ("Compile error (relocation R_X86_64_32 ...)"), but the attachment > in the HTML view is incomplete. Can anyone send this patch again? > > > I'd be thankful for any hints > Sven > > > > ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
From: Sven L. <ps...@hi...> - 2006-04-12 15:36:26
|
Thank you for your help. (also at Alexis Maldonado) The change of configure.in worked for me. Now I have an installed version of Gazebo. If I try to start it with: "wxgazebo /usr/local/share/gazebo/worlds/example.world" The following error occurs: Traceback (most recent call last): File "/usr/local/bin/wxgazebo", line 4, in ? from wxgazebo.main import main ImportError: No module named wxgazebo.main Has anyone an idea what I have made wrong? Sven Am Dienstag, den 11.04.2006, 11:05 -0400 schrieb Konstantinos Dalamagkidis: > Hi Sven, >=20 > That patch is no longer valid. You need to change configure.in and put > CXXFLAGS=3D"-fPIC $CXXFLAGS" > CFLAGS=3D"-fPIC $CFLAGS" > in the "Some build options" section. >=20 > Also last time I checked in the CVS the Blimp, ClodBuster, Shrimp and > Wheelchair were not updated and you either need to disable them or if > you need them edit their Init and change: > if (gz_position_create(this->iface, this->world->gz_server, this->GetId= (), > "Shrimp", (int)this, (int)this->parent) !=3D 0) > to: > if (gz_power_create(this->power_iface, this->world->gz_server, > this->GetId(), > "Shrimp", this->GetIntId(), this->GetParentIntId()) !=3D 0) >=20 > That worked for me. >=20 > dalai >=20 > Sven Lange wrote: > > Hello, > > > > I am trying to compile Gazebo at my AMD64 with Fedora Core 5. I am us= ing the > > CVS Sources. > > > > The following error message occurs: > > > > =20 > >> gcc -pthread -shared build/temp.linux-x86_64-2.4/gazebo_wrap.o -L../= .. > >> =20 > > -lgazebo -o build/lib.linux-x86_64-2.4/_gazebo.so > > =20 > >> /usr/bin/ld: ../../libgazebo.a(gz_error.o): relocation R_X86_64_32 a= gainst > >> =20 > > `a local symbol' can not be used when making a shared object; recompi= le with > > -fPIC > > =20 > >> ../../libgazebo.a: could not read symbols: Bad value > >> collect2: ld gab 1 als Ende-Status zuru"ck > >> error: command 'gcc' failed with exit status 1 > >> =20 > > > > > > I have tried the following: > > > > =20 > >> export CFLAGS=3D-fPIC ${CFLAGS} > >> export CXXFLAGS=3D-fPIC ${CXXFLAGS} > >> ./bootstrap > >> ./configure=20 > >> make > >> =20 > > > > The result is the same. > > > > Is there any news about this error? I have found a post in the E-Mail > > Archive ("Compile error (relocation R_X86_64_32 ...)"), but the attac= hment > > in the HTML view is incomplete. Can anyone send this patch again? > > > > > > I'd be thankful for any hints > > Sven > > > > > > > > =20 >=20 >=20 > ____________________________________________________________________ > http://www.freemail.gr - =CE=B4=CF=89=CF=81=CE=B5=CE=AC=CE=BD =CF=85=CF= =80=CE=B7=CF=81=CE=B5=CF=83=CE=AF=CE=B1 =CE=B7=CE=BB=CE=B5=CE=BA=CF=84=CF= =81=CE=BF=CE=BD=CE=B9=CE=BA=CE=BF=CF=8D =CF=84=CE=B1=CF=87=CF=85=CE=B4=CF= =81=CE=BF=CE=BC=CE=B5=CE=AF=CE=BF=CF=85. > http://www.freemail.gr - free email service for the Greek-speaking. >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > that extends applications into web and mobile media. Attend the live we= bcast > and join the prime developer group breaking into this new coding territ= ory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo |
From: Konstantinos D. <da...@fr...> - 2006-04-12 15:51:50
|
Is PYTHONPATH set up correctly? Check http://playerstage.sourceforge.net/doc/Gazebo-manual-cvs-html/install.html dalai Sven Lange wrote: > Thank you for your help. (also at Alexis Maldonado) > > The change of configure.in worked for me. Now I have an installed > version of Gazebo. If I try to start it with: > > "wxgazebo /usr/local/share/gazebo/worlds/example.world" > > The following error occurs: > > Traceback (most recent call last): > File "/usr/local/bin/wxgazebo", line 4, in ? > from wxgazebo.main import main > ImportError: No module named wxgazebo.main > > Has anyone an idea what I have made wrong? > > Sven > > ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
From: Sven L. <ps...@hi...> - 2006-04-13 16:18:11
|
Thanks for the hint. I have found the folder wxgazebo in "/usr/local/lib64/python2.4/site-packages/" and wxpython is located in "/usr/lib64/python2.4/site-packages/" I have changed my PYTHONPATH to "PYTHONPATH=3D/usr/lib64/python2.4/site-packages/:/usr/local/lib64/python= 2.4/site-packages/:" (I don't know. I think it would be nice to read an an hint in the manual to the path "lib64"?) Now I become the following error: "wxPython (http://www.wxpython.org) not found; please install it or else fix your PYTHONPATH" but the needed file: "/usr/lib64/python2.4/site-packages/wxPython/wx.py" exists.=20 Has anyone an idea? I am sorry to bother you. If this are not the posts you want in these mailing list, please let me know. Sven Am Mittwoch, den 12.04.2006, 11:54 -0400 schrieb Konstantinos Dalamagkidis: > Is PYTHONPATH set up correctly? > Check > http://playerstage.sourceforge.net/doc/Gazebo-manual-cvs-html/install.h= tml >=20 > dalai >=20 > Sven Lange wrote: > > Thank you for your help. (also at Alexis Maldonado) > > > > The change of configure.in worked for me. Now I have an installed > > version of Gazebo. If I try to start it with: > > > > "wxgazebo /usr/local/share/gazebo/worlds/example.world" > > > > The following error occurs: > > > > Traceback (most recent call last): > > File "/usr/local/bin/wxgazebo", line 4, in ? > > from wxgazebo.main import main > > ImportError: No module named wxgazebo.main > > > > Has anyone an idea what I have made wrong? > > > > Sven > > > > =20 >=20 >=20 > ____________________________________________________________________ > http://www.freemail.gr - =CE=B4=CF=89=CF=81=CE=B5=CE=AC=CE=BD =CF=85=CF= =80=CE=B7=CF=81=CE=B5=CF=83=CE=AF=CE=B1 =CE=B7=CE=BB=CE=B5=CE=BA=CF=84=CF= =81=CE=BF=CE=BD=CE=B9=CE=BA=CE=BF=CF=8D =CF=84=CE=B1=CF=87=CF=85=CE=B4=CF= =81=CE=BF=CE=BC=CE=B5=CE=AF=CE=BF=CF=85. > http://www.freemail.gr - free email service for the Greek-speaking. >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > that extends applications into web and mobile media. Attend the live we= bcast > and join the prime developer group breaking into this new coding territ= ory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo |
From: Jonathan I. <jon...@es...> - 2006-05-18 15:38:44
|
Sven Lange wrote: > but the needed file: "/usr/lib64/python2.4/site-packages/wxPython/wx.py= " > exists.=20 >=20 > Has anyone an idea? Maybe this would work if you try with Python 2.3 instead of Python 2.4.=20 This worked for me, but I have quite a strange installation and I did=20 not checked if Gazebo really depends on 2.3 version of Python. Hope this will work for you ! --=20 Jonathan ILIAS, assistant p=C3=A9dagogique http://www.eseo.fr/~jilias/ ESEO 4, rue Merlet de la Boulaye BP 30926 - 49009 ANGERS cedex 01 - FRANCE t=C3=A9l : 02 41 86 67 57 |