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]

CYGBLD_ATTRIB_WEAK_ALIAS error !


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

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