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]

Re: building c library package..using eCos Configuration tool 1.3.1



There error comes from GCC3.x. This is not the recommended tool chain
for ARM. You should be using a gcc 2.x tool chain as documented on the
Installation instructions.

Secondly, 1.3.1 is very, very old. I suggest you update to the latest
version using anoncvs. You may then find that gcc 3.x does work, but
its still not the recommended tool chain so you may still get problems
with it.
     
     Andrew

On Thu, Sep 05, 2002 at 11:08:18AM +0530, Satish Kumar wrote:
> 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
> 

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