From: Robotics P. u. h. l. <rob...@li...> - 2007-10-11 17:58:01
|
I'm can't tell you why the configure script cannot find arm-linux- gcc, but I will say that if putting the binaries in /local/usr/bin works, then something must be wrong with with PATH setup. Retrace your steps - after you edited .bashrc, did you restart all Terminals? Did you re-do ./configure? Did you see any "XXX not found" in the outputs? Overall, copying the binaries over to /local/usr/bin is most definitely not going to work - arm-linux-gcc will be unable to find the libraries that it needs (unless you also copied a couple of hundred other directories, too). Jiuguang On Oct 11, 2007, at 9:09 AM, Robotics Primer users help list wrote: > No matter what I put in PATH or other environment variables the > make install > would not find the arm-linux executables even though I could access > them > while not in make. Examining the Makefile did not enlighten me as > to why. > So todays HORRIBLE HACK was to save the original /bin and then cp > everything in staging_dir/bin to /bin. Hey, I don't like it either > but if I don't try odd things I don't get anywhere with this. > > Now the make install in player runs almost to the end finally > terminating with > > g++ -o player server.o -Wl,--export-dynamic -lm ../server/ > libplayerdrivers/.libs/libplayerdrivers.a ../libplayercore/.libs/ > libplayercore.a ../libplayercore/.libs/libplayererror.a ../ > libplayertcp/.libs/libplayertcp.a /home/john/player-2.0.4/ > libplayercore/.libs/libplayercore.a /home/john/player-2.0.4/ > libplayerxdr/.libs/libplayerxdr.a ../libplayerxdr/.libs/ > libplayerxdr.a /home/john/player-2.0.4/libplayercore/.libs/ > libplayererror.a ../replace/.libs/libreplace.a -lpthread -lnsl -lrt > -lz > /usr/bin/ld: ../server/libplayerdrivers/.libs/libplayerdrivers.a > (roomba_comms.o): Relocations in generic ELF (EM: 40) > /usr/bin/ld: ../server/libplayerdrivers/.libs/libplayerdrivers.a > (roomba_comms.o): Relocations in generic ELF (EM: 40) > /usr/bin/ld: ../server/libplayerdrivers/.libs/libplayerdrivers.a > (roomba_comms.o): Relocations in generic ELF (EM: 40) > /usr/bin/ld: ../server/libplayerdrivers/.libs/libplayerdrivers.a > (roomba_comms.o): Relocations in generic ELF (EM: 40) > /usr/bin/ld: ../server/libplayerdrivers/.libs/libplayerdrivers.a > (roomba_comms.o): Relocations in generic ELF (EM: 40) > /usr/bin/ld: ../server/libplayerdrivers/.libs/libplayerdrivers.a > (roomba_comms.o): Relocations in generic ELF (EM: 40) > ../server/libplayerdrivers/.libs/libplayerdrivers.a: could not read > symbols: File in wrong format > collect2: ld returned 1 exit status > > Does any one recognise why ld doesn't like ELF? > > Questions > 1)why will make install not access the directorys that are in my > PATH variable > when I execute make install? > 2)is ld saying I compiled roomba_comms with the wrong options? > > Any other Ideas, or even a nicer HORRIBLE HACK would be appreciated. > I will check out 2 this evening. > > John Cummins > > Looking for a deal? Find great prices on flights and hotels with > Yahoo! FareChase. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users |