I just commented line 1295, 1300, 1301, 1302 and 1304 and it compiled....
programmer.
Post by Mikael KarlssonBrutus-Evolution revision 321 seem to be broken? I've have the latest
stable needed libs in Ubuntu 8.04.1
Any ideas?
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/root/brutus/evolution-brutus
-I/root/brutus/evolution-brutus/idl
-I/root/brutus/evolution-brutus/idl_output
-I/usr/include/evolution-data-server-2.22 -I-I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.22 -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/orbit-2.0
-I/usr/include/gconf/2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/include/libglade-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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
-DBRUTUS_LOCALEDIR=\"/usr/local/share/locale\"
-DG_LOG_DOMAIN=\"camel-brutus-provider\"
-DCAMEL_EXPLICIT_TRANSLATION_DOMAIN=\"evolution-brutus-2.22\"
-DORBIT2_EXTENSIONS -I/usr/include/brutus-keyring-1.0 -DORBIT2=1
-pthread -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/libpng12 -I/usr/include/pixman-1
-I/usr/include/orbit-2.0 -I/usr/include/libIDL-2.0 -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
-g -O2 -Werror -Werror-implicit-function-declaration -Wundef
-Wbad-function-cast -Wcast-align -Wmissing-declarations -std=gnu89
-D_REENTRANT -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2
-I/usr/include/ImageMagick -I/usr/include/evolution-data-server-2.22 -MT
camel-brutus-store.lo -MD -MP -MF .deps/camel-brutus-store.Tpo -c
camel-brutus-store.c -fPIC -DPIC -o .libs/camel-brutus-store.o
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I/root/brutus/evolution-brutus
-I/root/brutus/evolution-brutus/idl
-I/root/brutus/evolution-brutus/idl_output
-I/usr/include/evolution-data-server-2.22 -I-I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.22 -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/orbit-2.0
-I/usr/include/gconf/2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/include/libglade-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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
-DBRUTUS_LOCALEDIR=\""/usr/local/share/locale"\"
-DG_LOG_DOMAIN=\"camel-brutus-provider\"
-DCAMEL_EXPLICIT_TRANSLATION_DOMAIN=\"evolution-brutus-2.22\"
-DORBIT2_EXTENSIONS -I/usr/include/brutus-keyring-1.0 -DORBIT2=1
-pthread -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/libpng12 -I/usr/include/pixman-1
-I/usr/include/orbit-2.0 -I/usr/include/libIDL-2.0 -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
-g -O2 -Werror -Werror-implicit-function-declaration -Wundef
-Wbad-function-cast -Wcast-align -Wmissing-declarations -std=gnu89
-D_REENTRANT -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2
-I/usr/include/ImageMagick -I/usr/include/evolution-data-server-2.22 -MT
camel-brutus-folder.lo -MD -MP -MF ".deps/camel-brutus-folder.Tpo" -c -o
camel-brutus-folder.lo camel-brutus-folder.c; \
then mv -f ".deps/camel-brutus-folder.Tpo"
".deps/camel-brutus-folder.Plo"; else rm -f
".deps/camel-brutus-folder.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/root/brutus/evolution-brutus
-I/root/brutus/evolution-brutus/idl
-I/root/brutus/evolution-brutus/idl_output
-I/usr/include/evolution-data-server-2.22 -I-I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.22 -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/orbit-2.0
-I/usr/include/gconf/2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/include/libglade-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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
-DBRUTUS_LOCALEDIR=\"/usr/local/share/locale\"
-DG_LOG_DOMAIN=\"camel-brutus-provider\"
-DCAMEL_EXPLICIT_TRANSLATION_DOMAIN=\"evolution-brutus-2.22\"
-DORBIT2_EXTENSIONS -I/usr/include/brutus-keyring-1.0 -DORBIT2=1
-pthread -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/libpng12 -I/usr/include/pixman-1
-I/usr/include/orbit-2.0 -I/usr/include/libIDL-2.0 -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
-g -O2 -Werror -Werror-implicit-function-declaration -Wundef
-Wbad-function-cast -Wcast-align -Wmissing-declarations -std=gnu89
-D_REENTRANT -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -O2
-I/usr/include/ImageMagick -I/usr/include/evolution-data-server-2.22 -MT
camel-brutus-folder.lo -MD -MP -MF .deps/camel-brutus-folder.Tpo -c
camel-brutus-folder.c -fPIC -DPIC -o .libs/camel-brutus-folder.o
cc1: warnings being treated as errors
camel-brutus-folder.c:1304: warning: unused variable ‘eid’
camel-brutus-folder.c:1302: warning: unused variable ‘mask’
camel-brutus-folder.c:1301: warning: unused variable ‘old_msg_flags’
camel-brutus-folder.c:1300: warning: unused variable ‘msg_flags’
camel-brutus-folder.c:1295: warning: unused variable ‘bmi’
make[4]: *** [camel-brutus-folder.lo] Error 1
make[4]: Leaving directory `/root/brutus/evolution-brutus/camel'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/brutus/evolution-brutus'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/brutus/evolution-brutus'
make[1]: *** [dist-deb-prep] Error 2
make[1]: Leaving directory `/root/brutus/evolution-brutus'
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus