Skip to contentSkip to conversation

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

DISCUSSION Vijay Rakesh Munganda 1 participant 1 message Feb 4, 2021

lore
Share & tools
lore
#0 lore raw

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