Re: [Xenomai-core] revision 3882 breaks compilation of xenomai

2008-05-26 Thread Sebastian Smolorz
Gilles Chanteperdrix wrote:
 On Mon, May 26, 2008 at 5:44 PM, Sebastian Smolorz
 [EMAIL PROTECTED] wrote:
 Hello Gilles,

 with your last commit:
 Fix compilation with ucLibc

 I cannot build xenomai userland any more (at least when taking glibc).
 cyclictest fails with the following error:

 ../../skins/posix/.libs/libpthread_rt.so: undefined reference to `likely'
 ../../skins/posix/.libs/libpthread_rt.so: undefined reference to `unlikely'
 collect2: ld returned 1 exit status
 
 Ok. Could you try to add a #include nucleus/compiler.h in
 ksrc/skins/posix/cb_lock.h ?

Yes, that solves it.

-- 
Sebastian

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] revision 3882 breaks compilation of xenomai

2008-05-26 Thread Gilles Chanteperdrix
On Mon, May 26, 2008 at 5:44 PM, Sebastian Smolorz
[EMAIL PROTECTED] wrote:
 Hello Gilles,

 with your last commit:
 Fix compilation with ucLibc

 I cannot build xenomai userland any more (at least when taking glibc).
 cyclictest fails with the following error:

 ../../skins/posix/.libs/libpthread_rt.so: undefined reference to `likely'
 ../../skins/posix/.libs/libpthread_rt.so: undefined reference to `unlikely'
 collect2: ld returned 1 exit status

Ok. Could you try to add a #include nucleus/compiler.h in
ksrc/skins/posix/cb_lock.h ?

-- 
 Gilles

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core