[OE-core] ld problems with relocated toolchain

Jack Mitchell ml at communistcode.co.uk
Mon Sep 24 08:37:21 UTC 2012


On 24/09/12 03:17, Khem Raj wrote:

[snip]

>
>
> What does linker command looks like, its not in the above log you posted.
>
>

Hi Khem,

Is this enough information?

Building target: R0005
Invoking: GCC C Linker

arm-poky-linux-gnueabi-gcc 
-L/home/jack/Projects/R0005-SDK-210912/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib 
-o "R0005"  ./src/webInterfaces/webInterface_rJSON.o 
./src/webInterfaces/webInterface_sqlite.o 
./src/webInterfaces/webInterface_webSockets.o 
./src/storageInterfaces/sqlite.o ./src/management/management_database.o 
./src/hardwareProtocols/hardwareProtocol_B092SPIImage.o 
./src/hardwareProtocols/hardwareProtocol_axonSPI.o 
./src/hardwareInterfaces/interface_gpio_mmap.o 
./src/hardwareInterfaces/interface_gpio_sysfs.o 
./src/hardwareInterfaces/interface_kMod.o 
./src/hardwareInterfaces/interface_serial.o 
./src/hardwareInterfaces/interface_spidev.o  ./src/B092/B092.o 
./src/B092/B092_config.o ./src/B092/B092_database.o 
./src/B092/B092_init.o ./src/B092/B092_socket.o 
./src/B092/B092_thumbnail.o ./src/B092/BO92_data.o ./src/AX02/AX02.o 
./src/AX02/AX02_PIDs.o ./src/AX02/AX02_config.o ./src/AX02/AX02_data.o 
./src/AX02/AX02_database.o ./src/AX02/AX02_init.o ./src/AX02/AX02_log.o 
./src/AX02/AX02_socket.o ./src/AX02/AX02_tables.o  ./src/R0005.o 
./src/errors.o ./src/systemConfig.o   -lsqlite3 -ljansson -lwebsockets 
-lz -lpthread -ljpeg -lpng

/home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: 
cannot find crt1.o: No such file or directory
/home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: 
cannot find crti.o: No such file or directory
/home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: 
cannot find crtbegin.o: No such file or directory
/lib/libpthread.so.0: file not recognized: File format not recognized

collect2: error: ld returned 1 exit status

make: *** [R0005] Error 1

Regards,

-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--





More information about the Openembedded-core mailing list