configure: error: C compiler cannot create executables #yocto #toolchain #dunfell


Vijay Rakesh Munganda
 

Hi, 

I'm running cmake to build shared libraries, but cmake gives me following error. Please suggest me.
 
| checking whether make supports the include directive... yes (GNU style)
| checking for gcc... /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/kvscpp/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc
| checking whether the C compiler works... no
| configure: error: in `/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/kvscpp/1.0-r0/git/open-source/liblog4cplus/build/src/project_log4cplus':
| configure: error: C compiler cannot create executables

Regards,
Vijay

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