Wolfgang Grandegger wrote:
> Hi Niklaus,
> 
> I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> of Xenomai and I cannot reproduce your problem. In you linker path there
> are no Xenomai objects. How does it come? Do you use --arch=ppc with
> prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
> 

The problem pops up with CONFIG_XENO_OPT_SCALABLE_SCHED.

The definition of xnlogerr is not visible to queue.h, namely to the
inline function getmlq. Here is possible solution at XENO_ASSERT level.

Jan
Index: include/nucleus/assert.h
===================================================================
--- include/nucleus/assert.h    (revision 1930)
+++ include/nucleus/assert.h    (working copy)
@@ -27,7 +27,7 @@
 #define XENO_ASSERT(subsystem,cond,action)  do { \
     if (unlikely(CONFIG_XENO_OPT_DEBUG_##subsystem > 0 && !(cond))) { \
         xnarch_trace_panic_freeze(); \
-        xnlogerr("assertion failed at %s:%d (%s)\n", __FILE__, __LINE__, 
(#cond)); \
+        xnarch_logerr("assertion failed at %s:%d (%s)\n", __FILE__, __LINE__, 
(#cond)); \
         xnarch_trace_panic_dump(); \
         action; \
     } \

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to