All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: daniele.gottfried@domain.hid
Cc: xenomai@xenomai.org, Daniele <danielegottfried@domain.hid>
Subject: Re: [Xenomai-help] troubles with library inclusion
Date: Wed, 11 Jan 2012 23:53:46 +0100	[thread overview]
Message-ID: <4F0E12FA.8030606@domain.hid> (raw)
In-Reply-To: <CA+fRa6cOs0iz37X8VKFPawXLDV4cDb5=u21FgS7JSP3dSmc+FQ@mail.gmail.com>

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<http://www.xenomai.org/documentation/trunk/html/api/group__descriptor1__lib.html#ga810401871fe8005ee0157c6910f94466>
> "
> 
> 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.


  reply	other threads:[~2012-01-11 22:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 22:49 [Xenomai-help] troubles with library inclusion Daniele
2012-01-11 22:53 ` Gilles Chanteperdrix [this message]
2012-01-20 17:18   ` Jakub Nowacki
2012-01-20 18:22     ` Gilles Chanteperdrix
2012-01-20 21:24       ` Jakub Nowacki

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=4F0E12FA.8030606@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=daniele.gottfried@domain.hid \
    --cc=danielegottfried@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.