Re: Compiling CVS



I /think/ if you open configure.in, search for -werror and remove it
then it will no longer fail on warnings.

On 6/19/06, Nix N. Nix <nix go-nix ca> wrote:
Hi!

I know this topic has been discussed before, but the archives from
January 2006 are unavailable, so I must ask again:

NM from CVS fails to compile with the following error:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include
-I../../utils -I../../src -I../../src/named-manager
-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 -g -Wall -DDBUS_API_SUBJECT_TO_CHANGE
-DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"
-DSYSCONFDIR=\"/etc\" -Wall -Werror -std=gnu89 -g -O2 -Wshadow
-Wmissing-declarations -Wmissing-prototypes
-Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter
-Wno-sign-compare -MT libvpn_manager_la-nm-vpn-connection.lo -MD -MP
-MF .deps/libvpn_manager_la-nm-vpn-connection.Tpo -c nm-vpn-connection.c
-fPIC -DPIC -o .libs/libvpn_manager_la-nm-vpn-connection.o
In file included from ../../src/NetworkManagerMain.h:28,
                 from ../../src/NetworkManagerDbusUtils.h:31,
                 from nm-dbus-vpn.h:25,
                 from nm-vpn-connection.c:25:
/usr/include/hal/libhal.h:306: warning: declaration of 'index' shadows a
global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
make[3]: *** [libvpn_manager_la-nm-vpn-connection.lo] Error 1
make[3]: Leaving directory
`/home/nix/tmp/NetworkManager/src/vpn-manager'
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

So, how do I fix this again ?

Thanks a lot for your help!

_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list




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