From: Brian G. <br...@ge...> - 2008-11-21 19:20:22
|
The 'no .eh_frame_hdr table will be created.' error suggests that something is wrong with your compiler / linker setup. Are you cross- compiling? What is the 'd' program that you're calling on the command- line to build with? brian. On Nov 6, 2008, at 1:23 PM, Andrea wrote: > Hi all > > I have a problem when I compile an application of my friend: he use > Slackware 12 and I use Ubuntu 7.1. > Here under the errors during the compile time, how can I solve the > problem?? > > d -o c c.cpp glasm.cpp sga.cpp utils.cpp > lzuti.cpp -I/usr/local/playerstage/include/player-2.1 -L/usr/local/ > playersta > ge/lib -lplayerc++ > /usr/bin/ld: error in /tmp/ccrS3652.o(.eh_frame); no .eh_frame_hdr > table > will be created. > /usr/bin/ld: error in /tmp/ccWKSk7Z.o(.eh_frame); no .eh_frame_hdr > table > will be created. > /tmp/ccrS3652.o: In function `simple_alloc<_List_node<reading>, > __default_alloc_template<true, 0> >::allocate(unsigned int)': > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x485): undefined reference to > `PlayerCc::PlayerClient::PlayerClient(basic_string<char, > string_char_traits<char>, __default_alloc_template<true, 0> >, > unsigned int, > int)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x49d): undefined reference to > `PlayerCc::Position2dProxy::Position2dProxy(PlayerCc::PlayerClient *, > unsigned int)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x4b5): undefined reference to > `PlayerCc::LaserProxy::LaserProxy(PlayerCc::PlayerClient *, unsigned > int)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x522): undefined reference to > `PlayerCc::LaserProxy::~LaserProxy(void)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x542): undefined reference to > `PlayerCc::Position2dProxy::~Position2dProxy(void)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x55f): undefined reference to > `PlayerCc::PlayerClient::~PlayerClient(void)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x7ed): undefined reference to > `PlayerCc::LaserProxy::~LaserProxy(void)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x80d): undefined reference to > `PlayerCc::Position2dProxy::~Position2dProxy(void)' > /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/../../../../include/g++-3/ > stl_constru > ct.h:(.text+0x82a): undefined reference to > `PlayerCc::PlayerClient::~PlayerClient(void)' > /tmp/ccrS3652.o: In function `assign_scan(scan *, > PlayerCc::LaserProxy const > &)': > /usr/share/zampese/src/c.cpp:528: undefined reference to > `PlayerCc::LaserProxy::GetCount(void) const' > /usr/share/zampese/src/c.cpp:532: undefined reference to > `PlayerCc::LaserProxy::GetBearing(unsigned int) const' > /usr/share/zampese/src/c.cpp:533: undefined reference to > `PlayerCc::LaserProxy::GetRange(unsigned int) const' > /tmp/ccrS3652.o: In function > `aggiusta_angolo(PlayerCc::Position2dProxy > const &)': > /usr/share/zampese/src/c.cpp:554: undefined reference to > `PlayerCc::Position2dProxy::GetXPos(void) const' > /usr/share/zampese/src/c.cpp:555: undefined reference to > `PlayerCc::Position2dProxy::GetYPos(void) const' > /usr/share/zampese/src/c.cpp:556: undefined reference to > `PlayerCc::Position2dProxy::GetYaw(void) const' > /tmp/ccrS3652.o: In function > `navigazione_casuale(PlayerCc::PlayerClient &, > PlayerCc::Position2dProxy &, PlayerCc::LaserProxy &, > basic_string<char, > string_char_traits<char>, __default_alloc_template<true, 0> > const > &)': > /usr/share/zampese/src/c.cpp:629: undefined reference to > `PlayerCc::Position2dProxy::ResetOdometry(void)' > /usr/share/zampese/src/c.cpp:637: undefined reference to > `PlayerCc::PlayerClient::Read(void)' > /usr/share/zampese/src/c.cpp:665: undefined reference to > `PlayerCc::PlayerClient::Read(void)' > /usr/share/zampese/src/c.cpp:696: undefined reference to > `PlayerCc::LaserProxy::GetMaxRange(void) const' > /usr/share/zampese/src/c.cpp:700: undefined reference to > `PlayerCc::LaserProxy::GetCount(void) const' > /usr/share/zampese/src/c.cpp:707: undefined reference to > `PlayerCc::LaserProxy::operator[](unsigned int) const' > /usr/share/zampese/src/c.cpp:708: undefined reference to > `PlayerCc::LaserProxy::operator[](unsigned int) const' > /usr/share/zampese/src/c.cpp:714: undefined reference to > `PlayerCc::LaserProxy::operator[](unsigned int) const' > /usr/share/zampese/src/c.cpp:715: undefined reference to > `PlayerCc::LaserProxy::operator[](unsigned int) const' > /usr/share/zampese/src/c.cpp:723: undefined reference to > `PlayerCc::LaserProxy::operator[](unsigned int) const' > /usr/share/zampese/src/c.cpp:761: undefined reference to > `PlayerCc::Position2dProxy::SetOdometry(double, double, double)' > /usr/share/zampese/src/c.cpp:765: undefined reference to > `PlayerCc::PlayerClient::Read(void)' > /usr/share/zampese/src/c.cpp:770: undefined reference to > `PlayerCc::Position2dProxy::SetSpeed(double, double)' > collect2: ld returned 1 exit status > make: *** [c] Error 1 > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users |