All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@datenfreihafen.org>
To: openembedded-devel@lists.openembedded.org
Subject: libnl vs. libnl2 madness
Date: Thu, 3 Feb 2011 10:32:53 +0100	[thread overview]
Message-ID: <20110203093253.GG4580@excalibur.local> (raw)

Hello.

The last hours I was trying to compile wpa_supplicant with nl80211 support. That
needs netlink support through libnl or libnl2.

Enabling the option to use libnl2, not that easy to find, still breaks with
missing header files. Checking the libnl2 source shows that they are provided.
After some head on the table banging I found:

commit 880e00d3b7ccf66d9421a06bc28e553e07842b59
Author: Michael 'Mickey' Lauer <mickey@vanille-media.de>
Date:   Tue Nov 24 16:33:06 2009 +0000

    libnl2: change includedir to not step over libnl1; also convert to new staging

which brings in this:

+includedir = ${prefix}/include/libnl2

Resulting in header files getting staged in to libnl2/netlink/fooo instead of
netlink/foo.

This obviously breaks every application that uses libnl2. Reverting this part
makes wpa_supplicant happy.

Can somebody bring some light into this? Do we have libnl1 only recipes in our
metadata?

If libnl2 overrides header files from libnl with other content this is of course
bad. As is to move away header files from the usual location and breaking apps.

regards
Stefan Schmidt



             reply	other threads:[~2011-02-03  9:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03  9:32 Stefan Schmidt [this message]
2011-02-03  9:54 ` libnl vs. libnl2 madness Thomas Zimmermann
2011-02-03 10:12   ` Martin Jansa
2011-02-03 12:42     ` Stefan Schmidt
2011-02-03 14:08       ` Stefan Schmidt
2011-02-09 10:00         ` Stefan Schmidt
2011-02-09 10:20           ` Koen Kooi
2011-02-09 10:46             ` Stefan Schmidt
2011-02-11 10:15     ` Koen Kooi

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=20110203093253.GG4580@excalibur.local \
    --to=stefan@datenfreihafen.org \
    --cc=openembedded-devel@lists.openembedded.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.