Hi nate, First thanks for your fast reply, I have solved this problem by doing the following
1 - I search under gazebo sources for the word "libgazebo_gui" and I found it in different place which include a file called link.txt which contains a compilation command 2 - I noticed that /usr/lib is not included in the the command so I added -L/usr/lib to it and build completed successfully, but unfortunately when I types the command " gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world", it return a memory corruption with the following output ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// helkh...@helkheer:~/gazebo-0.10.0$ gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world Gazebo multi-robot simulator, version 0.10.0 Part of the Player/Stage Project [http://playerstage.sourceforge.net]. Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors. Released under the GNU General Public License. [/home/helkheer/gazebo-0.10.0/server/GazeboConfig.cc:103] Gazebo Path[/usr/local/share/gazebo] [/home/helkheer/gazebo-0.10.0/server/GazeboConfig.cc:115] Ogre Path[/usr/lib/OGRE] *** glibc detected *** gazebo: malloc(): memory corruption: 0x087e9b28 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6c501)[0x2482501] /lib/libc.so.6(+0x6f2fc)[0x24852fc] /lib/libc.so.6(__libc_malloc+0x63)[0x2486f33] /usr/lib/nvidia-current/libGL.so.1(+0x7e5e0)[0x85525e0] ======= Memory map: ======== 00110000-001dc000 r-xp 00000000 08:06 309170 /usr/local/lib/libode.so.1.1.1 001dc000-001dd000 r--p 000cc000 08:06 309170 /usr/local/lib/libode.so.1.1.1 001dd000-001de000 rw-p 000cd000 08:06 309170 /usr/local/lib/libode.so.1.1.1 001de000-001e0000 rw-p 00000000 00:00 0 001e0000-00305000 r-xp 00000000 08:06 221966 /usr/lib/libxml2.so.2.7.7 00305000-00309000 r--p 00124000 08:06 221966 /usr/lib/libxml2.so.2.7.7 00309000-0030a000 rw-p 00128000 08:06 221966 /usr/lib/libxml2.so.2.7.7 0030a000-0030b000 rw-p 00000000 00:00 0 0030b000-003d4000 r-xp 00000000 08:06 280185 /usr/lib/i686/cmov/libavformat.so.52.64.2 003d4000-003d5000 r--p 000c8000 08:06 280185 /usr/lib/i686/cmov/libavformat.so.52.64.2 003d5000-003db000 rw-p 000c9000 08:06 280185 /usr/lib/i686/cmov/libavformat.so.52.64.2 003db000-003ee000 r-xp 00000000 08:06 223107 /usr/lib/libboost_thread.so.1.40.0 003ee000-003ef000 r--p 00013000 08:06 223107 /usr/lib/libboost_thread.so.1.40.0 003ef000-003f0000 rw-p 00014000 08:06 223107 /usr/lib/libboost_thread.so.1.40.0 003f0000-00402000 r-xp 00000000 08:06 223102 /usr/lib/libboost_signals.so.1.40.0 00402000-00403000 r--p 00011000 08:06 223102 /usr/lib/libboost_signals.so.1.40.0 00403000-00404000 rw-p 00012000 08:06 223102 /usr/lib/libboost_signals.so.1.40.0 00404000-0047d000 r-xp 00000000 08:06 315261 /usr/local/lib/libgazebo_rendering.so 0047d000-0047e000 ---p 00079000 08:06 315261 /usr/local/lib/libgazebo_rendering.so 0047e000-00480000 r--p 00079000 08:06 315261 /usr/local/lib/libgazebo_rendering.so 00480000-00481000 rw-p 0007b000 08:06 315261 /usr/local/lib/libgazebo_rendering.so 00481000-00482000 r-xp 00000000 08:06 296965 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06 00482000-00483000 rw-p 00000000 08:06 296965 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06 00484000-00485000 r-xp 00000000 00:00 0 [vdso] 00485000-0048c000 r-xp 00000000 08:06 316196 /usr/local/lib/libgazebo_av.so.0.10.0 0048c000-0048d000 r--p 00006000 08:06 316196 /usr/local/lib/libgazebo_av.so.0.10.0 0048d000-0048e000 rw-p 00007000 08:06 316196 /usr/local/lib/libgazebo_av.so.0.10.0 0048e000-004f5000 r-xp 00000000 08:06 315262 /usr/local/lib/libgazebo_physics.so 004f5000-004f6000 r--p 00067000 08:06 315262 /usr/local/lib/libgazebo_physics.so 004f6000-004f7000 rw-p 00068000 08:06 315262 /usr/local/lib/libgazebo_physics.so 004f7000-004fe000 r-xp 00000000 08:06 220990 /usr/lib/libSM.so.6.0.1 004fe000-004ff000 r--p 00006000 08:06 220990 /usr/lib/libSM.so.6.0.1 004ff000-00500000 rw-p 00007000 08:06 220990 /usr/lib/libSM.so.6.0.1 00502000-00514000 r-xp 00000000 08:06 221017 /usr/lib/libXft.so.2.1.13 00514000-00515000 r--p 00011000 08:06 221017 /usr/lib/libXft.so.2.1.13 00515000-00516000 rw-p 00012000 08:06 221017 /usr/lib/libXft.so.2.1.13 00516000-005f5000 r-xp 00000000 08:06 315260 /usr/local/lib/libgazebo_server.so.0.10.0 005f5000-005f7000 r--p 000de000 08:06 315260 /usr/local/lib/libgazebo_server.so.0.10.0 005f7000-005f8000 rw-p 000e0000 08:06 315260 /usr/local/lib/libgazebo_server.so.0.10.0 005f8000-005f9000 rw-p 00000000 00:00 0 005f9000-00616000 r-xp 00000000 08:06 309124 /usr/local/lib/libgazebo.so.0.10.0 00616000-00617000 ---p 0001d000 08:06 309124 /usr/local/lib/libgazebo.so.0.10.0 00617000-00618000 r--p 0001d000 08:06 309124 /usr/local/lib/libgazebo.so.0.10.0 00618000-00619000 rw-p 0001e000 08:06 309124 /usr/local/lib/libgazebo.so.0.10.0 00619000-0064b000 r-xp 00000000 08:06 315264 /usr/local/lib/libgazebo_physics_bullet.so 0064b000-0064c000 ---p 00032000 08:06 315264 /usr/local/lib/libgazebo_physics_bullet.so 0064c000-0064d000 r--p 00032000 08:06 315264 /usr/local/lib/libgazebo_physics_bullet.so 0064d000-0064e000 rw-p 00033000 08:06 315264 /usr/local/lib/libgazebo_physics_bullet.so 0064e000-006a1000 r-xp 00000000 08:06 309190 /usr/local/lib/libBulletDynamics.so.2.76 006a1000-006a2000 r--p 00052000 08:06 309190 /usr/local/lib/libBulletDynamics.so.2.76 006a2000-006a3000 rw-p 00053000 08:06 309190 /usr/local/lib/libBulletDynamics.so.2.76 006a3000-006a4000 rw-p 00000000 00:00 0 006a4000-00773000 r-xp 00000000 08:06 309188 /usr/local/lib/libBulletCollision.so.2.76 00773000-00777000 r--p 000ce000 08:06 309188 /usr/local/lib/libBulletCollision.so.2.76 00777000-00778000 rw-p 000d2000 08:06 309188 /usr/local/lib/libBulletCollision.so.2.76 00778000-00779000 rw-p 00000000 00:00 0 00779000-007b6000 r-xp 00000000 08:06 309186 /usr/local/lib/libBulletSoftBody.so.2.76 007b6000-007b7000 ---p 0003d000 08:06 309186 /usr/local/lib/libBulletSoftBody.so.2.76 007b7000-007b8000 r--p 0003d000 08:06 309186 /usr/local/lib/libBulletSoftBody.so.2.76 007b8000-007b9000 rw-p 0003e000 08:06 309186 /usr/local/lib/libBulletSoftBody.so.2.76 007b9000-007c3000 r-xp 00000000 08:06 309192 /usr/local/lib/libLinearMath.so.2.76 007c3000-007c4000 r--p 00009000 08:06 309192 /usr/local/lib/libLinearMath.so.2.76 007c4000-007c7000 rw-p 0000a000 08:06 309192 /usr/local/lib/libLinearMath.so.2.76 007c7000-007c9000 r-xp 00000000 08:06 414956 /lib/libdl-2.12.1.so 007c9000-007ca000 r--p 00001000 08:06 414956 /lib/libdl-2.12.1.so 007ca000-007cb000 rw-p 00002000 08:06 414956 /lib/libdl-2.12.1.so 007cb000-007cd000 r-xp 00000000 08:06 221021 /usr/lib/libXinerama.so.1.0.0 007cd000-007ce000 r--p 00001000 08:06 221021 /usr/lib/libXinerama.so.1.0.0 007ce000-007cf000 rw-p 00002000 08:06 221021 /usr/lib/libXinerama.so.1.0.0 007cf000-007d4000 r-xp 00000000 08:06 222403 /usr/lib/libzzip-0.so.13.0.56 007d4000-007d5000 r--p 00004000 08:06 222403 /usr/lib/libzzip-0.so.13.0.56 007d5000-007d6000 rw-p 00005000 08:06 222403 /usr/lib/libzzip-0.so.13.0.56 007d6000-00811000 r-xp 00000000 08:06 222383 /usr/lib/libopenal.so.1.12.854 00811000-00812000 r--p 0003a000 08:06 222383 /usr/lib/libopenal.so.1.12.854 00812000-00813000 rw-p 0003b000 08:06 222383 /usr/lib/libopenal.so.1.12.854 00813000-00823000 rw-p 00000000 00:00 0 00823000-0085d000 r-xp 00000000 08:06 315263 /usr/local/lib/libgazebo_physics_ode.so 0085d000-0085e000 r--p 0003a000 08:06 315263 /usr/local/lib/libgazebo_physics_ode.so 0085e000-0085f000 rw-p 0003b000 08:06 315263 /usr/local/lib/libgazebo_physics_ode.so 0085f000-00874000 r-xp 00000000 08:06 220969 /usr/lib/libICE.so.6.3.0Aborted ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// I'm still searching for a solution for this problem thanks again Nate Koenig wrote: > > Hello, > > Well, I haven't seen this problem before. > > Could you try making the following change: > > In <gazebo_sources>/server/gui/CMakeLists.txt > > Modify: > target_link_libraries(gazebo_gui ${FLTK_LIBRARIES} Xpm) > > To be: > target_link_libraries(gazebo_gui ${FLTK_LIBRARIES} Xpm Xinerama) > > re-run cmake and make. > > -nate > > > On Sat, Oct 30, 2010 at 8:43 AM, mizo_hazem_2 <[email protected]> > wrote: >> >> Hi, >> >> I got the following error while trying to build gazebo >> >> [ 89%] Built target gazeboshm >> [ 89%] Built target gazebo_physics >> [ 89%] Built target gazebo_rendering >> [ 89%] Built target gazebo_physics_bullet >> [ 89%] Built target gazebo_physics_ode >> [ 89%] Built target gazebo_server >> [ 89%] Built target gazebo_gui >> [ 89%] Built target gazebo_av-shared >> Linking CXX executable gazebo >> gui/libgazebo_gui.so.0.10.0: undefined reference to >> `XineramaQueryScreens' >> gui/libgazebo_gui.so.0.10.0: undefined reference to `XineramaIsActive' >> collect2: ld returned 1 exit status >> make[2]: *** [server/gazebo] Error 1 >> make[1]: *** [server/CMakeFiles/gazebo-exec.dir/all] Error 2 >> make: *** [all] Error 2 >> >> I searched for this error, but I have not find any solution >> >> Note: >> libxinerama-dev and libxxf86vm-dev are already installed >> >> helkh...@helkheer:/usr/lib$ ls | grep Xiner >> libXinerama.a >> libXinerama.so >> libXinerama.so.1 >> libXinerama.so.1.0.0 >> >> Is there anyone who can helping me solving this problem >> >> thanks in advance >> -- >> View this message in context: >> http://old.nabble.com/gazebo-compilation-problem-%28gui-libgazebo_gui.so.0.10.0%3A-undefined-reference-to-%60XineramaIsActive%27%29-tp30079637p30079637.html >> Sent from the playerstage-gazebo mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America >> contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and >> Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >> marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> Playerstage-gazebo mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >> > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > -- View this message in context: http://old.nabble.com/gazebo-compilation-problem-%28gui-libgazebo_gui.so.0.10.0%3A-undefined-reference-to-%60XineramaIsActive%27%29-tp30079637p30117883.html Sent from the playerstage-gazebo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
