All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Benoît CAMUS" <benoit.camus@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Error at compilation of examples
Date: Thu, 05 Apr 2007 15:22:41 +0200	[thread overview]
Message-ID: <4614F821.9080105@domain.hid> (raw)
In-Reply-To: <1175778504.26947.19.camel@domain.hid>

Benoît CAMUS wrote:
> Hi all,
> 
> I got errors in headers while trying to compile basical programs
> (sigcpu.c and a posix thread one). I use ELDK 4.1 cross-compiler for ARM
> architecture and 2.6.19 kernel. So here is error i got:
> 
> 
> $> arm-linux-gcc -I/opt/eldk/arm/usr/include/ -I/opt/eldk/arm/include/
> -D_GNU_SOURCE -D_REENTRANT -L/opt/eldk/arm/lib/ -lpthread -lnative
> -Xlinker -rpath -Xlinker /opt/eldk/arm/lib/ -o t_posix ./test_thread.c

The most simple way to compile an example for Xenomai posix skin is to
use the xeno-config script as installed by Xenomai. If you have run
Xenomai installation with DESTDIR set, pass the same DESTDIR in
xeno-config environment. Examples usually come with Makefiles that do so.

What version of Xenomai are you using ?


-- 
                                                 Gilles Chanteperdrix


  reply	other threads:[~2007-04-05 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05 13:08 [Xenomai-help] Error at compilation of examples Benoît CAMUS
2007-04-05 13:22 ` Gilles Chanteperdrix [this message]
2007-04-06  7:08 ` Benoît CAMUS
     [not found] <17941.63222.407172.361683@domain.hid>
2007-04-06  9:05 ` 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=4614F821.9080105@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=benoit.camus@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.