Title: Build problem on kernel 2.6.18 for ppc (rt_mutex_lock redefined)

Hi,

I am trying to build denx kernel version 2.6.18 (rc2) on a ppc (8260), and while  there are a few problems easily overcome, I am seeking advice on how to overcome the following build error.

   CC [M] kernel/xenomai/skins/native/module.o
In file included from kernel/xenomai/skins/native/module.c:41;
Include/xenomai/native/mutex.h:117: error: conflicting types for 'rt_mutex_lock'
Include/linux/rtmutex.h:88: error previous declaration of 'rt_mutex_lock' was here

….


I was previously using 2.6.15 and xenomai 2.2.3 and did not have any problems with the build. I tried disabling RT_MUTEX in the main kernel config, but I do not believe this is the correct way to go, and it did not fix the problem anyway.

Any ideas would be greatly appreciated.

BTW: another problem I had in both version was that the preparekernel script looks for ipipe.h in include/asm-powerpc, but the file is actually placed in include/asm-ppc, so the build reports that the kernel has not been patched. Simple fix, but thought I would add it here for the lists attention.

Sincerely

John Weston
Senetas PL

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to