Skip to contentSkip to conversation

How to build user_space

Xenomai [email protected] 2 participants 3 messages Jun 6, 2012

lore
Share & tools
lore
#0 lore raw

I have followed your steps to ldd clocktest,and the result as follow:

$           not a dymamic executable
#1 lore raw
Quoted 2 lines · On 06/06/2012 03:26 AM, [email protected] 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

Signature · 1 line
                                                                Gilles.
#2 lore raw
Quoted 9 lines · Gilles Chanteperdrix
Quoted 2 lines · On 06/06/2012 03:26 AM, [email protected] 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.

Signature · 1 line
                                                                Gilles.