Hi,
 
Thanks for your reply.
After checking, I was told that Magellan Pro only use the rwi driver. The following are the compiling information for rwi. Are these the compile lines you need?
 

Making all in rwi

make[6]: Entering directory `/usr/local/player-src-1.4rc2/server/drivers/mixed/rwi'

c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../server  -Wall -I/usr/local/mobility-b-1.1.8nb/include -I/usr/local/mobility-b-1.1.8nb/tools/include -DUSE_MOBILITY -D__x86__ -D__linux__ -D__OSVERSION__=2 -I../../../../server   -g -O2 -c rwi_bumperdevice.cc

In file included from /usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/omniInternal.h:112,

                 from /usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/CORBA.h:116,

                 from /usr/local/mobility-b-1.1.8nb/include/MobilityComponents.hh:10,

                 from /usr/local/mobility-b-1.1.8nb/include/mobilitycomponents_i.h:57,

                 from rwidevice.h:47,

                 from rwi_bumperdevice.h:27,

                 from rwi_bumperdevice.cc:24:

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/IOP.h: In member function

   `size_t IOP::IOR::NP_alignedSize(unsigned int)':

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/IOP.h:124: `strlen'

   undeclared (first use this function)

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/IOP.h:124: (Each

   undeclared identifier is reported only once for each function it appears

   in.)

In file included from /usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/omniInternal.h:135,

                 from /usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/CORBA.h:116,

                 from /usr/local/mobility-b-1.1.8nb/include/MobilityComponents.hh:10,

                 from /usr/local/mobility-b-1.1.8nb/include/mobilitycomponents_i.h:57,

                 from rwidevice.h:47,

                 from rwi_bumperdevice.h:27,

                 from rwi_bumperdevice.cc:24:

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/rope.h: In constructor

   `Endpoint::Endpoint(_CORBA_Char*)':

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/rope.h:549: `strcpy'

   undeclared (first use this function)

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/rope.h: In member function

   `_CORBA_Boolean Endpoint::is_protocol(const _CORBA_Char*) const':

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/rope.h:572: `strcmp'

   undeclared (first use this function)

In file included from /usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/CORBA.h:116,

                 from /usr/local/mobility-b-1.1.8nb/include/MobilityComponents.hh:10,

                 from /usr/local/mobility-b-1.1.8nb/include/mobilitycomponents_i.h:57,

                 from rwidevice.h:47,

                 from rwi_bumperdevice.h:27,

                 from rwi_bumperdevice.cc:24:

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/omniInternal.h: In member

   function `void omniRopeAndKey::key(_CORBA_Octet*, long unsigned int)':

/usr/local/mobility-b-1.1.8nb/tools/include/omniORB2/omniInternal.h:266: `

   memcpy' undeclared (first use this function)

In file included from /usr/local/mobility-b-1.1.8nb/include/wwwget.h:68,

                 from /usr/local/mobility-b-1.1.8nb/include/mobilitycomponents_i.h:62,

                 from rwidevice.h:47,

                 from rwi_bumperdevice.h:27,

                 from rwi_bumperdevice.cc:24:

/usr/include/string.h: At global scope:

/usr/include/string.h:39: `void* memcpy(void*, const void*, unsigned int)' used

   prior to declaration

/usr/include/string.h:83: `char* strcpy(char*, const char*)' used prior to

   declaration

/usr/include/string.h:97: `int strcmp(const char*, const char*)' used prior to

   declaration

/usr/include/string.h:230: `size_t strlen(const char*)' used prior to

   declaration

make[6]: *** [rwi_bumperdevice.o] Error 1

make[6]: Leaving directory `/usr/local/player-src-1.4rc2/server/drivers/mixed/rwi'

make[5]: *** [all-recursive] Error 1

make[5]: Leaving directory `/usr/local/player-src-1.4rc2/server/drivers/mixed'

make[4]: *** [all-recursive] Error 1

make[4]: Leaving directory `/usr/local/player-src-1.4rc2/server/drivers'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory `/usr/local/player-src-1.4rc2/server'

make[2]: *** [all-recursive-am] Error 2

make[2]: Leaving directory `/usr/local/player-src-1.4rc2/server'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/usr/local/player-src-1.4rc2'

make: *** [all-recursive-am] Error 2



Brian Gerkey <gerkey@ai.stanford.edu> wrote:

On Fri, 22 Oct 2004, Emmanuel Lee wrote:

> I'm new to the player/stage package and encountered
> an error when trying to complie the player package.
> Because I'm using magellan pro mobile robot thus I
> included the --with-mobility option during the
> configure process. It runs well, stating the
> mbylistbase.h in the mobility folder is found and rwi
> will be included. However, the following error
> surfaced during the 'make' process;

Does the Magellan Pro use an rFlex controller? If so, you might try
Player's rflex drivers (which don't use Mobility) instead of the rwi
drivers (which do use Mobility).

>
> make[6]: *** [rwi_bumperdevice.o] Error 1
> make[6]: Leaving directory
> `/usr/local/player-src-1.4rc2/server/drivers/mixed/rwi'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/usr/local/player-src-1.4rc2/server/drivers/mixed'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/usr/local/player-src-1.4rc2/server/drivers'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/usr/local/player-src-1.4rc2/server'
> make[2]: *** [all-recursive-am] Error 2
> make[2]: Leaving directory
> `/usr/local/player-src-1.4rc2/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/local/player-src-1.4rc2'
> make: *** [all-recursive-am] Error 2

We need to see the lines just before the first error. In particular, we
need to see the compile line that failed, and why.

> I'm using the following versions:
>
> librtk-src-2.2.0
> player-src-1.4rc2
> stage-src-1.3.3

I recommend that you upgrade, to librtk 2.3.0, player 1.5, and stage 1.3.4.

brian.

--
Brian P. Gerkey gerkey@ai.stanford.edu
Stanford AI Lab http://ai.stanford.edu/~gerkey


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users


Best Regards,
Lee, National University of Singapore


Do you Yahoo!?
vote.yahoo.com - Register online to vote today!