Skip to contentSkip to conversation

Moving from 2.0 to 2.1

Xenomai-help Sean McGranaghan 2 participants 2 messages Dec 14, 2005

lore
Share & tools
lore
#0 lore raw

Hello all,

I have recently updated my source tree from 2.0.1 to the latest from trunk. I have run the prepare scripts and xconfig. (I am building a vanilla 2.6.12 kernel) I can see the new options in the kernel .config file. I can make and install my new kernel no problem. I then run configure and rebuild Xenomai, again no problem. After installing Xenomai I try to build my test application. Here I get link errors.

I am using the rt_task_send() / rt_task_receive() functions. I see that I need the CONFIG_XENO_OPT_NATIVE_MPS options in the Xenomai build to include the task send/recv function. After looking through the source I see that none of my NATIVE options appear in the xeno_config.h file. These options are enabled in the kernel .config file.

What am I missing? I am not an autoconf expert so any advice is appreciated.

Sean

#1 lore raw
Quoted 8 lines · Sean McGranaghan

Hello all,

I have recently updated my source tree from 2.0.1 to the latest from trunk. I have run the prepare scripts and xconfig. (I am building a vanilla 2.6.12 kernel) I can see the new options in the kernel .config file. I can make and install my new kernel no problem. I then run configure and rebuild Xenomai, again no problem. After installing Xenomai I try to build my test application. Here I get link errors.

I am using the rt_task_send() / rt_task_receive() functions. I see that I need the CONFIG_XENO_OPT_NATIVE_MPS options in the Xenomai build to include the task send/recv function. After looking through the source I see that none of my NATIVE options appear in the xeno_config.h file. These options are enabled in the kernel .config file.

What am I missing? I am not an autoconf expert so any advice is appreciated.

Nothing, my mistake. The user-space code may not depend on any kernel switch anymore. Fixed in the trunk (resync src/skins/native/task.c). Thanks.

Signature · 1 line
Philippe.