Re: Initial libnl support committed
- From: Thomas Graf <tgraf suug ch>
- To: Christopher Aillon <caillon redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: Initial libnl support committed
- Date: Wed, 2 Nov 2005 18:33:41 +0100
* Christopher Aillon <caillon redhat com> 2005-11-01 22:37
> NetworkManager doesn't compile against libnl with newer kernels.
>
> In file included from /usr/include/netlink/route/link.h:15,
> from NetworkManagerSystem.c:52:
> /usr/include/linux/if.h:59: error: redefinition of ?struct ifmap?
> /usr/include/linux/if.h:77: error: redefinition of ?struct ifreq?
> /usr/include/linux/if.h:126: error: redefinition of ?struct ifconf?
>
> The attached patch to libnl fixes this, using the macro guard from
> iwlib.h (also under GPL).
Thanks, I fixed this by making minimized local copies of linux/if.h,
linux/if_arp.h, and linux/if_ether.h as it should have been from the
beginning. It is up to the application using libnl to properly include
kernel headers if required. The fix is included in 1.0-pre5.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]