CD build with ACE problems

Jack Cawkwell J.Cawkwell at open.ac.uk
Tue Mar 18 13:56:45 UTC 2003


Joel,

The only rpm's I have are from the cd-working tree. And I got the
version numbers but executing with the --version flag. I am pretty
sure that the rtems version is the one from the cd. Is there a
way of checking that, other than inspecting the rtems code tree.

Should I check the version of any of the other tools?

Jack

Joel Sherrill <joel.sherrill at oarcorp.com> writes:
>
>
>Jack Cawkwell wrote:
>> 
>> Hi,
>> 
>> I am trying to build ACE under rtems, but I have problems.
>> The first file that is compiled reports an error because
>> clockid_t is not defined. Is this a common compilation
>> problem with an obvious solution? It appears to me that the
>> compiler gets into a state where it can nolonger parse
>> legal code in :
>> 
>> /opt/rtems/i386-rtems/include/sys/types.h circa line 245
>> 
>> if I add
>> 
>>         typedef anything int;
>> 
>> before the offending line:
>> 
>>         typedef _CLOCKID_T clockid_t;
>> 
>> it fails on the added line, which should compile just about anywhere?
>> 
>> i386-rtems-g++ and
>> i386-rtems-cpp newlib-1.11.0-20030203 2
>> 
>> I am using ACE version 5.3, the latest stable, it is much more
>> recent that the 5.1.14 that was previously compiled.
>> 
>> Any ideas? Jack
>
>This usually indicates that the C library and RTEMS are out of sync.
>It used to occur when transitioning from a 4.5.0 toolset to a
>snapshot one.  Are you sure about which version of the tools you
>are using?
>
>--joel
>








More information about the users mailing list