[Evolution] Compile errors in exchange-mapi-connection.c



All

I just can't seem to patch  exchange-mapi-connection.c correctly so that it completes the compile process...

Can someone point me at a patch that may already exist or simply tell me how to fix the following error:

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/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/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
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'
mv -f .deps/exchange-mapi-folder.Tpo .deps/exchange-mapi-folder.Plo
../../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/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-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 4 of 'ResolveNames' from incompatible pointer type
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: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: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: In function 'exchange_mapi_create_folder':
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: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: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_create_item':
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:2127: error: too few arguments to function 'SaveChangesMessage'
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
make[3]: *** [exchange-mapi-connection.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

 
----
Jeffrey Singleton



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