All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [PATCH] Fix trying to use libnl-2.0 when only libnl-3.0 is installed
Date: Sat, 12 May 2012 13:54:29 -0700	[thread overview]
Message-ID: <4FAECE05.9080109@linux.intel.com> (raw)
In-Reply-To: CABsxX9KTNi9sXTtBGgMo5=HYwwtcEqM=Gc1sFTRwzEMWuNwQvA@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]

On 5/12/2012 1:46 PM, Kok, Auke-jan H wrote:
> 
> 
> On Sat, May 12, 2012 at 8:50 AM, Vinicius Costa Gomes <vcgomes(a)gmail.com
> <mailto:vcgomes(a)gmail.com>> wrote:
> 
>     From: Vinicius Costa Gomes <vinicius.gomes(a)openbossa.org
>     <mailto:vinicius.gomes(a)openbossa.org>>
> 
>     When using libnl-3.0 we need to link with libnl-genl also, if not, we
>     get a lot of undefined symbols.
>     ---
>      configure.ac <http://configure.ac> |    2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
> 
>     diff --git a/configure.ac <http://configure.ac> b/configure.ac
>     <http://configure.ac>
>     index 2d56684..3579b6e 100644
>     --- a/configure.ac <http://configure.ac>
>     +++ b/configure.ac <http://configure.ac>
>     @@ -56,7 +56,7 @@ PKG_CHECK_MODULES([LIBZ], [zlib],[],[
> 
>      has_libnl_ver=0
>      PKG_CHECK_MODULES([LIBNL], [libnl-1], [has_libnl_ver=1], [
>     -       AC_SEARCH_LIBS([nl_socket_alloc], [nl], [has_libnl_ver=2], [
>     +       AC_SEARCH_LIBS([nl_socket_alloc], [libnl-2.0],
>     [has_libnl_ver=2], [
> 
> 
> are you sure you want the linker to check for -llibnl-2.0? that means
> it's going to try to find a "liblibnl-2.0.so <http://liblibnl-2.0.so>"
> (note the double "lib" here).
> 
> Auke

this autoconf stuff is giving me a headache

maybe we should ask the libnl guys if they have some snippet that they
recommend.... after all I doubt we're the only ones dealing with their
library.


             reply	other threads:[~2012-05-12 20:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 20:54 Arjan van de Ven [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-05-14 17:48 [Powertop] [PATCH] Fix trying to use libnl-2.0 when only libnl-3.0 is installed Chris Ferron
2012-05-12 22:38 Jan Engelhardt
2012-05-12 22:05 Arjan van de Ven
2012-05-12 21:57 Jan Engelhardt
2012-05-12 20:46 Kok, Auke-jan H
2012-05-12 15:50 Vinicius Costa Gomes

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=4FAECE05.9080109@linux.intel.com \
    --to=powertop@lists.01.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.