This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nt getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias


>>>>> "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


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