Compile error with both HEAD and 0.6.4
- From: Nico <lordllucifer gmail com>
- To: networkmanager-list gnome org
- Subject: Compile error with both HEAD and 0.6.4
- Date: Sun, 15 Oct 2006 17:57:24 +0200
I get this error with both CVS HEAD and 0.6.4, any ideas?
this is running 2.6.18 kernel, but with
2.4.33.3 kernel-headers (tried using the 2.6.18 headers too, with no luck).
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../utils -I../libnm-util -I/usr/include/dbus-
1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=93 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-
1.0 -I/usr/lib/dbus-1.0/include -DWPA_SUPPLICANT_BIN=\"/usr/local/sbin/\" -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/local/bin\" -DSBINDIR=\"/usr/local/sbin\" -DLIBEXECDIR=\"/usr/local/libexec\" -DDATADIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DNM_RUN_DIR=\"/usr/local/var/run/NetworkManager\" -DGNOMELOCALEDIR=\"/usr/local/share/locale\" -DARP_DEBUG -Wall -Werror -std=gnu89 -g -O2 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -MT
NetworkManager-nm-device-802-3-ethernet.o -MD -MP -MF ".deps/NetworkManager-nm-device-802-3-ethernet.Tpo" -c -o NetworkManager-nm-device-802-3-ethernet.o `test -f 'nm-device-802-3-ethernet.c' || echo './'`nm-device-802-3-ethernet.c
; \
then mv -f ".deps/NetworkManager-nm-device-802-3-ethernet.Tpo" ".deps/NetworkManager-nm-device-802-3-ethernet.Po"; else rm -f ".deps/NetworkManager-nm-device-802-3-ethernet.Tpo"; exit 1; fi
In file included from /usr/include/linux/mii.h:12,
from nm-device-802-3-ethernet.c:464:
/usr/include/linux/if.h:94: error: redefinition of `struct ifmap'
/usr/include/linux/if.h:130: error: redefinition of `struct ifreq'
/usr/include/linux/if.h:180: error: redefinition of `struct ifconf'
make[1]: *** [NetworkManager-nm-device-802-3-ethernet.o] Error 1
make[1]: Leaving directory `/home/lucifer/download/install/checkouts/NetworkManager/src'
make: *** [all-recursive] Error 1
please CC me any answers as I'm not subscribed to the list.
/Nico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]