Re: Initial libnl support committed

* 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]