[Buildroot] C compiler cannot create executables

Micha Holzmann holzmann at gmx.de
Sun Apr 6 10:47:21 UTC 2008


Hello,

after compiling buildroot successfully, i mounted the rootfs via loop,
copied the tar sources into the rootfs an did chroot. After cd to the
tar source dir i run ./configure.

sh-3.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

in config.log i found: /usr/bin/ld: cannot find -lgcc

What have i did wrong or what is missing.

Best regards,
Micha Holzmann

-- 
Who the hell is General Failure, and why he is reading my disk?



More information about the buildroot mailing list