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!
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49863): https://lists.yoctoproject.org/g/yocto/message/49863 Mute This Topic: https://lists.yoctoproject.org/mt/75313743/21656 Mute #sdk: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/sdk Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto Mute #linux: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/linux Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
