Re: [Ekiga-devel-list] Error compiling



Le mardi 18 novembre 2008 à 09:36 +0100, Eugen Dedu a écrit :
> Damien Sandras wrote:
> > Le lundi 17 novembre 2008 à 22:03 +0100, Eugen Dedu a écrit :
> >> With stable branches, I have 2 compilation errors in ekiga:
> >>
> >> g++ -DHAVE_CONFIG_H -I. -I..
> >> -I../lib -I../lib/gmconf -I../lib/toolbox -I../lib/gui -I../lib/engine/ 
> >> -I../lib/engine/gui/gtk-frontend -I../lib/engine/account/skel 
> >> -I../lib/engine/addressbook/skel -I../lib/engine/chat/skel 
> >> -I../lib/engine/presence/skel -I../lib/engine/protocol/skel 
> >> -I../lib/engine/protocol/sip -I../lib/engine/videooutput/skel 
> >> -I../lib/engine/videoinput/skel -I../lib/engine/audioinput/skel 
> >> -I../lib/engine/audiooutput/skel -I../lib/engine/hal/skel 
> >> -I../lib/engine/framework -I../lib/engine/gui/gtk-core -I../src 
> >> -I../src/clients/ -I../src/components/ -I../src/devices/ 
> >> -I../src/endpoints/ -I../src/gui/ -I..  -DSCHEMA_AGE=62 
> >> -I../lib/engine/videooutput/common -I../lib/engine/videooutput/x 
> >> -D_REENTRANT -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/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 
> >> -I/usr/include/pixman-1   -pthread -I/usr/include/glib-2.0 
> >> -I/usr/lib/glib-2.0/include   -DORBIT2=1 -pthread -D_REENTRANT 
> >> -I/usr/include/libgnome-2.0 -I/usr/include/orbit-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/glib-2.0 
> >> -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 
> >> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 
> >> -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 
> >> -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 
> >> -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 
> >> -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 
> >> -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/directfb 
> >> -I/usr/include/libpng12 -I/usr/include/pixman-1 
> >> -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    -DPTRACING=1 
> >> -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/opal 
> >> -I/usr/include/SDL   -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 
> >> -fno-exceptions -I/usr/include/SDL   -I/usr/include/sigc++-2.0 
> >> -I/usr/lib/sigc++-2.0/include   -I/usr/include/libxml2   -D_REENTRANT 
> >> -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
> >> -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 
> >> -I/usr/lib/dbus-1.0/include -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/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 
> >> -I/usr/include/pixman-1   -Wall -g -O2 -Wall -Wextra -Winit-self 
> >> -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal 
> >> -Wshadow -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o `test -f 
> >> 'gui/main.cpp' || echo './'`gui/main.cpp
> >> gui/statusmenu.h: In function ‘GtkWidget* 
> >> gm_mw_init_status_toolbar(GtkWidget*)’:
> >> gui/statusmenu.h:86: error: too few arguments to function ‘GtkWidget* 
> >> status_menu_new(Ekiga::ServiceCore&)’
> >> gui/main.cpp:1708: error: at this point in file
> >> gui/main.cpp:1709: error: ‘struct _GmMainWindow’ has no member named ‘priv’
> >> gui/main.cpp:1709: error: ‘struct _GmMainWindow’ has no member named ‘priv’
> >> make[4]: *** [main.o] Error 1
> >> make[4]: Leaving directory `/home/dedu/softs/ekiga/ekiga/src'
> > 
> > Oups...
> > 
> > I can not test, but I think it is fixed.
> 
> 
> mv -f .deps/assistant.Tpo .deps/assistant.Po
> g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/gmconf -I../lib/toolbox 
> -I../lib/gui -I../lib/eng
> ine/ -I../lib/engine/gui/gtk-frontend -I../lib/engine/account/skel 
> -I../lib/engine/addressbook/s
> kel -I../lib/engine/chat/skel -I../lib/engine/presence/skel 
> -I../lib/engine/protocol/skel -I../l
> ib/engine/protocol/sip -I../lib/engine/videooutput/skel 
> -I../lib/engine/videoinput/skel -I../lib
> /engine/audioinput/skel -I../lib/engine/audiooutput/skel 
> -I../lib/engine/hal/skel -I../lib/engin
> e/framework -I../lib/engine/gui/gtk-core -I../src -I../src/clients/ 
> -I../src/components/ -I../sr
> c/devices/ -I../src/endpoints/ -I../src/gui/ -I..  -DSCHEMA_AGE=62 
> -I../lib/engine/videooutput/c
> 2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 
> -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 
> -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 
> -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 
> -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 
> -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/directfb 
> -I/usr/include/libpng12 -I/usr/include/pixman-1 
> -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    -DPTRACING=1 
> -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/opal 
> -I/usr/include/SDL   -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 
> -fno-exceptions -I/usr/include/SDL   -I/usr/include/sigc++-2.0 
> -I/usr/lib/sigc++-2.0/include   -I/usr/include/libxml2   -D_REENTRANT 
> -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 
> -I/usr/lib/dbus-1.0/include -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/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 
> -I/usr/include/pixman-1   -Wall -g -O2 -Wall -Wextra -Winit-self 
> -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal 
> -Wshadow -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o `test -f 
> 'gui/main.cpp' || echo './'`gui/main.cpp
> gui/main.cpp: In function ‘GtkWidget* 
> gm_mw_init_status_toolbar(GtkWidget*)’:
> gui/main.cpp:1708: error: no match for ‘operator*’ in 
> ‘*mw->_GmMainWindow::core’
> make[4]: *** [main.o] Error 1
> make[4]: Leaving directory `/home/dedu/softs/ekiga/ekiga/src'

Is it better if you replace *mw->core by mw->core at this place ?
-- 
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   Be IP           : http://www.beip.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras ekiga net
                       



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