All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heikki Lindholm <holindho@domain.hid>
To: Roderik_Wildenburg@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] undefined reference	__xnarch_xchg_called_with_bad_pointer
Date: Tue, 28 Feb 2006 16:48:13 +0200	[thread overview]
Message-ID: <440462AD.5050908@domain.hid> (raw)
In-Reply-To: <5D63919D95F87E4D9D34FF7748CE2C2A1C3DA2@domain.hid>

Roderik_Wildenburg@domain.hid kirjoitti:
> 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 ?

You might also want to read the comment near the extern declaration of 
the function in atomic.h, where it says that the function is not even 
intended to be implemented. The error means somebody called *atomic_xchg 
with wrong arguments (or there's something else wrong like inlines not 
working).

-- Heikki Lindholm


      reply	other threads:[~2006-02-28 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=440462AD.5050908@domain.hid \
    --to=holindho@domain.hid \
    --cc=Roderik_Wildenburg@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.