From: Philippe Gerum <rpm@xenomai.org>
To: Stephen Davies <steve_davies61@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Compiler Options
Date: Tue, 03 Feb 2009 14:27:15 +0100 [thread overview]
Message-ID: <49884633.6050403@domain.hid> (raw)
In-Reply-To: <BAY101-W54D5E94646F7B999F81AF8EAC50@domain.hid>
Stephen Davies wrote:
> Hi all,
>
> I start by apologising for asking what I imagine is a very basic
> question but it's been driving me nuts all day! I am currently trying
> to build and compile one of the sample programs - msg_queue.c. I'm
> using the Code::Blocks IDE with GCC underneath it to compile the
> program. I have linked in the include directory /usr/xenomai/include
> but when I compile and link my code I get a load of 'undefined
> reference' errors relating to all of the xenomai functions. On my old
> RTAI setup I have never had to link explicitly to any libs only include
> header files - what am I doing wrong with xenomai?
>
Try /usr/xenomai/bin/xeno-config { --xeno-cflags, --xeno-ldflags, etc. }
> My setup is 2.6.27 kernel, Xenomai latest stable, Ubuntu 8.10
>
> Apologies again for what I imagine is a very simple question, but it's
> driving me nuts!
>
> Thanks for your help,
>
> Steve
>
> ------------------------------------------------------------------------
> Share your photos with Windows Live Photos - Free Try it Now!
> <http://www.microsoft.com/uk/windows/windowslive/products/messenger.aspx>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
prev parent reply other threads:[~2009-02-03 13:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 16:17 [Xenomai-help] Compiler Options Stephen Davies
2009-02-03 9:57 ` vikesh rambaran
2009-02-03 13:27 ` Philippe Gerum [this message]
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=49884633.6050403@domain.hid \
--to=rpm@xenomai.org \
--cc=steve_davies61@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.