Re: [Evolution] exchange-mapi-connection.c = Still Broken



OK

I redid everything and following the directions to the "T"
While building evolution-data-server I get this error during the make process:
Note: I think I can fix this one error on line 404 of /usr/local/samba/include/ndr.h but will wait to hear 
back from someone here.

-------
Making all in mapi
make[3]: Entering directory `/home/tmp/evolution-data-server/servers/mapi'
../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"libexchangemapi\" 
-DMAPI_DATADIR=\""/usr/local/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/lib64/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/lib64/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/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'
exchange-mapi-folder.c: In function 'exchange_mapi_folder_get_folder':
exchange-mapi-folder.c:150: warning: format '%016llX' expects type 'long long unsigned int', but argument 2 
has type 'mapi_id_t'
exchange-mapi-folder.c:150: warning: format '%016llX' expects type 'long long unsigned int', but argument 3 
has type 'mapi_id_t'
make[3]: *** [exchange-mapi-folder.lo] Error 1
make[3]: Leaving directory `/home/tmp/evolution-data-server/servers/mapi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tmp/evolution-data-server/servers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/evolution-data-server'
make: *** [all] Error 2
------




-----Original Message-----
From: evolution-list-bounces gnome org [mailto:evolution-list-bounces gnome org] On Behalf Of Johnny Jacob
Sent: Tuesday, October 28, 2008 1:16 PM
To: evolution-list gnome org
Subject: Re: [Evolution] exchange-mapi-connection.c = Still Broken

On Tue, 2008-10-28 at 11:14 -0400, Jeff Singleton wrote:
I posted this issue a few weeks ago, but no one seems to have this
same issue.  I am following the instructions for building the
Exchange_Mapi_Branch of both Evolution and Evolution-Data-Server from
this website: http://www.go-evolution.org/MAPIProvider

I get Samba4 compiled and installed, and I can also get OpenChange to compile and install.

Evolution-Data-Server is where I run into issues. I attempted to fix one or two of these but failed 
miserably.  Has anyone else run into this during compile?

Making all in mapi
make[3]: Entering directory `/home/tmp/evolution-data-server/servers/mapi'
../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"libexchangemapi\" 
-DMAPI_DATADIR=\""/home/jsingleton/opt/gnome2/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/lib64/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/lib64/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/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 -Wn
 o-
 pointer-sign -MT exchange-mapi-connection.lo -MD -MP -MF
.deps/exchange-mapi-connection.Tpo -c -o exchange-mapi-connection.lo
exchange-mapi-connection.c
exchange-mapi-connection.c: In function 'exchange_mapi_util_delete_attachments':
exchange-mapi-connection.c:499: warning: implicit declaration of function 'GetRowCount'
exchange-mapi-connection.c: In function 'exchange_mapi_util_modify_recipients':
exchange-mapi-connection.c:816: error: invalid application of 'sizeof' to incomplete type 'struct FlagList'
exchange-mapi-connection.c:826: warning: passing argument 1 of
'ResolveNames' from incompatible pointer type
exchange-mapi-connection.c:826: warning: passing argument 2 of
'ResolveNames' from incompatible pointer type
exchange-mapi-connection.c:826: warning: passing argument 3 of
'ResolveNames' from incompatible pointer type
exchange-mapi-connection.c:826: warning: passing argument 4 of
'ResolveNames' from incompatible pointer type
exchange-mapi-connection.c:826: error: too few arguments to function 'ResolveNames'
exchange-mapi-connection.c:832: error: dereferencing pointer to
incomplete type
exchange-mapi-connection.c:838: error: dereferencing pointer to
incomplete type
exchange-mapi-connection.c: In function 'exchange_mapi_util_check_restriction':
exchange-mapi-connection.c:895: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 5 has type 'mapi_id_t'
exchange-mapi-connection.c:905: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:905: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:951: error: too few arguments to function 'Restrict'
exchange-mapi-connection.c: In function 'exchange_mapi_connection_fetch_items':
exchange-mapi-connection.c:1010: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 5 has type 'mapi_id_t'
exchange-mapi-connection.c:1020: warning: passing argument 1 of
'OpenPublicFolder' from incompatible pointer type
exchange-mapi-connection.c:1020: error: too few arguments to function 'OpenPublicFolder'
exchange-mapi-connection.c:1020: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1020: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:1058: error: too few arguments to function 'Restrict'
exchange-mapi-connection.c:1181: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 7 has type 'mapi_id_t'
exchange-mapi-connection.c:1202: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 5 has type 'mapi_id_t'
exchange-mapi-connection.c: In function 'exchange_mapi_connection_fetch_item':
exchange-mapi-connection.c:1226: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 5 has type 'mapi_id_t'
exchange-mapi-connection.c:1226: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 6 has type 'mapi_id_t'
exchange-mapi-connection.c:1236: warning: passing argument 1 of
'OpenPublicFolder' from incompatible pointer type
exchange-mapi-connection.c:1236: error: too few arguments to function 'OpenPublicFolder'
exchange-mapi-connection.c:1236: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1236: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_create_folder':
exchange-mapi-connection.c:1377: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1377: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:1427: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 3 has type 'mapi_id_t'
exchange-mapi-connection.c: In function 'exchange_mapi_empty_folder':
exchange-mapi-connection.c:1457: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1457: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:1477: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 2 has type 'mapi_id_t'
exchange-mapi-connection.c: In function 'exchange_mapi_remove_folder':
exchange-mapi-connection.c:1514: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1514: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:1538: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 2 has type 'mapi_id_t'
exchange-mapi-connection.c:1548: error: too few arguments to function 'DeleteFolder'
exchange-mapi-connection.c:1554: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 2 has type 'mapi_id_t'
exchange-mapi-connection.c: In function 'exchange_mapi_rename_folder':
exchange-mapi-connection.c:1588: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1588: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_util_resolve_named_props':
exchange-mapi-connection.c:1648: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1648: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_util_resolve_named_prop':
exchange-mapi-connection.c:1725: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1725: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_util_create_named_prop':
exchange-mapi-connection.c:1804: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1804: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_get_default_folder_id':
exchange-mapi-connection.c:1861: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1861: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_create_item':
exchange-mapi-connection.c:1914: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:1914: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:1990: error: too few arguments to function 'SaveChangesMessage'
exchange-mapi-connection.c: In function 'exchange_mapi_modify_item':
exchange-mapi-connection.c:2051: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:2051: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c:2127: error: too few arguments to function 'SaveChangesMessage'
exchange-mapi-connection.c: In function 'exchange_mapi_set_flags':
exchange-mapi-connection.c:2182: warning: passing argument 1 of
'OpenPublicFolder' from incompatible pointer type
exchange-mapi-connection.c:2182: error: too few arguments to function 'OpenPublicFolder'
exchange-mapi-connection.c:2182: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:2182: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'mapi_move_items':
exchange-mapi-connection.c:2234: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:2234: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_remove_items':
exchange-mapi-connection.c:2332: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:2332: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'get_child_folders':
exchange-mapi-connection.c:2443: warning: format '%016llX' expects type 'long long unsigned int', but 
argument 4 has type 'mapi_id_t'
exchange-mapi-connection.c: In function 'set_default_folders':
exchange-mapi-connection.c:2467: warning: suggest parentheses around
assignment used as truth value
exchange-mapi-connection.c: In function 'set_owner_name':
exchange-mapi-connection.c:2482: warning: assignment discards
qualifiers from pointer target type
exchange-mapi-connection.c: In function 'set_user_name':
exchange-mapi-connection.c:2489: warning: assignment discards
qualifiers from pointer target type
exchange-mapi-connection.c: In function 'exchange_mapi_get_folders_list':
exchange-mapi-connection.c:2518: warning: passing argument 1 of
'OpenMsgStore' from incompatible pointer type
exchange-mapi-connection.c:2518: error: too few arguments to function 'OpenMsgStore'
exchange-mapi-connection.c: In function 'exchange_mapi_get_pf_folders_list':
exchange-mapi-connection.c:2604: warning: passing argument 1 of
'OpenPublicFolder' from incompatible pointer type
exchange-mapi-connection.c:2604: error: too few arguments to function 'OpenPublicFolder'
make[3]: *** [exchange-mapi-connection.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tmp/evolution-data-server/servers/mapi'
make[2]: Leaving directory `/home/tmp/evolution-data-server/servers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/evolution-data-server'
make: *** [all] Error 2




You need to use openchange svn rev 710.

Guidelines on building mapi providers is here :
http://www.go-evolution.org/MAPIProvider/

- Johnny


_______________________________________________
Evolution-list mailing list
Evolution-list gnome org
http://mail.gnome.org/mailman/listinfo/evolution-list



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