Re: NM 0.5.1 still won't compile on suse 10.0

NM 0.5.1 requires wireless-tools 2.8pre9 do you have it installed ?

Otherwise including the headers could help, it did for others :)

On 10/25/05, Shane Bryan <shane bryan intel com > wrote:
As reported earlier by others, I still get errors compiling 0.5.1 on
suse 10.0 (include below).

I saw some discussion of workarounds with #define HEADERS_KERNEL but no
patch and it seemed like there was some discrepancy if this was the
right solution.

Anyone managing to get it to compile on suse 10.0 mind reporting their


make[3]: Entering directory `/usr/src/NetworkManager-0.5.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src/named-manager
-I../src/vpn-manager -I../src/dhcp-manager -I../utils
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/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    -DDBUS_API_SUBJECT_TO_CHANGE
\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DARP_DEBUG    -g
-O2 -MT NetworkManager-NetworkManagerDevice.o -MD -MP -MF
".deps/NetworkManager-NetworkManagerDevice.Tpo" \
  -c -o NetworkManager-NetworkManagerDevice.o `test -f
'NetworkManagerDevice.c' || echo './'`NetworkManagerDevice.c; \
then mv -f ".deps/NetworkManager-NetworkManagerDevice.Tpo"
".deps/NetworkManager- NetworkManagerDevice.Po"; \
else rm -f ".deps/NetworkManager-NetworkManagerDevice.Tpo"; exit 1; \
In file included from /usr/include/linux/mii.h:12,
                 from NetworkManagerDevice.c:4308:
/usr/include/linux/if.h:95: error: redefinition of 'struct ifmap'
/usr/include/linux/if.h:131: error: redefinition of 'struct ifreq'
/usr/include/linux/if.h:181: error: redefinition of 'struct ifconf'

NetworkManager-list mailing list
NetworkManager-list gnome org



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