Dear Gurus,

I have compiled ppc(!)-xenomai with debug information (configure 
--enable-debug), so far so good (compiling of xenomai itself and it´s 
libraries, testsuite etc. was successful).  
Buuuut ..., when compiling the vxWorks-demos (ksrc/skins/vxworks/demos/*.c), I 
get an error message about an undefined refernce 
__xnarch_xchg_called_with_bad_pointer. I searched for this mysterious function, 
but could only find it in asm-powerpc/atomic.h, where it is declared as 
external (extern void __xnarch_xchg_called_with_bad_pointer(void);).

Does anybody know, where I can get the implementation of this function, or what 
I have to do else to get rid of the error message ?

Thank you
Roderik

----------------------------------
> make
ppc-linux-gcc -g -o satch satch.c -I. 
-I/home/arowil/mc45/xenomai/_install/include -g -D_GNU_SOURCE -D_REENTRANT 
-D__XENO__ -Wall -pipe -D__XENO_UVM__  -u__xeno_skin_init 
-L/home/arowil/mc45/xenomai/_install/lib -luvm -lnucleus -lpthread -lvxworks 
/home/arowil/mc45/xenomai/_install/lib/libnucleus.a(module.o)(.text+0x9d0): In 
function `__xchg':
../../src/include/asm/xenomai/atomic.h:162: undefined reference to 
`__xnarch_xchg_called_with_bad_pointer'
/home/arowil/mc45/xenomai/_install/lib/libnucleus.a(module.o)(.text+0x9d0):../../src/include/asm/xenomai/atomic.h:162:
 relocation truncated to fit: R_PPC_REL24 __xnarch_xchg_called_with_bad_pointer
/home/arowil/mc45/xenomai/_install/lib/libnucleus.a(pod.o)(.text+0x6974): In 
function `__xchg':
../../src/include/asm/xenomai/atomic.h:162: undefined reference to 
`__xnarch_xchg_called_with_bad_pointer'

--------------------------------------


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

Reply via email to