No change. I've pasted the full output with used Makefile here: http://pastebin.ca/698972
My guess is that some header is missing or other support missing? thanks. /BK On 16/09/2007, Philippe Gerum <[EMAIL PROTECTED]> wrote: > On Sat, 2007-09-15 at 21:55 +0200, Bachman Kharazmi wrote: > > Hi Philippe, > > > > I'm testing the snippet example code from: > > http://svn.gna.org/viewcvs/xenomai/trunk/ksrc/skins/native/snippets/pipe.c?rev=525&view=markup > > without touching the code at all. > > Redirected to xenomai-help. Please always use the mailing list for such > questions. > > > > > But there seem to be issues during compile :/ > > sandbox:/home/bkw/code/driver_v5# make > > gcc -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__ > > -L/usr/xenomai/lib -lpthread -lnative -lrtdm -Xlinker -rpath -Xlinker > > /usr/xenomai/lib simpledriver_v5.c -o simpledriver_v5 > > simpledriver_v5.c:47: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'task_desc' > > simpledriver_v5.c: In function 'task_body': > > simpledriver_v5.c:51: error: 'RT_PIPE_MSG' undeclared (first use in > > this function) > > simpledriver_v5.c:51: error: (Each undeclared identifier is reported only > > once > > simpledriver_v5.c:51: error: for each function it appears in.) > > simpledriver_v5.c:51: error: 'msgout' undeclared (first use in this > > function) > > simpledriver_v5.c:51: error: 'msgin' undeclared (first use in this function) > > simpledriver_v5.c:69: warning: passing argument 1 of 'strcpy' makes > > pointer from integer without a cast > > simpledriver_v5.c:74: error: 'msg' undeclared (first use in this function) > > simpledriver_v5.c: At top level: > > simpledriver_v5.c:81: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'init_module' > > simpledriver_v5.c: In function 'cleanup_module': > > simpledriver_v5.c:106: error: 'task_desc' undeclared (first use in > > this function) > > make: *** [simpledriver_v5] Error 1 > > > > Is the purpose that the example code should be more or less compilable? > > > > No, as you can see, it looks like a boilerplate, basically because...it > is a boilerplate. > > Here is a compilable one, made of two separate items: a kernel module, > and a userland program, both communicating through a message pipe. > Finding what this example does and how to compile it is left to your > interpretation. > > > > thanks, > > Bachman > -- > Philippe. > > > _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
