I've had this problem before, here was the respone from Suman: Just open '/usr/include/ndr.h' and comment out line '404'
That worked for me, but got stuck later on. 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