From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: wonder_code@sina.com
Cc: Xenomai <Xenomai@xenomai.org>
Subject: Re: [Xenomai] How to build user_space
Date: Wed, 06 Jun 2012 08:59:33 +0200 [thread overview]
Message-ID: <4FCEFFD5.6050105@xenomai.org> (raw)
In-Reply-To: <4FCEF71D.7050704@xenomai.org>
On 06/06/2012 08:22 AM, Gilles Chanteperdrix wrote:
> On 06/06/2012 03:26 AM, wonder_code@sina.com wrote:
>> I have followed your steps to ldd clocktest,and the result as follow:
>> $ not a dymamic executable
>
> Ok. You probably picked the wrong ldd. You should have used the
> toolchain ldd. Try that instead:
>
> LD_TRACE_LOADED_OBJECTS=1 /usr/bin/clocktest
>
There are several way your installation could be wrong:
- you could be using a root filesystem with versions of the libraries
different from the ones with which the toolchain linked xenomai
binaries. For instance, your root filesystem could use
/lib/ld-linux.so.2 while your toolchain is using /lib/ld-linux.so.3. The
solution to this is to use, for the libc libraries, the ones used by
your toolchain.
- you could have a mismatch between the EABI setting of your kernel, and
the EABI setting of the toolchain, for instance, the kernel is compiled
without EABI, whereas you are using an EABI toolchain. But for such a
system to be able to boot, the root filesystem must have been built with
a toolchain different from the one you use to build xenomai.
--
Gilles.
next prev parent reply other threads:[~2012-06-06 6:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-06 1:26 [Xenomai] How to build user_space wonder_code
2012-06-06 6:22 ` Gilles Chanteperdrix
2012-06-06 6:59 ` Gilles Chanteperdrix [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-06-06 6:47 Michael Trimarchi
2012-06-05 7:45 wonder_code
2012-06-05 10:10 ` Gilles Chanteperdrix
2012-06-05 7:31 wonder_code
2012-06-05 7:34 ` Gilles Chanteperdrix
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=4FCEFFD5.6050105@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=Xenomai@xenomai.org \
--cc=wonder_code@sina.com \
/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.