Re: Compiling CVS



Hi!

I have since found the "remove -Werror" answer in Google's cached pages,
however, now I'm facing another problem:

if 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=60 -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=
\"/sbin/wpa_supplicant\" -DDBUS_API_SUBJECT_TO_CHANGE
-DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"
-DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=
\"/etc\" -DLOCALSTATEDIR=\"/var\" -DNM_RUN_DIR=\"/var/run/NetworkManager
\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DARP_DEBUG   -Wall -std=gnu89
-g -O2 -Wshadow -Wmissing-declarations -Wmissing-prototypes
-Wdeclaration-after-statement -Wstrict-prototypes -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 NetworkManagerMain.h:28,
                 from nm-device-802-3-ethernet.c:32:
/usr/include/hal/libhal.h:306: warning: declaration of 'index' shadows a
global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
In file included from /usr/include/linux/mii.h:12,
                 from nm-device-802-3-ethernet.c:464:
/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'
make[3]: *** [NetworkManager-nm-device-802-3-ethernet.o] Error 1
make[3]: Leaving directory `/home/nix/tmp/NetworkManager/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nix/tmp/NetworkManager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nix/tmp/NetworkManager'
make: *** [all] Error 2

Thanks for all your help!




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