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]

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


I tried to build a synthetic linux target as follows but this 
error turns up ,can someone tell me what the problem is ?

U CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT, new inferred value 0
U CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE, new inferred value 16384
[eeidofl at localhost TEST]$ myec resolve 
[eeidofl at localhost TEST]$ myec check 
Target: linux
Template: default
No conflicts
[eeidofl at localhost TEST]$ myec --version ecosconfig 1.3.net (Mar 24 2003 17:29:23)
Copyright (c) 2002 Red Hat, Inc.
[eeidofl at localhost TEST]$ gcc -v-version gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[eeidofl at localhost TEST]$ uname -a Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002 i586 i586 i386 GNU/Linux
[eeidofl at localhost TEST]$ makels ecos.ecc
[eeidofl at localhost TEST]$ myec tree
.
.
..
gcc -c  -I/home/eeidofl/ECOS/TEST/install/include -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/tests -I. -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src/common/ -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/common/vsscanf.tmp -o src/common/language_c_libc_stdio_vsscanf.o /home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src/common/vsscanf.cxx
gcc -c  -I/home/eeidofl/ECOS/TEST/install/include -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/tests -I. -I/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src/input/ -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/input/fgetc.tmp -o src/input/language_c_libc_stdio_fgetc.o /home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx
/home/eeidofl/ECOS/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx:129: `
   int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
make[1]: *** [src/input/fgetc.o.d] Error 1
make[1]: Leaving directory `/home/eeidofl/ECOS/TEST/language/c/libc/stdio/current'
make: *** [build] Error 2

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455

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