Do you have multiple versions of libgazebo installed on your system?
Check for local installations and in /usr/local/lib.

Was a libgazebo/gz_position1.o created afer compilation?

Run this command on your libgazebo.a file
    $ objdump -f libgazebo.a | grep gz_position1
Does it produce output like:
   gz_position1.o:     file format elf32-i386

Also run that command on your installed libgazebo.a file.

If everything fails. Run 'make distclean' and rebuild everything.

-nate
On 4/13/06, Esposito Mario <[EMAIL PROTECTED]> wrote:
> First of all thanks for your reply
>
> I tried to follow your advice, and I tried an experiment, this are the exact 
> steps i did:
> 1) I downloaded CVS GAZEBO version
> 2) In the folder /libgazebo I created a new file gz_position1.c copying the 
> code from gz_position.c and simply substituting the strings
>     gz_position with gz_position1
> 3) I modified the gazebo.h file adding new code in the same way
> 4) I added in the Makefile.am gz_position1.c
> 5) I executed ./bootstrap, ./configure make and make install all without 
> errors
> 6) Gazebo seems to work normally on the examples in the worlds folder
> 7) I added the interface gz_position in the ExampleModel and all works too
> 8) I added the interface gz_position1 in the ExampleModel and I get the same 
> error:
> ...
> starting server
> waiting for server
> ** Gazebo  **
> * Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
> * Nate Koenig and contributors.
> * Released under the GNU General Public License.
> using display [:0]
> rendering: [GLXP pbuffer] direct [yes] RGBA [8 8 8 0] depth [24]
> loading 
> /home/donnarumma/GazeboPlayerCVS/gazebo/examples/plugins/ExampleModel/./ExampleModel.so...
> error   : error loading plugin: 
> /home/donnarumma/GazeboPlayerCVS/gazebo/examples/plugins/ExampleModel/./ExampleModel.so:
>  undefined symbol: gz_position1_alloc
> loading /usr/local/lib/gazebo/plugins/ExampleModel.so...
> error   : error loading plugin: 
> /usr/local/lib/gazebo/plugins/ExampleModel.so: cannot open shared object 
> file: No such file or directory
> Initialization failed
> server died
> stopping server
>
> What else can I do?
> Help me, please!
>
> Mario
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to