Hi, I am actually trying to set up the Simulator, which turns out to be not so 
easy...

What I did:
I installed Xenomai 2.2.4 (kernel patches) with Kernel 2.6.17.14, on Debian 
3.1 using it's standard compiler gcc-3.3. Then I downgraded the compiler (I 
need to, if I want c++ to work with the simulator, right?)  to version 2.95 
and compiled and installed xenomai and xenosim, which seems to 
be ok.

Now I wanted to try out the Simulation on a very minimal project using the 
native skin. (I posted the source some days ago because of another problem)

What I got:
Calling 
        "gcc -I/usr/xenomai/include -g -c main.cpp " 
works without any problem, a following call 
        "gcc -o test main.o -lnative -L/usr/xenomai/lib"
works also with no problem.

But calling 
        "gcic -I/usr/xenomai/include -g -c main.cpp " 
leads to :

In file included from /usr/xenomai/include/nucleus/thread.h:23,
                 from /usr/xenomai/include/native/task.h:26,
                 from main.c:5:
/usr/xenomai/include/nucleus/timer.h: In function `xntlist_insert':
/usr/xenomai/include/nucleus/timer.h:80: syntax error before `xntlholder_t'
/usr/xenomai/include/nucleus/timer.h:80: syntax error before `->'
/usr/xenomai/include/nucleus/timer.h: At top level:
/usr/xenomai/include/nucleus/timer.h:144: syntax error before 
`XNARCH_DECL_DISPLAY_CONTEXT'
/usr/xenomai/include/nucleus/timer.h:144: warning: no semicolon at end of 
struct or union
--- snip ---

I really have no idea what to do, to fix this.

Thanks for any hint, 
greetings, Stephan

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to