EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Re: error building latest rtems
From: "Silver" <[email protected]>
To: "Daron Chabot" <[email protected]>
Cc: tech-talk <[email protected]>
Date: Mon, 28 Jun 2010 01:57:29 +0800
hi, Daron:

  It's ok now. I forgot to re-compile gcc just now.

======= At 2010-06-28, 01:01:00 you wrote: =======

>This is an RTEMS problem and should be directed at their mailing list:
>[email protected]
>
>You can configure rtems with --disable-posix (this may break things when
>trying to build EPICS though...), or apply the proper patch to
>newlib-1.18.0. You can find this patch in the latest rtems source:
>contrib/crossrpms/patches/newlib-1.18.0-rtems4.10-20100402.diff
>
><[email protected]>The problem is that you're using an incompatible
>patch for newlib-1.18.0. Maybe newlib-1.18.0-rtems4.10-20091218.diff from
>http://www.rtems.org/ftp/pub/rtems/SOURCES/4.10/ ??
>
>The latest rtems patch for newlib (not sure of the version) includes changes
>to the "sched_param" structure in libc/include/sys/sched.h, which the latest
>code in score/posix/src now expects.
>
>HTH
>
>
>-- dc
>
>On Sun, Jun 27, 2010 at 12:27 PM, Silver <[email protected]> wrote:
>
>> hi,
>>
>> I tried to build rtems cross-compile environment. When I tried to compile
>> the latest rtems (from CVS) with i386-rtems-gcc-4.4.2, I got the following
>> errors:
>> make[5]: Entering directory
>> `/usr/local/rtems/build/i386-rtems/c/pc386/cpukit/posix'
>> i386-rtems-gcc --pipe -DHAVE_CONFIG_H   -I..
>> -I../../cpukit/../../../pc386/lib/include -D__RTEMS_INSIDE__
>>  -Werror=overflow -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast
>> -mtune=i386 -O2 -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes
>> -Wnested-externs -MT src/libposix_a-pthread.o -MD -MP -MF
>> src/.deps/libposix_a-pthread.Tpo -c -o src/libposix_a-pthread.o `test -f
>> 'src/pthread.c' || echo
>> '../../../../../../rtems-4.10/c/src/../../cpukit/posix/'`src/pthread.c
>> ../../../../../../rtems-4.10/c/src/../../cpukit/posix/src/pthread.c: In
>> function '_POSIX_Threads_Sporadic_budget_TSR':
>> ../../../../../../rtems-4.10/c/src/../../cpukit/posix/src/pthread.c:82:
>> error: 'struct sched_param' has no member named 'sched_ss_init_budget'
>> ../../../../../../rtems-4.10/c/src/../../cpukit/posix/src/pthread.c:109:
>> error: 'struct sched_param' has no member named 'sched_ss_repl_period'
>> ../../../../../../rtems-4.10/c/src/../../cpukit/posix/src/pthread.c: In
>> function '_POSIX_Threads_Sporadic_budget_callout':
>> ../../../../../../rtems-4.10/c/src/../../cpukit/posix/src/pthread.c:132:
>> error: 'struct sched_param' has no member named 'sched_ss_low_priority'
>> make[5]: *** [src/libposix_a-pthread.o] Error 1
>> make[5]: Leaving directory
>> `/usr/local/rtems/build/i386-rtems/c/pc386/cpukit/posix'
>> make[4]: *** [all-recursive] Error 1
>> make[4]: Leaving directory
>> `/usr/local/rtems/build/i386-rtems/c/pc386/cpukit'
>> make[3]: *** [all] Error 2
>> make[3]: Leaving directory
>> `/usr/local/rtems/build/i386-rtems/c/pc386/cpukit'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/usr/local/rtems/build/i386-rtems/c/pc386'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/local/rtems/build/i386-rtems/c'
>> make: *** [all-recursive] Error 1
>> make: Leaving directory `/usr/local/rtems/build'
>> Does anyone has similiar problems? thanks a lot for your help.
>>
>>
>> Best regards
>> Geyang  2010-06-28
>>
>>
>>
>

= = = = = = = = = = = = = = = = = = = =
			

Best regards				 
Geyang 2010-06-28



References:
error building latest rtems Silver
Re: error building latest rtems Daron Chabot

Navigate by Date:
Prev: Re: error building latest rtems Daron Chabot
Next: error compiling base for rtems Silver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: error building latest rtems Daron Chabot
Next: error compiling base for rtems Silver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024