[ECOS] CYGBLD_ATTRIB_WEAK_ALIAS error !
firs
firschen@sohu.com
Wed Sep 22 17:41:00 GMT 2004
ecos-discuss!
when i build the ecos , i found every *.cxx with the defination "externC int
putc( int, FILE * ) CYGBLD_ATTRIB_WEAK_ALIAS(fputc);" got the error as the following:
/home/mips3.2/bin/mips-elf-gcc -c -I/ecos-d/cygwin/home/ecos/ecos-mips/install/include -I/ecos-d/cygwin/home/ecos/ecos-2.0/packages/language/c/libc/string/v2_0 -I/ecos-d/cygwin/home/ecos/ecos-2.0/packages/language/c/libc/string/v2_0/src -I
/ecos-d/cygwin/home/ecos/ecos-2.0/packages/language/c/libc/string/v2_0/tests -I. -I/ecos-d/cygwin/home/ecos/ecos-2.0/packages/language/c/libc/string/v2_0/src/ -mips32 -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual
-g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -fno-builtin -G0 -Wp,-MD,src/memchr.tmp -o src/language_c_libc_string_memchr.o ecos-d/cygwin/home/ecos/ecos-2.0/packages/language/c/libc/stri
ng/v2_0/src/memchr.cxx
/ecos-d/cygwin/home/ecos/ecos-2.0/packages/language/c/libc/string/v2_0/src/memchr.cxx:71: `void* memchr(const void*, int, unsigned int)' defined both normally and as an alias
i can't find out the reason , anybody could help me ?
best regards
firs
firschen@sohu.com
2004-09-22
More information about the Ecos-discuss
mailing list