[oe] LPC3250, helloworld-image, configure: error: cannot run C compiled programs
Dmitry Vinokurov
d.vinokuroff at gmail.com
Thu Aug 20 13:01:59 UTC 2009
Hello,
I'm trying to build helloworld-image for LPC3250 board and created
local.conf and lpc3250.conf (files attached) using prebuilt toolchain
and 'bitbake -v helloworld-image' give following error:
--------
NOTE: Running task 193 of 643 (ID: 636,
/home/raydan/work/oe/openembedded/recipes/gcc/gcc-cross-initial_4.2.4.bb,
do_compile)
ERROR: function do_compile failed
ERROR: see log in
/home/raydan/work/oe/build/tmp/work/arm-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r7.1/temp/log.do_compile.15707
NOTE: Task failed:
/home/raydan/work/oe/build/tmp/work/arm-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r7.1/temp/log.do_compile.15707
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/raydan/work/oe/openembedded/recipes/gcc/gcc-cross-initial_4.2.4.bb
do_compile failed
ERROR: Task 636
(/home/raydan/work/oe/openembedded/recipes/gcc/gcc-cross-initial_4.2.4.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 192 tasks of which 186 didn't need to be
rerun and 1 failed.
ERROR:
'/home/raydan/work/oe/openembedded/recipes/gcc/gcc-cross-initial_4.2.4.bb'
failed
--------
Executing 'tail
tmp/work/arm-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r7.1/temp/log.do_compile.15707'
give following:
--------
checking target system type... arm-oe-linux-gnueabi
checking for i686-linux-gcc...
/opt/nxp/gcc-4.3.2-glibc-2.7/arm-vfp-linux-gnu/../bin/arm-vfp-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-fixincludes] Error 1
make[1]: Leaving directory
`/home/raydan/work/oe/build/tmp/work/arm-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r7.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed
--------
Looks like bitbake use ARM toolchain instead of X86 and of course it
cannot run ARM targets on my laptop. Could somebody explain, please, how
this mess with toolchains can be fixed?
By the way, I don't understand why bitbake build gcc-cross-initial when
I use external toolchain. Maybe I've configured something wrong and OE
tries to build it's own toolchain, but seems like config is correct
according to manual.
Thanks in advance.
--
Best Regards,
Dmitry Vinokurov
<d.vinokuroff at gmail.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: local.conf
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090820/6d81fc0a/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lpc3250.conf
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090820/6d81fc0a/attachment-0003.ksh>
More information about the Openembedded-devel
mailing list