All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] error with rt_pipe
@ 2012-03-26 18:11 Daniele
  2012-03-26 18:52 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Daniele @ 2012-03-26 18:11 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1940 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-26 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 18:11 [Xenomai-help] error with rt_pipe Daniele
2012-03-26 18:52 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.