From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49884633.6050403@domain.hid> Date: Tue, 03 Feb 2009 14:27:15 +0100 From: Philippe Gerum MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Compiler Options Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephen Davies Cc: xenomai@xenomai.org 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! > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe.