[ECOS] error while build tools in cygwin

adon@walkersun adon@walkersun.com
Mon Aug 21 01:43:00 GMT 2000


hi,
 
i have a new project which have to use TX3904 at cygwin 
envirenment. I followed the intruction in the document "Installing eCos under 
Windows" to build the GNUpro's utility. At the current situation, i could make 
the binutils.2.10. but I could not build gcc.2.95.2 and 
insight.5.0.
 
when i make the gcc, the system always promt error to me the 
following message:
 
==============================================
......
config/mips/elf.h:304: stray '\' in 
program config/mips/elf.h:305: parse error before string 
constant config/mips/elf.h:305: stray '\' in 
program config/mips/elf.h:306: warning: parameter names (without types) in 
function decl aration config/mips/elf.h:306: warning: data definition has 
no type or storage class config/mips/elf.h:306: stray '\' in 
program config/mips/elf.h:307: parse error before string 
constant config/mips/elf.h:307: warning: data definition has no type or 
storage class config/mips/elf.h:307: stray '\' in 
program config/mips/elf.h:311: stray '\' in program config/mips/elf.h:312: 
`func_ptr' undeclared here (not in a function) config/mips/elf.h:312: 
initializer element is not constant config/mips/elf.h:312: (near 
initialization for `__CTOR_LIST__[0]') config/mips/elf.h:315: parse error 
before `asm' config/mips/elf.h:315: stray '\' in 
program config/mips/elf.h:316: `func_ptr' undeclared here (not in a 
function) config/mips/elf.h:316: initializer element is not 
constant config/mips/elf.h:316: (near initialization for 
`__CTOR_END__[0]') config/mips/elf.h:316: parse error before 
`0' config/mips/elf.h:316: warning: data definition has no type or storage 
class config/mips/elf.h:319: stray '\' in program config/mips/elf.h:320: 
parse error before `__DTOR_LIST__' config/mips/elf.h:320: `func_ptr' 
undeclared here (not in a function) config/mips/elf.h:320: initializer 
element is not constant config/mips/elf.h:320: (near initialization for 
`__DTOR_LIST__[0]') config/mips/elf.h:323: parse error before 
`asm' config/mips/elf.h:323: stray '\' in program config/mips/elf.h:324: 
`func_ptr' undeclared here (not in a function) config/mips/elf.h:324: 
initializer element is not constant config/mips/elf.h:324: (near 
initialization for `__DTOR_END__[0]') config/mips/elf.h:324: parse error 
before `0' config/mips/elf.h:324: warning: data definition has no type or 
storage class In file included from 
system.h:32,                  
from 
cccp.c:23: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/stdio.h:142: 
conflict ing types for 
`fprintf' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/stdio.h:142: 
A parame ter list with an ellipsis can't match an empty parameter name list 
declaration. config/mips/elf.h:307: previous declaration of 
`fprintf' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/stdio.h:175: 
conflict ing types for 
`sprintf' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/stdio.h:175: 
A parame ter list with an ellipsis can't match an empty parameter name list 
declaration. config/mips/elf.h:232: previous declaration of 
`sprintf' make[1]: *** [cccp.o] Error 1 make[1]: Leaving directory 
`/src/gcc-2.95.2/gcc' make: *** [all-gcc] Error 2 make: Leaving directory 
`/src/gcc-2.95.2'
====================================================
 
what is wrong with me??? this is a new project, my boss ask me 
to evaluate eCos system, so could you tell me how to solve the tool build 
problem???
 
the cygwin version is
"@ /src/gcc-2.95.2"uname -a
CYGWIN_98-4.10 ADON'S DESKTOP 1.1.2(0.21/3/2) 2000-06-06 22:20 
i586 unknown the gcc of the cygwin 
is
"@ /src/gcc-2.95.2"gcc -v Reading specs from 
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs gcc version 2.95.2 19991024 
(release-2) adon chen
tkx



More information about the Ecos-discuss mailing list