revision 3882 breaks compilation of xenomai
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
Signature · 1 line
Sebastian
Quoted 11 lines · Sebastian Smolorz
Hello Gilles,
with your last commit:
Fix compilation with ucLibcI 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 tounlikely'
collect2: ld returned 1 exit status
Ok. Could you try to add a #include <nucleus/compiler.h> in ksrc/skins/posix/cb_lock.h ?
Signature · 1 line
Gilles
Quoted 10 lines · Gilles Chanteperdrix
Quoted 8 lines · Sebastian Smolorz
Hello Gilles,
with your last commit:
Fix compilation with ucLibcI cannot build xenomai userland any more (at least when taking glibc). cyclictest fails with the following error:
Quoted 6 lines
Quoted 3 lines
../../skins/posix/.libs/libpthread_rt.so: undefined reference to
likely' ../../skins/posix/.libs/libpthread_rt.so: undefined reference tounlikely'
collect2: ld returned 1 exit statusOk. Could you try to add a #include <
nucleus/compiler.h> inksrc/skins/posix/cb_lock.h?
Yes, that solves it.
Signature · 1 line
Sebastian