All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] undefined reference __xnarch_xchg_called_with_bad_pointer
@ 2006-02-28 14:24 Roderik_Wildenburg
  2006-02-28 14:48 ` Heikki Lindholm
  0 siblings, 1 reply; 2+ messages in thread
From: Roderik_Wildenburg @ 2006-02-28 14:24 UTC (permalink / raw)
  To: xenomai

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'

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



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

end of thread, other threads:[~2006-02-28 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 14:24 [Xenomai-help] undefined reference __xnarch_xchg_called_with_bad_pointer Roderik_Wildenburg
2006-02-28 14:48 ` Heikki Lindholm

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.