Re: Re: ANNOUNCE: NetworkManager 0.6 Release



* aj2r ya com  <aj2r ya com> [2006-03-04 16:45]:
> 
> Thanks! The error now is:
> 
> In file included from NetworkManagerMain.h:28,
>                  from nm-device-802-3-ethernet.c:32:
> /usr/include/hal/libhal.h:306: aviso: la declaraci?n de
> 'index' oscurece una declaraci?n global
> /usr/include/string.h:304: aviso: aqu? est? la declaraci?n
> oscurecida
> In file included from /usr/include/linux/mii.h:12,
>                  from nm-device-802-3-ethernet.c:395:
> /usr/include/linux/if.h:95: error: redefinici?n de `struct ifmap'
> /usr/include/linux/if.h:131: error: redefinici?n de `struct ifreq'
> /usr/include/linux/if.h:181: error: redefinici?n de `struct
> ifconf'
> make[3]: *** [NetworkManager-nm-device-802-3-ethernet.o] Error 1
> make[3]: Leaving directory `/usr/src/NetworkManager/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/NetworkManager/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/NetworkManager'
> make: *** [all] Error 2

I've found I always need this patch in order to get around that error.

diff -ru NetworkManager.orig/src/nm-device-802-3-ethernet.c NetworkManager-0.6_pre20060220/src/nm-device-802-3-ethernet.c
--- NetworkManager.orig/src/nm-device-802-3-ethernet.c	2006-01-26 16:55:11.000000000 -0500
+++ NetworkManager-0.6_pre20060220/src/nm-device-802-3-ethernet.c	2006-02-20 10:56:23.000000000 -0500
@@ -19,6 +19,7 @@
  * (C) Copyright 2005 Red Hat, Inc.
  */
 
+#define HEADERS_KERNEL
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <dbus/dbus.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]