[yocto] meta-toolchain uclibc issue

John Toomey john.toomey at linux.intel.com
Fri Jun 1 08:01:08 PDT 2012


Hello all,

I'm trying to use uClibc and meta-toolchain to compile software for my 
target system. After building and installing the toolchain I get the 
following error when trying to compile:

/toolchain$ $CC hello.c -o hello_after
/toolchain/poky/1.2/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/../../libexec/i586-poky-linux-uclibc/gcc/i586-poky-linux-uclibc/4.6.4/ld: 
cannot find uclibc_nonshared.a
collect2: ld returned 1 exit status

but if I include the following Yocto tmp directory

/toolchain$ $CC -o hello hello.c -L 
.../tmp/work/i586-poky-linux-uclibc/uclibc-0.9.33-r6.0/package/usr/lib

everythoing works correctly. Does anyone know why this file isnt 
included in the toolchain package? Is this something im doing wrong or 
an issue with meta-toolchain?

Thanks,
John





More information about the yocto mailing list