From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?big5?B?Y2d1d2luZHM=?=" To: "" Subject: [ECOS] =?big5?B?RXJyb3IgYWJvdXQgYnVpbGQgYW5kIGluc3RhbGwg?==?big5?B?R0NDIHVuZGVyIGkzODY=?= Date: Tue, 24 Jul 2001 19:46:00 -0000 Message-id: <996029157.5103.cguwinds@mail2000.com.tw> X-SW-Source: 2001-07/msg00768.html Thank's Jifl to reply the "Warning about Building the tools". But when I redirect the output to the file,I find that there are still some errors that made the GCC unsuccessful. How to solve it? ================================================================== /* http://sources.redhat.com/ecos/tools/win-i386-elf.html */ 4.Build and install GCC: make -w all-gcc install-gcc \ LANGUAGES="c c++" 2>&1 | tee make.out ================================================================== 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: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' ----== Mailed via Openfind ==----- http://mail2000.com.tw/ ´£¨Ñ§K¶O¹q¤l¶l¥ó«H½c