Re: current cvs errors on compile



On Wed, 2006-03-29 at 22:24 -0600, Eli Criffield wrote:
> I was able to compile older CVS versions, mainly the version "Taged"
> D2006.03.03.15.00.00 with Robert's patch for working with madwifi (and
> other cards).
> 
> But with ubuntu dapper updated today (03/29/06)
> I get this error on compile.
> 
>   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
> cc1: warnings being treated as errors
> 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:309: 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/ecriffield/wpa/NetworkManager/src/vpn-manager'make[2]: ***
> [all-recursive] Error 1
> make[2]: Leaving directory `/home/ecriffield/wpa/NetworkManager/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ecriffield/wpa/NetworkManager'
> make: *** [all] Error 2

Needs to be fixed in your distribution's copy of HAL...

Dan





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