GCC pass 1 error

com bio combiofriends at yahoo.com
Mon May 9 10:08:16 PDT 2005


Is is not able to locate the string.h file. or i thing
it is not able to locate any header file. Try
compiling some other c program which uses some basic
header files. See if u r able to compile. If not then
I think it is not able to locate the headers. probably
u made a mistake before.


--- Phillip Fynan <pfynan at gmail.com> wrote:

> I am using VectorLinux as my host distribution. On
> compiling GCC pass
> 1 it spews out undefined reference errors like a
> fire hose. Is it that
> I need to upgrade a library?
> 
> Binutils built fine.
> 
> Does Glibc need upgrading?
> Those mv errors don't look too good either.
> 
> Here are the start and tail of the errors, (there
> were 80K of errors,
> so I'm snipping them):
> 
> make[2]: Leaving directory
> `/mnt/lfs/sources/gcc-build/gcc'
> echo timestamp > stage1_build
> echo stage1_build > stage_last
> make stage1
> make[2]: Entering directory
> `/mnt/lfs/sources/gcc-build/gcc'
> if [ -d stage1 ] ; then true ; else mkdir stage1 ;
> fi
> make -f libgcc.mk libgcc-stage-start stage=stage1
> make[3]: Entering directory
> `/mnt/lfs/sources/gcc-build/gcc'
> for dir in libgcc; do \
>   if [ -d stage1/$dir ]; then true; else /bin/sh
> ../../gcc-3.4.1/gcc/mkinstalldirs stage1/$dir; fi; \
> done
> mkdir -p -- stage1/libgcc
> for dir in libgcc; do \
>   mv $dir/*.o stage1/$dir; \
>   test ! -f $dir/stacknote.s || mv $dir/stacknote.s
> stage1/$dir; \
>   test ! -f $dir/libgcc.a || mv $dir/lib*
> stage1/$dir; \
> done
> make[3]: Leaving directory
> `/mnt/lfs/sources/gcc-build/gcc'
> subdirs=""; for dir in $subdirs; \
>  do \
>    if [ -d stage1/$dir ] ; then true ; else mkdir
> stage1/$dir ; fi ; \
>  done
> mv specs stage1/specs
> mv *.o insn-flags.h insn-config.h insn-codes.h
> insn-output.c
> insn-recog.c insn-emit.c insn-extract.c insn-peep.c
> insn-attr.h
> insn-attrtab.c insn-opinit.c insn-constants.h
> tm-preds.h tree-check.h
> insn-conditions.c min-insn-modes.c insn-modes.c
> insn-modes.h s-flags
> s-config s-codes s-mlib s-genrtl s-modes s-gtype
> gtyp-gen.h s-output
> s-recog s-emit s-extract s-peep s-check s-conditions
> s-attr s-attrtab
> s-opinit s-preds s-constants s-crt0 genemit
> genoutput genrecog
> genextract genflags gencodes genconfig genpeep
> genattrtab genattr
> genopinit gengenrtl gencheck genpreds genconstants
> gengtype
> genconditions genmodes genrtl.c genrtl.h gt-*.h
> gtype-*.h gtype-desc.c
> xgcc cpp cc1  crtbegin.o crtbeginS.o crtbeginT.o
> crtend.o crtendS.o 
> gcc-cross protoize unprotoize specs collect2
> collect2 gcov-iov gcov
> gcov-dump *.[0-9][0-9].* *.[si] libcpp.a
> libbackend.a libgcc.mk 
> stage1
> mv: cannot stat `s-crt0': No such file or directory
> mv: cannot stat `crtbegin.o': No such file or
> directory
> mv: cannot stat `crtbeginS.o': No such file or
> directory
> mv: cannot stat `crtbeginT.o': No such file or
> directory
> mv: cannot stat `crtend.o': No such file or
> directory
> mv: cannot stat `crtendS.o': No such file or
> directory
> mv: cannot stat `gcc-cross': No such file or
> directory
> mv: cannot stat `protoize': No such file or
> directory
> mv: cannot stat `unprotoize': No such file or
> directory
> mv: cannot stat `specs': No such file or directory
> mv: cannot stat `collect2': No such file or
> directory
> mv: cannot stat `gcov': No such file or directory
> mv: cannot stat `gcov-dump': No such file or
> directory
> mv: cannot stat `*.[0-9][0-9].*': No such file or
> directory
> mv: cannot stat `*.[si]': No such file or directory
> make[2]: [stage1-start] Error 1 (ignored)
> if [ -f as ] ; then (cd stage1 && ln -s ../as .) ;
> else true ; fi
> if [ -f ld ] ; then (cd stage1 && ln -s ../ld .) ;
> else true ; fi
> if [ -f collect-ld ] ; then (cd stage1 && ln -s
> ../collect-ld .) ;
> else true ; fi
> rm -f stage1/libgcc.a stage1/libgcc_eh.a
> stage1/libgcov.a
> rm -f stage1/libgcc_s*.so
> cp libgcc.a stage1
> ` if [ -f
> /mnt/lfs/sources/gcc-build/gcc/../binutils/ranlib ]
> ; then
> echo
> /mnt/lfs/sources/gcc-build/gcc/../binutils/ranlib ;
> else if [
> "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then
> echo ranlib; else
> t='s,y,y,'; echo ranlib | sed -e $t ; fi; fi`
> stage1/libgcc.a
> cp libgcov.a stage1
> ` if [ -f
> /mnt/lfs/sources/gcc-build/gcc/../binutils/ranlib ]
> ; then
> echo
> /mnt/lfs/sources/gcc-build/gcc/../binutils/ranlib ;
> else if [
> "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then
> echo ranlib; else
> t='s,y,y,'; echo ranlib | sed -e $t ; fi; fi`
> stage1/libgcov.a
> if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage1;
> \
>    ` if [ -f
> /mnt/lfs/sources/gcc-build/gcc/../binutils/ranlib ]
> ;
> then echo
> /mnt/lfs/sources/gcc-build/gcc/../binutils/ranlib ;
> else if
> [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then
> echo ranlib; else
> t='s,y,y,'; echo ranlib | sed -e $t ; fi; fi`
> stage1/libgcc_eh.a; \
> fi
> cp libgcc_s*.so stage1
> for f in .. ; do if [ x${f} != x.. ]; then \
>   cp stage1/${f} . ; \
> else true; \
> fi; done
> for dir in .  ; \
> do \
>   rm -f $dir/*.{gcda,gcno} ; \
> done
> make[2]: Leaving directory
> `/mnt/lfs/sources/gcc-build/gcc'
> echo timestamp > stage1_copy
> echo stage2_build > stage_last
> make CC=" stage1/xgcc -Bstage1/
> -B/tools/i686-pc-linux-gnu/bin/"
> CC_FOR_BUILD=" stage1/xgcc -Bstage1/
> -B/tools/i686-pc-linux-gnu/bin/"
> \
> 	 STAGE_PREFIX=stage1/ \
> 	 ADAFLAGS="" CFLAGS="-g -O2" LDFLAGS="-static"
> WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"
> STRICT_WARN="-pedantic
> -Wno-long-long -Wold-style-definition "
> libdir=/tools/lib LANGUAGES="c
> gcov gcov-dump " MAKEINFO="makeinfo
> --split-size=5000000"
> MAKEINFOFLAGS="--no-split" MAKEOVERRIDES=
> OUTPUT_OPTION="-o \$@" \
> 	 CFLAGS="-g -O2" WERROR="" 
> make[2]: Entering directory
> `/mnt/lfs/sources/gcc-build/gcc'
> stage1/xgcc -Bstage1/
> -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2
> -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long
> -Wold-style-definition  
>   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
> -I../../gcc-3.4.1/gcc
> -I../../gcc-3.4.1/gcc/.
> -I../../gcc-3.4.1/gcc/../include 
> ../../gcc-3.4.1/gcc/genmodes.c -o genmodes.o
> stage1/xgcc -Bstage1/
> -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2
> -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long
> -Wold-style-definition  
>   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
> -I../../gcc-3.4.1/gcc
> -I../../gcc-3.4.1/gcc/.
> -I../../gcc-3.4.1/gcc/../include 
> ../../gcc-3.4.1/gcc/errors.c -o errors.o
> stage1/xgcc -Bstage1/
> -B/tools/i686-pc-linux-gnu/bin/   -g -O2
> 
=== message truncated ===


link to deepan chakravarthy's resume: http://deepanchakravarthy.tk

-------------------------------------------
Center for Biotechnology,
Anna University,
Chennai,
India.
pin: 600025


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail



More information about the lfs-support mailing list