This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ecos strerror (i386)
- From: Robby Ku <robbyku at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 21 Jul 2002 21:54:57 -0700 (PDT)
- Subject: [ECOS] ecos strerror (i386)
Hi,
I got eCos built using i386 PC target. But i got
the following problem when i was building it:
make[1]: Entering directory `/c/Program Files/Red
Hat/eCos/ecos-work/i386_build/error/v1_3_1'
i386-elf-gcc -c
-I/C/PROGRA~1/REDHAT~1/eCos/ecos-work/i386_install/include
-I/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1
-I/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1/src
-I/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1/tests
-I.
-I/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1/src/
-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/strerror.tmp -o src/error_strerror.o
/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1/src/strerror.cxx
/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1/src/strerror.cxx:63:
`char*
strerror(int)' defined both normally and as an
alias
/C/PROGRA~1/REDHAT~1/eCos/packages/error/v1_3_1/src/strerror.cxx:63:
weak
declaration of `char* strerror(int)' must precede
definition
make[1]: *** [src/strerror.o.d] Error 1
make[1]: Leaving directory `/c/Program Files/Red
Hat/eCos/ecos-work/i386_build/error/v1_3_1'
make: *** [build] Error 2
Any one knows what is wrong??
Thanks!
Cheers,
Robby Ku
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss