xenomai_驱动开发问题解决

tut02-skeleton-app.c:(.text+0x54): undefined reference to `rt_task_shadow'
collect2: ld returned 1 exit status
make: *** [tut02-skeleton-app] Error 1

解决方法:

CFLAGS=-I/home/xxx/workdir/xenomaiWork/xenomai-2.6.1/xenomai-2.6.1/xenomailib/usr/xenomai/include    -lnative

在后面加上 -lnative

你可能感兴趣的:(xenomai_驱动开发问题解决)