Hi I have these errors when I'm trying to make an example of pipe cc -I/usr/include/xenomai -D_GNU_SOURCE -D_REENTRANT -Wall -Werror-implicit-function-declaration -pipe -D__XENO__ test_pipe.c -lnative -L/usr/lib -lxenomai -lpthread -lrt -lrtdm -lpthread -Xlinker -rpath /usr/lib -o test_pipe test_pipe.c: In function ‚'task_body‚': test_pipe.c:33: error: 'RT_PIPE_MSG' undeclared (first use in this function) test_pipe.c:33: error: (Each undeclared identifier is reported only once test_pipe.c:33: error: for each function it appears in.) test_pipe.c:33: error: 'msgout' undeclared (first use in this function) test_pipe.c:33: error: 'msgin' undeclared (first use in this function) test_pipe.c:33: warning: left-hand operand of comma expression has no effect test_pipe.c:42: error: implicit declaration of function 'rt_pipe_alloc' test_pipe.c:44: error: implicit declaration of function ‚'fail' test_pipe.c:46: error: implicit declaration of function 'RT_PIPE_MSGPTR' test_pipe.c:47: error: implicit declaration of function 'rt_pipe_send' test_pipe.c:50: error: implicit declaration of function 'rt_pipe_receive' test_pipe.c:52: error: 'n' undeclared (first use in this function) test_pipe.c:53: error: continue statement not within a loop test_pipe.c:58: error: continue statement not within a loop test_pipe.c:62: error: implicit declaration of function 'P_MSGPTR' test_pipe.c:62: error: implicit declaration of function 'P_MSGSIZE' test_pipe.c:64: error: implicit declaration of function 'rt_pipe_free'
thanks Daniele
_______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help