I thought I give it another go using the samba4, openchange packages in Ubuntu Intrepid. Hovewer, get this error when compiling evolution-data-server from svn:
mv -f .deps/exchange-mapi-cal-tz-utils.Tpo .deps/exchange-mapi-cal-tz-utils.Plo ../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN= \"libexchangemapi\" -DMAPI_DATADIR= \""/usr/share/evolution-data-server-2.24/mapi"\" -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/libbonobo-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/libsoup-2.4 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/nspr -I../.. -DORBIT2=1 -pthread -I/usr/include/libxml2 -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/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I../../calendar -I../../libical/src -I../../libical/src/libical -I../../libical/src -I../../libical/src/libical -g -O2 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/local//include -I/usr/include/samba-4.0 -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT exchange-mapi-cal-recur-utils.lo -MD -MP -MF .deps/exchange-mapi-cal-recur-utils.Tpo -c -o exchange-mapi-cal-recur-utils.lo exchange-mapi-cal-recur-utils.c exchange-mapi-cal-recur-utils.c: In function ‘get_ical_weekstart’: exchange-mapi-cal-recur-utils.c:81: error: ‘FirstDOW_Sunday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:81: error: (Each undeclared identifier is reported only once exchange-mapi-cal-recur-utils.c:81: error: for each function it appears in.) exchange-mapi-cal-recur-utils.c:82: error: ‘FirstDOW_Monday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:83: error: ‘FirstDOW_Tuesday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:84: error: ‘FirstDOW_Wednesday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:85: error: ‘FirstDOW_Thursday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:86: error: ‘FirstDOW_Friday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:87: error: ‘FirstDOW_Saturday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c: In function ‘get_mapi_weekstart’: exchange-mapi-cal-recur-utils.c:96: error: ‘FirstDOW_Sunday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:97: error: ‘FirstDOW_Monday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:98: error: ‘FirstDOW_Tuesday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:99: error: ‘FirstDOW_Wednesday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:100: error: ‘FirstDOW_Thursday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:101: error: ‘FirstDOW_Friday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:102: error: ‘FirstDOW_Saturday’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c: In function ‘get_ical_pos’: exchange-mapi-cal-recur-utils.c:126: error: ‘RecurrenceN_First’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:127: error: ‘RecurrenceN_Second’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:128: error: ‘RecurrenceN_Third’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:129: error: ‘RecurrenceN_Fourth’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:130: error: ‘RecurrenceN_Last’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c: In function ‘get_mapi_pos’: exchange-mapi-cal-recur-utils.c:139: error: ‘RecurrenceN_First’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:140: error: ‘RecurrenceN_Second’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:141: error: ‘RecurrenceN_Third’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:142: error: ‘RecurrenceN_Fourth’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:143: error: ‘RecurrenceN_Last’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c: In function ‘check_calendar_type’: exchange-mapi-cal-recur-utils.c:224: error: ‘CAL_DEFAULT’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:224: error: ‘CAL_GREGORIAN’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c: In function ‘exchange_mapi_cal_util_bin_to_rrule’: exchange-mapi-cal-recur-utils.c:260: error: ‘RecurFrequency_Daily’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:265: error: ‘PatternType_Day’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:289: error: ‘PatternType_Week’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:339: error: ‘RecurFrequency_Weekly’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:402: error: ‘RecurFrequency_Monthly’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:407: error: ‘PatternType_Month’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:407: error: ‘PatternType_MonthEnd’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:440: error: ‘PatternType_MonthNth’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:508: error: ‘RecurFrequency_Yearly’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:584: error: ‘END_AFTER_DATE’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:589: error: ‘END_AFTER_N_OCCURRENCES’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:594: error: ‘END_NEVER_END’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:240: warning: unused variable ‘modified_list’ exchange-mapi-cal-recur-utils.c: In function ‘exchange_mapi_cal_util_rrule_to_bin’: exchange-mapi-cal-recur-utils.c:835: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:839: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:842: error: ‘RecurFrequency_Daily’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:843: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:848: error: ‘PatternType_Day’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:849: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:852: error: ‘CAL_DEFAULT’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:853: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:857: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:861: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:865: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:870: error: ‘RecurFrequency_Weekly’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:871: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:874: error: ‘PatternType_Week’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:875: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:879: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:883: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:887: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:891: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:912: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:917: error: ‘RecurFrequency_Monthly’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:918: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:921: error: ‘PatternType_Month’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:924: error: ‘PatternType_MonthNth’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:926: error: ‘RecurrenceN_Last’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:935: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:939: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:943: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:947: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:951: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:955: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:961: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:964: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:972: error: ‘RecurFrequency_Yearly’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:973: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:977: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:981: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:985: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:989: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:993: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1002: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1008: error: ‘END_AFTER_DATE’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:1009: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1012: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1016: error: ‘END_AFTER_N_OCCURRENCES’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:1017: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1020: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1024: error: ‘END_NEVER_END’ undeclared (first use in this function) exchange-mapi-cal-recur-utils.c:1025: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1028: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1035: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1039: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1053: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1061: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1067: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1096: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1100: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1104: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1113: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1122: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1127: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1133: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type exchange-mapi-cal-recur-utils.c:1139: warning: passing argument 2 of ‘g_byte_array_append’ from incompatible pointer type make[3]: *** [exchange-mapi-cal-recur-utils.lo] Error 1 make[3]: Leaving directory `/home/nt271/temp/OpenChange/evolution-data-server/servers/mapi' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nt271/temp/OpenChange/evolution-data-server/servers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nt271/temp/OpenChange/evolution-data-server' make: *** [all] Error 2 I'm using openchange-1.0~svn679-1 and samba4-4.0.0-alpha4~20080727-1ubuntu1 I'll try again using the latest openchange svn Nic On Thu, 2008-09-18 at 16:47 +0800, liu shuai wrote: > I downloaded the source code at: > > > svn co svn://websvn.openchange.org/openchange/trunk openchange -r 710 > svn co > svn://[EMAIL > PROTECTED]/svn/evolution-data-server/branches/EXCHANGE_MAPI_BRANCH > evolution-data-server > svn co > svn://[EMAIL PROTECTED]/svn/evolution/branches/EXCHANGE_MAPI_BRANCH evolution > > > And I compiled the openchange and openclient can access exchange now. > > > However, when I compile evolution-data-server, > > > I have the following problem: > > > Making all in mapi > make[3]: Entering directory > `/home/liushuai/myfile/mapi/evolution-http://mailman.openchange.org/pipermail/devel/2007-August/000301.html-server/servers/mapi' > ../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN= > \"libexchangemapi\" -DMAPI_DATADIR= > \""/usr/local/samba/share/evolution-data-server-2.24/mapi"\" > -DORBIT2=1 -pthread -I/usr/include/libxml2 > -I/usr/include/libbonobo-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/libsoup-2.4 > -I/usr/include/gconf/2 -I/usr/include/nspr -I../.. -DORBIT2=1 > -pthread -I/usr/include/libxml2 -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../../calendar -I../../libical/src -I../../libical/src/libical > -I../../libical/src -I../../libical/src/libical -g -O2 > -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/local/samba/include -g -O2 > -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT > exchange-mapi-folder.lo -MD -MP -MF .deps/exchange-mapi-folder.Tpo -c > -o exchange-mapi-folder.lo exchange-mapi-folder.c > In file included from /usr/local/samba/include/dcerpc.h:32, > > from /usr/local/samba/include/libmapi/libmapi.h:46, > from exchange-mapi-connection.h:30, > from exchange-mapi-folder.c:25: > /usr/local/samba/include/ndr.h:404: error: expected declaration > specifiers or ‘...’ before ‘comparison_fn_t’ > > > > > I learned from the > address http://mailman.openchange.org/pipermail/devel/2007-August/000301.html > and put the libmapi first. > However this file exchange-mapi-folder.c passed and the file > exchange-mapi-cal-utils.c reported the same problem > > > Is anybody encounter this problem? > > > Shuai Liu > _______________________________________________ > devel mailing list > devel@openchange.org > http://mailman.openchange.org/listinfo/devel _______________________________________________ devel mailing list devel@openchange.org http://mailman.openchange.org/listinfo/devel