I made some progress. I try to compile it manualy and found that the include
path for xenomai headers is:
~/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/image/usr/include/xenomai

But I get an error from linker:

li...@linus-desktop:~/xenoTest$ gcc
-I/home/linus/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/image/usr/include/xenomai
-L/home/linus/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/install/xenomai/usr/lib
*.c -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -lpthread
/tmp/ccxU3FTz.o: In function `alarm_server':
main.c:(.text+0x24): undefined reference to `rt_alarm_wait'
/tmp/ccxU3FTz.o: In function `cleanup':
main.c:(.text+0x88): undefined reference to `rt_alarm_delete'
main.c:(.text+0x90): undefined reference to `rt_task_delete'
/tmp/ccxU3FTz.o: In function `main':
main.c:(.text+0xf0): undefined reference to `rt_alarm_create'
main.c:(.text+0x11c): undefined reference to `rt_alarm_start'
main.c:(.text+0x140): undefined reference to `rt_task_create'
main.c:(.text+0x164): undefined reference to `rt_task_start'
collect2: ld returned 1 exit status
li...@linus-desktop:~/gumstix/gumstix-oe/user.collection/packages/xenoTest/files$


On Fri, Oct 2, 2009 at 2:52 PM, Linus Casassa <[email protected]> wrote:

> Does anyone have a .bb example file?
>
> xeno-config does not exist in bitbake so I get:
> native/task.h: No such file or directory
>
> Thanks for the help.
>
> --
> Linus Casassa
> Estudiante Ingeniería Civil Electrónica
> Fono: 56-9-97776941
>



-- 
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to