[ECOS] problems in building tool chain
Bart Veer
bartv@ecoscentric.com
Tue Mar 16 15:48:00 GMT 2004
>>>>> "Sai" == Sai Naidu <naiduk@intotoinc.com> writes:
Sai> hi!
Sai> This is the first time i am using for the first time. i building it on a
Sai> linux 8 host for target arm-elf.
Sai> i have followed all the instructions as given in the
Sai> "http://ecos.sourceware.org/build-toolchain.html" page. The only
Sai> difference is that i ahve not included the gdb file " gdb-5.3.tar.bz2".
Sai> but i getting the following error while compiling.
Sai> -------------------------------------------------------------
Sai> make[3]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3/libio'
Sai> Making all in libmath
Sai> make[3]: Entering directory
Sai> `/tmp/build/gcc/arm-elf/libstdc++-v3/libmath'
Sai> /bin/sh ../libtool --tag CC --mode=compile /tmp/build/gcc/gcc/xgcc
Sai> -B/tmp/build/gcc/gcc/ -B/gnutools/arm-elf/bin/ -B/gnutools/arm-elf/lib/
Sai> -isystem /gnutools/arm-elf/include -DHAVE_CONFIG_H -I.
Sai> -I/src/gcc-3.2.1/libstdc++-v3/libmath -I.. -O2 -g -O2 -c
Sai> /src/gcc-3.2.1/libstdc++-v3/libmath/stubs.c
Sai> /tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -B/gnutools/arm-elf/bin/
Sai> -B/gnutools/arm-elf/lib/ -isystem /gnutools/arm-elf/include
Sai> -DHAVE_CONFIG_H -I. -I/src/gcc-3.2.1/libstdc++-v3/libmath -I.. -O2 -g
Sai> -O2 -c /src/gcc-3.2.1/libstdc++-v3/libmath/stubs.c -o stubs.o
Sai> /src/gcc-3.2.1/libstdc++-v3/libmath/stubs.c:30:18: math.h: No such file
Sai> or directory
Sai> make[3]: *** [stubs.lo] Error 1
Sai> make[3]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3/libmath'
Sai> make[2]: *** [all-recursive] Error 1
Sai> make[2]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3'
Sai> make[1]: *** [all-recursive-am] Error 2
Sai> make[1]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3'
Sai> make: *** [all-target-libstdc++-v3] Error 2
Sai> make: Leaving directory `/tmp/build/gcc'
Sai> -----------------------------------------------------------
Sai> Do i have to copy certain files manually?
I suspect you have missed out step (5) of "Preparing the sources for
building". That math.h header should be coming from newlib, but newlib
is not mentioned in that libtool invocation. The implication is that
gcc's configure script failed to find newlib because you have not
moved the latter to the right location.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list