All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] revision 3882 breaks compilation of xenomai
@ 2008-05-26 15:44 Sebastian Smolorz
  2008-05-26 15:48 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Smolorz @ 2008-05-26 15:44 UTC (permalink / raw)
  To: Gilles Chanteperdrix, xenomai-core

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

-- 
Sebastian


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] revision 3882 breaks compilation of xenomai
  2008-05-26 15:44 [Xenomai-core] revision 3882 breaks compilation of xenomai Sebastian Smolorz
@ 2008-05-26 15:48 ` Gilles Chanteperdrix
  2008-05-26 15:54   ` Sebastian Smolorz
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2008-05-26 15:48 UTC (permalink / raw)
  To: Sebastian Smolorz; +Cc: xenomai-core

On Mon, May 26, 2008 at 5:44 PM, Sebastian Smolorz
<smolorz@domain.hid> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] revision 3882 breaks compilation of xenomai
  2008-05-26 15:48 ` Gilles Chanteperdrix
@ 2008-05-26 15:54   ` Sebastian Smolorz
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Smolorz @ 2008-05-26 15:54 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

Gilles Chanteperdrix wrote:
> On Mon, May 26, 2008 at 5:44 PM, Sebastian Smolorz
> <smolorz@domain.hid> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-26 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 15:44 [Xenomai-core] revision 3882 breaks compilation of xenomai Sebastian Smolorz
2008-05-26 15:48 ` Gilles Chanteperdrix
2008-05-26 15:54   ` Sebastian Smolorz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.