build rtems-4.8 error

Joel Sherrill joel.sherrill at OARcorp.com
Sun Sep 28 23:56:25 UTC 2008


Ralf Corsepius wrote:
> On Sun, 2008-09-28 at 11:59 +0800, 朱旭峰 wrote:
>   
>> hi all:
>>       I met following errors when I built rtems-4.8.The commands I
>> used were:
>>
>>        command:  ../rtems-4.6.6-1.0.0/configure --target=sparc-rtems
>>                           gmake RTEMS_BSP="arc810"
>>        errors:
>> sparc-rtems-gcc --pipe -DHAVE_CONFIG_H   -I../../..
>> -I../../../../cpukit/../../../leon3/lib/include  -Wall -fasm
>> -mcpu=cypress -msoft-float -O2 -g -MT libscorecpu_a-cpu.o -MD -MP
>> -MF .deps/libscorecpu_a-cpu.Tpo -c -o libscorecpu_a-cpu.o `test -f
>> 'cpu.c' || echo
>> '../../../../../../../../rtems-4.8/c/src/../../cpukit/score/cpu/sparc/'`cpu.c
>> In file included
>> from ../../../../../../leon3/lib/include/rtems/score/cpu.h:28,
>>
>> from ../../../../../../leon3/lib/include/rtems/system.h:162,
>>
>> from ../../../../../../../../rtems-4.8/cpukit/score/cpu/sparc/cpu.c:14:
>> ../../../../../../leon3/lib/include/rtems/score/types.h:34: syntax
>> error before "Priority_Bit_map_control"
>> ../../../../../../leon3/lib/include/rtems/score/types.h:34: warning:
>> type defaults to`int' in declaration of `Priority_Bit_map_control'
>>
>>       so,anyone can give some tips?
>>     
>
> Your toolchain is likely outdated or broken. It doesn't seem to support
> stdint.h
>
>   
It seems very confused and out of date.  The RTEMS
version indicates 4.6.6-1.0.0 and the sparc-rtems-gcc is reporting
something about rtems 4.8 in the messages. 

This looks like Gaisler's 4.8 toolset binary and 4.6
RTEMS distribution.  Definitely not a good match.

What is the arc810?

Any chance of updating to something recent with
standard RPMs for the binaries from rtems.org?
> Ralf
>
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list