ARM GCC COMPILATION ERROR
Anandkumar, CB IN BLR SISL
anand.cb@siemens.com
Wed Nov 22 05:07:00 GMT 2006
> -----Original Message-----
> From: Anandkumar, CB IN BLR SISL
> Sent: Wednesday, November 22, 2006 10:20 AM
> To: gcc-help@gcc.gnu.org
> Subject:
>
> hai all ,
> i am building a cross tool chain for one of my arm920t board , but i following the steps as mentioned in the site http://frank.harvard.edu/%7Ecoldwell/toolchain/ . But my build is failing at the 1st stage of GCC compilation .The log message before failing is as showen below . can any one help me to figure out why i am getting this error or provide a steps to generate a crosstool chain to work on arm920t boards.
>
> ln -s @shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
> SHLIB_INSTALL='$(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; /usr/bin/install -c -m 644 @shlib_dir@@shlib_so_name@.so.1 $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_so_name@.so.1; rm -f $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so; ln -s @shlib_so_name@.so.1 $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so' \
> SHLIB_EXT='.so' \
> SHLIB_MULTILIB='' \
> SHLIB_MKMAP='../../../gcc-3.4.4/gcc/mkmap-symver.awk' \
> SHLIB_MKMAP_OPTS='' \
> SHLIB_MAPFILES='../../../gcc-3.4.4/gcc/libgcc-std.ver ../../../gcc-3.4.4/gcc/config/libgcc-glibc.ver' \
> SHLIB_NM_FLAGS='-pg' \
> MULTILIB_OSDIRNAMES='' \
> mkinstalldirs='/bin/sh ../../../gcc-3.4.4/gcc/mkinstalldirs' \
> /bin/sh mklibgcc > tmp-libgcc.mk
> mv tmp-libgcc.mk libgcc.mk
> TARGET_CPU_DEFAULT="" \
> HEADERS="ansidecl.h" DEFINES="" \
> /bin/sh ../../../gcc-3.4.4/gcc/mkconfig.sh tconfig.h
> /home/anand/toolchain/src/BUILD/gcc-3.4.4-stage1/gcc/xgcc -B/home/anand/toolchain/src/BUILD/gcc-3.4.4-stage1/gcc/ -B/home/anand/toolchain/arm-unknown-linux-gnu/bin/ -B/home/anand/toolchain/arm-unknown-linux-gnu/lib/ -isystem /home/anand/toolchain/arm-unknown-linux-gnu/include -isystem /home/anand/toolchain/arm-unknown-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../../gcc-3.4.4/gcc -I../../../gcc-3.4.4/gcc/. -I../../../gcc-3.4.4/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time \
> -c ../../../gcc-3.4.4/gcc/crtstuff.c -DCRT_BEGIN \
> -o crtbegin.o
> In file included from ../../../gcc-3.4.4/gcc/crtstuff.c:62:
> ../../../gcc-3.4.4/gcc/tsystem.h:79:19: stdio.h: No such file or directory
> ../../../gcc-3.4.4/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
> ../../../gcc-3.4.4/gcc/tsystem.h:85:19: errno.h: No such file or directory
> ../../../gcc-3.4.4/gcc/tsystem.h:92:20: string.h: No such file or directory
> ../../../gcc-3.4.4/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
> ../../../gcc-3.4.4/gcc/tsystem.h:94:20: unistd.h: No such file or directory
> ../../../gcc-3.4.4/gcc/tsystem.h:100:18: time.h: No such file or directory
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/home/anand/toolchain/src/BUILD/gcc-3.4.4-stage1/gcc'
> make: *** [all-gcc] Error 2
> anand@samurai:gcc-3.4.4-stage1>../../gcc-3.4.4/configure --prefix=${PREFIX} --target=${TARGET} --enable-languages=c --with-sysroot=${SYSROOT}
>
>
>
> thanks in advance,
>
> with regards,
> anandkumar C B
>
>
>
>
>
>
>
More information about the Gcc-help
mailing list