This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
building c library package..using eCos Configuration tool 1.3.1
- From: Satish Kumar <satishkumar at sanyo dot co dot in>
- To: "'jlarmour at cygnus dot co dot uk'" <jlarmour at cygnus dot co dot uk>
- Cc: "'jld at cygnus dot co dot uk'" <jld at cygnus dot co dot uk>, "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 5 Sep 2002 11:08:18 +0530
- Subject: [ECOS] building c library package..using eCos Configuration tool 1.3.1
Hi,
I am facing problems in building the C library package for
the Arm evaluation board, using the eCos configuration tool version
1.3.1. following is a jist of the output window while building the eCos
library..
make[1]: Entering directory
`/D/ecos_testpgms/ecos5_build/language/c/libc/v1_3_1'
arm-elf-gcc -c -I/D/ecos_testpgms/ecos5_install/include
-I/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1
-I/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/src
-I/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/tests -I.
-I/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/src/ctype/
-mcpu=arm7di -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/ctype/isalnum.tmp -o
src/ctype/language_c_libc_isalnum.o
/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/src/ctype/isalnum.
cxx
/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/src/ctype/isalnum.
cxx:76: `
int isalnum(int)' defined both normally and as an alias
/D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/src/ctype/isalnum.
cxx:76: weak
declaration of `int isalnum(int)' must precede definition
make[1]: *** [src/ctype/isalnum.o.d] Error 1
make[1]: Leaving directory
`/D/ecos_testpgms/ecos5_build/language/c/libc/v1_3_1'
make: *** [build] Error 2
*** Process 1124 terminated (rc=2)
*** Killing process 1124 (TerminateProcess)
here, the error says that the weak declarations should be preceded by
definition..i don't understand this error statement , kindly help me out
with the solution at the earliest.
hoping for a positive responce.
thanks
satish
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss