From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F0E12FA.8030606@domain.hid> Date: Wed, 11 Jan 2012 23:53:46 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] troubles with library inclusion List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: daniele.gottfried@domain.hid Cc: xenomai@xenomai.org, Daniele On 01/11/2012 11:49 PM, Daniele wrote: > Hello, > > We are trying to use xenomai with analogy library > > [xenomai 2.6.0, kernel 2.6.38.8] > > Compiling the program we got the following error: > > > "undefined reference to > a4l_open > " > > The compiler detects correctly the function prototypes but it can't found > their complete definition. > > taking care of our MakeFile we also have read this: > > https://mail.gna.org/public/xenomai-help/2011-07/msg00036.html > > but we noticed that our makefile already contains this instructions for our > skin, native. > > How could we get rid of this? You need to link with the libanalogy driver, so, simply add "-lanalogy" on the compiler command line. -- Gilles.