AnsweredAssumed Answered

[imx6d]arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lc

Question asked by MyungJin Hwang on Feb 11, 2016
Latest reply on Feb 15, 2016 by Yuri Muhin

Dear NXP team.

 

I'm have imx6d board now and some build error as bellow.

 

toolchain is /opt/poky/1.7.1 and using ubuntu 10.04/64bit.

 

/opt/poky/1.7.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lc

 

it could be builded without "CFLAGS += -static" but we usually use static librarys(*.a) fiil.

 

so, i add CFLAGS += -static then it occurs build errors.

 

and i searched libc.a file in the toolchain(/opt/poky/1.7.1) with grep but i couldn't find it.

 

could you help me?

 

Best regards

Outcomes