All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] How to build user_space
@ 2012-06-05  7:31 wonder_code
  2012-06-05  7:34 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: wonder_code @ 2012-06-05  7:31 UTC (permalink / raw)
  To: Xenomai


I follow the steps of the README_INSTALL to build the user_space,but the programs in /usr/xenomai/bin can't run(clocktest,cyclictest).it says:
-ash:./clocktest:not found

My commomline as follow:
/usr/local/xenomai-2.6.0/configure CFLAGS="-march=armv6" LDFLAGS="-march=armv6" --build=i686-pc-linux-gnu --host=arm-linux

Is there anything wrong,waiting for reply 

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

* Re: [Xenomai] How to build user_space
  2012-06-05  7:31 wonder_code
@ 2012-06-05  7:34 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-05  7:34 UTC (permalink / raw)
  To: wonder_code; +Cc: Xenomai

On 06/05/2012 09:31 AM, wonder_code@sina.com wrote:
> 
> I follow the steps of the README_INSTALL to build the user_space,but the programs in /usr/xenomai/bin can't run(clocktest,cyclictest).it says:
> -ash:./clocktest:not found
> 
> My commomline as follow:
> /usr/local/xenomai-2.6.0/configure CFLAGS="-march=armv6" LDFLAGS="-march=armv6" --build=i686-pc-linux-gnu --host=arm-linux
> 
> Is there anything wrong,waiting for reply 

Have you run "make install" ?

-- 
                                                                Gilles.


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

* Re: [Xenomai] How to build user_space
@ 2012-06-05  7:45 wonder_code
  2012-06-05 10:10 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: wonder_code @ 2012-06-05  7:45 UTC (permalink / raw)
  To: Xenomai

yes,I did.And I have rebuilded the filesystem

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

* Re: [Xenomai] How to build user_space
  2012-06-05  7:45 [Xenomai] How to build user_space wonder_code
@ 2012-06-05 10:10 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-05 10:10 UTC (permalink / raw)
  To: wonder_code; +Cc: Xenomai

On 06/05/2012 09:45 AM, wonder_code@sina.com wrote:
> yes,I did.And I have rebuilded the filesystem

Ok. Please copy ldd on your target filesystem, replace the #! /bin/bash
at the top with #! /bin/ash

And show me the result of "ldd /usr/xenomai/bin/clocktest"

-- 
					    Gilles.


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

* Re: [Xenomai] How to build user_space
@ 2012-06-06  1:26 wonder_code
  2012-06-06  6:22 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: wonder_code @ 2012-06-06  1:26 UTC (permalink / raw)
  To: Xenomai

I have followed your steps to ldd clocktest,and the result as follow:
$           not a dymamic executable

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

* Re: [Xenomai] How to build user_space
  2012-06-06  1:26 wonder_code
@ 2012-06-06  6:22 ` Gilles Chanteperdrix
  2012-06-06  6:59   ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-06  6:22 UTC (permalink / raw)
  To: wonder_code; +Cc: Xenomai

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

-- 
                                                                Gilles.


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

* Re: [Xenomai] How to build user_space
@ 2012-06-06  6:47 Michael Trimarchi
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Trimarchi @ 2012-06-06  6:47 UTC (permalink / raw)
  To: wonder_code, Xenomai

Hi,

Can you use file on it?

Michael

wonder_code@sina.com ha scritto:

>I have followed your steps to ldd clocktest,and the result as follow:
>$           not a dymamic executable
>_______________________________________________
>Xenomai mailing list
>Xenomai@xenomai.org
>http://www.xenomai.org/mailman/listinfo/xenomai

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

* Re: [Xenomai] How to build user_space
  2012-06-06  6:22 ` Gilles Chanteperdrix
@ 2012-06-06  6:59   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-06  6:59 UTC (permalink / raw)
  To: wonder_code; +Cc: Xenomai

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.


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

end of thread, other threads:[~2012-06-06  6:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05  7:45 [Xenomai] How to build user_space wonder_code
2012-06-05 10:10 ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2012-06-06  6:47 Michael Trimarchi
2012-06-06  1:26 wonder_code
2012-06-06  6:22 ` Gilles Chanteperdrix
2012-06-06  6:59   ` Gilles Chanteperdrix
2012-06-05  7:31 wonder_code
2012-06-05  7:34 ` Gilles Chanteperdrix

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.