[OGo-Evolution] Compile error

Shreyas Srinivasan evolution@opengroupware.org
Tue, 29 Aug 2006 19:31:48 +0530


On 8/29/06, Lorenzo Milesi <lorenzo.milesi@gmail.com> wrote:
> Hi
>
> I was about to try the Evolution connector for OGo but I ran into a
> compile problem.
> The error is
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
> -I/usr/include/freetype2 -I/usr/include/libgnomeui-2.0
> -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2
> -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
> -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
> -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2
> -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprintui-2.2
> -I/usr/include/libgnomeprint-2.2 -I/usr/include/libsoup-2.2
> -I/usr/include/evolution-data-server-1.6 -I/usr/include/evolution-2.6
> -g -O2 -c e-cal-backend-ogo.c -MT e-cal-backend-ogo.lo -MD -MP -MF
> .deps/e-cal-backend-ogo.TPlo  -fPIC -DPIC -o .libs/e-cal-backend-ogo.o
> e-cal-backend-ogo.c: In function 'e_cal_backend_ogo_class_init':
> e-cal-backend-ogo.c:1514: error: 'ECalBackendSyncClass' has no member
> named 'set_default_zone_sync'
> make[2]: *** [e-cal-backend-ogo.lo] Error 1
> make[2]: Leaving directory `shreyas/calendar'
>
>

Ummm... Yes my current working version of evolution-data-server is 1.8.
Amazingly the one of the very few things different between 1.6 and 1.8
is that api.

Replace set_default_zone_sync with set_default_timezone_sync and it should
work. This api is deprecated for the 1.8 release which is like in 20 days. So i
am not sure whats the best way to deal with it, for now i am making it work
with the bleeding version, but that one change should get it to work with other
versions too.

--
Shreyas