Re: [GnomeMeeting-devel-list] Collection of patches to compile 1.2.3 with upcoming gcc-4.1



Hi Damien,

To follow on the 'doesn't compile on rawhide using gcc4.1' reports.
CVS gm with either dbus or avahi support enabled doesn't compile. But
with out either of them it compiles fine. Error output of both for you
below.

Cheers,
Pete

with avahi support enabled (./configure --with-mdns=avahi) I get the
following errors:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"GnomeMeeting\"
-DSHARE_DIR=\"/usr/local/share/gnomemeeting\" -I../.. -pthread
-DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libxml2
-I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1
-I/usr/include/freetype2 -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-1.6 -I/usr/include/libbonobo-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/libxml2 -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 -DHAS_DBUS -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include
-I/usr/include/ptlib -I/usr/include/ptclib -I/usr/include/opal
-I/usr/include/SDL -D_REENTRANT -DHAS_SDL -I/usr/include -DPTRACING
-DNDEBUG -Wall -Os -g -fno-exceptions -felide-constructors
-D_REENTRANT -g -O2 -I/usr/include/SDL -D_REENTRANT -MT
gm_contacts-remote.lo -MD -MP -MF .deps/gm_contacts-remote.Tpo -c
gm_contacts-remote.cpp  -fPIC -DPIC -o .libs/gm_contacts-remote.o
gm_contacts-avahi.h:114: error: 'AvahiServiceResolver' has not been declared
gm_contacts-avahi.h:125: error: extra qualification
'GMZeroconfBrowser::' on member 'ResolveCallback'
gm_contacts-avahi.h:129: error: 'AvahiServiceBrowser' has not been declared
gm_contacts-avahi.h:136: error: extra qualification
'GMZeroconfBrowser::' on member 'BrowseCallback'
gm_contacts-avahi.h:141: error: ISO C++ forbids declaration of
'AvahiServiceBrowser' with no type
gm_contacts-avahi.h:141: error: expected ';' before '*' token
gm_contacts-avahi.h:142: error: ISO C++ forbids declaration of
'AvahiServiceBrowser' with no type
gm_contacts-avahi.h:142: error: expected ';' before '*' token
make[4]: *** [gm_contacts-remote.lo] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/gnomemeeting-1.9.0/lib/contacts'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/gnomemeeting-1.9.0/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnomemeeting-1.9.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnomemeeting-1.9.0'
make: *** [all] Error 2

And with dbus enabled (./configure --enable-dbus) I get the following errors:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib -I../lib/widgets
-I../lib/xdap  -pthread -DORBIT2=1 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/libxml2
-I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1
-I/usr/include/freetype2   -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-1.6 -I/usr/include/libbonobo-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/libxml2   -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   -DHAS_DBUS -I/usr/include
-I/usr/include/ptlib -I/usr/include/ptclib  -I/usr/include/opal
-I/usr/include/SDL -D_REENTRANT -DHAS_SDL -I/usr/include -DPTRACING
-DNDEBUG -Wall -Os -g -fno-exceptions -felide-constructors
-D_REENTRANT -DDATA_DIR=\""/usr/local/share"\" -DSCHEMA_AGE=59     -g
-O2 -I/usr/include/SDL -D_REENTRANT -MT dbus_component.o -MD -MP -MF
".deps/dbus_component.Tpo" -c -o dbus_component.o dbus_component.cpp;
\
then mv -f ".deps/dbus_component.Tpo" ".deps/dbus_component.Po"; else
rm -f ".deps/dbus_component.Tpo"; exit 1; fi
dbus_component.cpp: In function 'gboolean
dbus_component_claim_ownership(DbusComponent*)':
dbus_component.cpp:656: error: 'DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT'
was not declared in this scope
make[3]: *** [dbus_component.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/gnomemeeting-1.9.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnomemeeting-1.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnomemeeting-1.9.0'
make: *** [all] Error 2



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