[Bug 1009] New: error: ‘T_PRIMARY’ was not declared in this scope

http://bugs.orocos.org/show_bug.cgi?id=1009

Summary: error: ‘T_PRIMARY’ was not declared in this scope
Product: RTT
Version: 2.0-mainline
Platform: i386 Compatible
OS/Version: Xenomai 2.x
Status: NEW
Severity: normal
Priority: P3
Component: Build System
AssignedTo: orocos-dev [..] ...
ReportedBy: davide [dot] faconti [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

This error happens only when I try to compile using xenomai 2.6.1

Compiling against xenomai 2.5.4 is succesful.

Building CXX object
rtt/CMakeFiles/orocos-rtt-xenomai_dynamic.dir/os/xenomai/fosi_internal.cpp.o
/home/davide/Software/orocos-toolchain-2.5.0/rtt/rtt/os/xenomai/fosi_internal.cpp:
In function ‘int RTT::os::rtos_task_set_scheduler(RTOS_TASK*, int)’:
/home/davide/Software/orocos-toolchain-2.5.0/rtt/rtt/os/xenomai/fosi_internal.cpp:331:43:
error: ‘T_PRIMARY’ was not declared in this scope
/home/davide/Software/orocos-toolchain-2.5.0/rtt/rtt/os/xenomai/fosi_internal.cpp:340:43:
error: ‘T_PRIMARY’ was not declared in this scope
/home/davide/Software/orocos-toolchain-2.5.0/rtt/rtt/os/xenomai/fosi_internal.cpp:
In function ‘int RTT::os::rtos_task_wait_period(RTOS_TASK*)’:
/home/davide/Software/orocos-toolchain-2.5.0/rtt/rtt/os/xenomai/fosi_internal.cpp:402:34:
error: ‘T_PRIMARY’ was not declared in this scope
make[2]: ***
[rtt/CMakeFiles/orocos-rtt-xenomai_dynamic.dir/os/xenomai/fosi_internal.cpp.o]
Error 1
make[1]: *** [rtt/CMakeFiles/orocos-rtt-xenomai_dynamic.dir/all] Error 2
make: *** [all] Error 2

[Bug 1009] error: ‘T_PRIMARY’ was not declared in this scope

http://bugs.orocos.org/show_bug.cgi?id=1009

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |DUPLICATE

[Bug 1009] error: ‘T_PRIMARY’ was not declared in this scope

http://bugs.orocos.org/show_bug.cgi?id=1009

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |peter [..] ...
Resolution| |FIXED