This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: nt getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
- From: Bart Veer <bartv at ecoscentric dot com>
- To: davidofarrell at netscape dot net
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 25 Mar 2003 15:54:43 +0000 (GMT)
- Subject: Re: [ECOS] nt getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
- References: <5789E9B1.08A0F047.1D5EF107@netscape.net>
>>>>> "David" == davidofarrell <davidofarrell at netscape dot net> writes:
David> I tried to build a synthetic linux target as follows but
David> this error turns up ,can someone tell me what the problem
David> is ?
David> /home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx:129: '
David> int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
David> make[1]: *** [src/input/fgetc.o.d] Error 1
David> make[1]: Leaving directory `/home/eeidofl/ECOS/TEST/language/c/libc/stdio/current'
David> make: *** [build] Error 2
This is a bug in gcc, introduced sometime after 2.95.x and fixed in
3.2.1. You need to switch to an older or a newer compiler.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss