All of lore.kernel.org
 help / color / mirror / Atom feed
From: sanjay anvekar <sanjayanvekar@domain.hid>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai-help] help-IntelAtom
Date: Tue, 31 May 2011 22:35:08 -0700 (PDT)	[thread overview]
Message-ID: <528683.58306.qm@domain.hid> (raw)

[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]

Hi,
     I am facing problem running Xenomai test programs and it gives me following error.
>clocktest
>/usr/xenomai/bin/clocktest: error while loading shared libraries: /usr/xenomai/lib/libpthread_rt.so.1: ELF file OS ABI invalid

similar error is seen when I try to run latency or any other Xenomai test program.


I am using Xenomai 2.5.6 patched to Kernel 2.6.37. When I do uname and dmesg following are the output

>uname -a

Linux (none) 2.6.37-ipipe #2 SMP PREEMPT Mon May 30 15:28:24 IST 2011 i686 unknown

>dmesg | grep I-pipe

[    0.000] I-pipe 2.9-0: pipeline enabled.
[    2.330] I-pipe: Domain Xenomai registered.

>dmesg | grep Xenomai
[    2.330] I-pipe: Domain Xenomai registered.
[    2.336] Xenomai: hal/i36 started.
[    2.339] Xenomai: scheduling class idle registered.
[    2.330] Xenomai: scheduling class rt registered.
[    2.302] Xenomai: real-time nucleus v2.5.6 (Wormhole Wizards) loaded.
[    2.307] Xenomai: SMI-enabled chipset found
[    2.309] Xenomai: SMI workaround enabled
[    2.305] Xenomai: starting native API services.
[    2.306] Xenomai: starting POSIX services.
[    2.302] Xenomai: starting RTDM services.

What I tried-
- Tried setting LD_LIBRARY_PATH=/usr/xenomai/lib/
- Tried rebuilding xenomai with
     --enable-x86-sep --enable-smp --host=i686-linux CFLAGS="-m32 -O2" LDFLAGS="-m32" option
    and also only --enable-x86-sep --enable-smp options

- Tried building and running 'rtprint' example program and had same error.
- Tried to statically link the 'rtprint' example program and got following error

gcc -static -I/media/New1/Linux/xenomai/install/usr/xenomai/include -D_GNU_SOURCE -Wall -pipe -D__XENO__ -L/media/New1/Linux/xenomai/install/usr/xenomai/lib -Xlinker -rpath -Xlinker /media/New1/Linux/xenomai/install/usr/xenomai/lib -o rtprint rtprint.o -lnative -lxenomai -lpthread_rt -lrtdk
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [rtprint] Error 1

Please help me to solve this problem.

Thanks & Best regards,
Sanjay

[-- Attachment #2: Type: text/html, Size: 3121 bytes --]

             reply	other threads:[~2011-06-01  5:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01  5:35 sanjay anvekar [this message]
2011-06-01  6:12 ` [Xenomai-help] help-IntelAtom Gilles Chanteperdrix
2011-06-01  7:04   ` sanjay anvekar

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=528683.58306.qm@domain.hid \
    --to=sanjayanvekar@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.