Re: Debian backend fixes and other issues



Hi Tom,

I'm not running Debian (rather Gentoo, it's illegitimate child) but I have the same issue and
adding "#define HEADERS_KERNEL" seems to fix this.

I'd love to say I understand why this works, or tell you where I got this information but sadly I know neither! :-) Perhaps it was that Gentopia guys that found this.

More specifically:

Index: nm-device-802-3-ethernet.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/nm-device-802-3-ethernet.c,v
retrieving revision 1.12
diff -u -r1.12 nm-device-802-3-ethernet.c
--- nm-device-802-3-ethernet.c  26 Jan 2006 21:55:11 -0000      1.12
+++ nm-device-802-3-ethernet.c  9 Feb 2006 17:33:26 -0000
@@ -18,6 +18,7 @@
 *
 * (C) Copyright 2005 Red Hat, Inc.
 */
+#define HEADERS_KERNEL

#include <glib.h>
#include <glib/gi18n.h>


Regards,

tOnY

Tom Parker wrote:

After a long time of not having any time to look at NetworkManager, I decided to have another look. Tried compiling from the current CVS HEAD, and noted that the debian backend required a number of alterations (mainly because of unused variables, and also to remove the nm_system_device_setup_static_ip4_config item from src/NetworkManagerSystem.h as it isn't used anywhere anymore). Patch to fix those is attached.

However, later on while trying to compile src/nm-device-802-3-ethernet.c I got the following. Any ideas anyone?

~snip~



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