This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Some problems solved, new problems...


> Hello,
> 
> I followed to the compile guide on
> http://sources.redhat.com/ecos/tools/win-i386-elf.html I have made an
> crosscompiler for the i386 platform (elf). But on a certain point (
> make -w all-gcc install-gcc \ 
> LANGUAGES="c c++" 2>&1 | tee make.out )
>  I receive an error message from make. Can anyone help me, how I can solve
> the problem.
> 
> - Operating System: Windows2000 (Service Pack 1)
> - Machine: Pentium II 350MHz
> - Cygwin version: 1.1.8
> - Binutils version: 2.10.1
> - Gcc version: 2.95.2-6
> - Source code for the gcc of the cross compiler is version: 2.95.2
> 
> 
> At the point where the error happens I receive the following messages:
> 
> 
> for file in .. /src/gcc/gcc-2.95.2/gcc/ginclude/stdarg.h
> /src/gcc/gcc-2.95.2/gcc
> /ginclude/stddef.h /src/gcc/gcc-2.95.2/gcc/ginclude/varargs.h
> /src/gcc/gcc-2.95.
> 2/gcc/ginclude/va-alpha.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-h8300.h
> /src/gcc/g
> cc-2.95.2/gcc/ginclude/va-i860.h
> /src/gcc/gcc-2.95.2/gcc/ginclude/va-i960.h /src
> /gcc/gcc-2.95.2/gcc/ginclude/va-mips.h
> /src/gcc/gcc-2.95.2/gcc/ginclude/va-m88k.
> h /src/gcc/gcc-2.95.2/gcc/ginclude/va-mn10200.h
> /src/gcc/gcc-2.95.2/gcc/ginclude
> /va-mn10300.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-pa.h
> /src/gcc/gcc-2.95.2/gcc/g
> include/va-pyr.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-sparc.h
> /src/gcc/gcc-2.95.2
> /gcc/ginclude/va-clipper.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-spur.h
> /src/gcc/g
> cc-2.95.2/gcc/ginclude/va-m32r.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-sh.h
> /src/g
> cc/gcc-2.95.2/gcc/ginclude/va-v850.h
> /src/gcc/gcc-2.95.2/gcc/ginclude/va-arc.h /
> src/gcc/gcc-2.95.2/gcc/ginclude/iso646.h
> /src/gcc/gcc-2.95.2/gcc/ginclude/va-ppc
> .h /src/gcc/gcc-2.95.2/gcc/ginclude/va-c4x.h
> /src/gcc/gcc-2.95.2/gcc/cp/inc/typ
> einfo /src/gcc/gcc-2.95.2/gcc/cp/inc/exception
> /src/gcc/gcc-2.95.2/gcc/cp/inc/ne
> w /src/gcc/gcc-2.95.2/gcc/cp/inc/new.h
> /src/gcc/gcc-2.95.2/gcc/ginclude/proto.h
> /src/gcc/gcc-2.95.2/gcc/ginclude/stdbool.h; do \
>   if [ X$file != X.. ]; then \
>     realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
>     touch include/$realfile; \
>     rm -f include/$realfile; \
>     cp $file include; \
>     chmod a+r include/$realfile; \
>   fi; \
> done
> rm -f include/limits.h
> cp xlimits.h include/limits.h
> chmod a+r include/limits.h
> rm -f include/float.h
> if [ xfloat-i64.h != xMakefile.in ]; then \
>   cp /src/gcc/gcc-2.95.2/gcc/config/float-i64.h include/float.h && \
>   chmod a+r include/float.h; \
> else :; fi
> rm -f include/README
> cp /src/gcc/gcc-2.95.2/gcc/README-fixinc include/README
> chmod a+r include/README
> touch stmp-int-hdrs
> if [ -f libgcc2.ready ] ; then \
>         true; \
> else \
>         touch libgcc2.ready; \
> fi
> case " c c++ " in \
> *" "[cC]"++ "*) \
>   echo tinfo.o tinfo2.o new.o opnew.o opnewnt.o opvnew.o opvnewnt.o
> opdel.o opde
> lnt.o opvdel.o opvdelnt.o exception.o > cplib2.new;; \
> *) \
>   echo "" > cplib2.new;; \
> esac
> mv -f cplib2.new cplib2.txt
> rm -f tmplibgcc2.a
> for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
> _ashldi3
> _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf
> _floatdisf
>  _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi
> _fixxfdi _fix
> unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp
> _varar
> gs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit
> _ctors _pur
> e; \
> do \
>   echo ${name}; \
>   /tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
> -B/tools/H-i686-pc-cygwin/i386-e
> lf/bin/ -I/tools/H-i686-pc-cygwin/i386-elf/include -O2  -DCROSS_COMPILE
> -DIN_GCC
>      -g -O2 -I./include    -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> -Dinhibit_
> libc  -I. -I/src/gcc/gcc-2.95.2/gcc -I/src/gcc/gcc-2.95.2/gcc/config
> -I/src/gcc/
> gcc-2.95.2/gcc/../include -c -DL${name} \
>        /src/gcc/gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
>   if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>   i386-elf-ar rc tmplibgcc2.a ${name}.o; \
>   rm -f ${name}.o; \
> done
> _muldi3
> In file included from tm.h:5,
>                  from /src/gcc/gcc-2.95.2/gcc/config/i386/xm-i386.h:43,
>                  from tconfig.h:5,
>                  from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:33:
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:36: warning:
> `TARGET_DEFAULT' rede
> fined
> /src/gcc/gcc-2.95.2/gcc/config/i386/unix.h:136: warning: this is the
> location of
>  the previous definition
> In file included from tm.h:5,
>                  from /src/gcc/gcc-2.95.2/gcc/config/i386/xm-i386.h:43,
>                  from tconfig.h:5,
>                  from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:33:
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:43: parse error before `=='
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:62: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:62: parse error before `)'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:77: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:77: parse error before `)'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:81: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:86: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:94: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:94: parse error before `)'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:98: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:99: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:104: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:105: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:116: parse error before
> string con
> stant
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:116: warning: data
> definition has
> no type or storage class
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: `_ascii_bytes'
> undeclared her
> e (not in a function)
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: `LENGTH' undeclared
> here (not
>  in a function)
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: initializer element is
> not co
> nstant
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: register name not
> specified f
> or `limit'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:209: register name not
> specified f
> or `bytes_in_chunk'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:210: parse error before
> `for'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:216: conflicting types for
> `bytes_
> in_chunk'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:209: previous declaration of
> `byte
> s_in_chunk'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:216: warning: data
> definition has
> no type or storage class
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:217: parse error before `}'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:225: redefinition of
> `bytes_in_chu
> nk'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:216: `bytes_in_chunk'
> previously d
> efined here
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:225: warning: data
> definition has
> no type or storage class
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:226: parse error before `}'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: register name not
> specified f
> or `ch'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: conflicting types for
> `ch'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: previous declaration of
> `ch'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: `_limited_str'
> undeclared her
> e (not in a function)
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: warning: data
> definition has
> no type or storage class
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `++'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `('
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:228: `p' undeclared here
> (not in a
>  function)
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:228: warning: data
> definition has
> no type or storage class
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:229: parse error before `}'
> /src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:236: parse error before `('
> In file included from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:45:
> /src/gcc/gcc-2.95.2/gcc/machmode.h:138: warning: parameter has incomplete
> type
> /src/gcc/gcc-2.95.2/gcc/machmode.h:142: warning: parameter has incomplete
> type
> make[1]: *** [libgcc2.a] Error 1
> make[1]: Leaving directory `/tmp/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/tmp/build/gcc'
> 
> Thanks for any hint!

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]