Missing libc.a for RPI4 #yocto #sdk #linux


Pankaj Vinadrao Joshi
 

Hi,
i have built an image for the raspberrypi4 but i am not able to find libc.a file in /usr/lib and due to which i am getting an error w.r.t. static linking
I am attaching the error which i am getting while compiling the program with --static option.

make -C /home/root/lkp-tests/bin/event
make: Entering directory '/home/root/lkp-tests/bin/event'
gcc -static  wakeup.o   -o wakeup
/usr/lib/gcc/aarch64-oe-linux/10.1.0/../../../../aarch64-oe-linux/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make: *** [<builtin>: wakeup] Error 1

Can someone suggest me how i can resolve this error,why i am not getting libc.a file in /usr/lib??Kindly help

Thanks!

Join yocto@lists.yoctoproject.org to automatically receive all group messages.