From: Robotics P. u. h. l. <rob...@li...> - 2007-10-11 13:09:34
|
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. |