Bonjour,
I have downloaded, and compiled, SOGo, using the Installation Guide for
2.0.0beta5.
Then I have tried to build the OpenChange Connector for SOGo.
First, I got the time.h error, referenced here:
http://tracker.openchange.org/projects/openchange/wiki/HowTo_build_your_own_OpenChangeSOGo_appliance
I choosed to add the #include<stdbool.h> fix.
But, then, I got another compilation error:
Compiling file MAPIStoreContext.m ...
MAPIStoreContext.m: In function ‘+[MAPIStoreContext
listAllContextsForUser:withTDBIndexing:inMemCtx:]’:
MAPIStoreContext.m:127: error: dereferencing pointer to incomplete type
MAPIStoreContext.m:127: error: dereferencing pointer to incomplete type
MAPIStoreContext.m:127: error: dereferencing pointer to incomplete type
MAPIStoreContext.m:127: error: dereferencing pointer to incomplete type
MAPIStoreContext.m:127: error: dereferencing pointer to incomplete type
MAPIStoreContext.m: At top level:
MAPIStoreContext.m:141: error: parameter 2 (‘role’) has incomplete type
MAPIStoreContext.m: In function ‘MAPIStoreLookupContextClassByRole’:
MAPIStoreContext.m:145: error: storage size of ‘classRole’ isn’t known
MAPIStoreContext.m:158: error: invalid use of undefined type ‘enum
mapistore_context_role’
cc1obj: warnings being treated as errors
MAPIStoreContext.m:145: error: unused variable ‘classRole’
MAPIStoreContext.m: In function ‘+[MAPIStoreContext
createRootFolder:withFID:andName:forUser:withRole:]’:
MAPIStoreContext.m:183: error: ‘role’ has an incomplete type
MAPIStoreContext.m:183: error: type of formal parameter 2 is incomplete
MAPIStoreContext.m: At top level:
cc1obj: error: type ‘({anonymous})’ does not have a known size
MAPIStoreContext.m:539: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccuQeipY.out file, please attach
this to your bugreport.
make[3]: *** [obj/SOGoBackend.obj/MAPIStoreContext.m.o] Erreur 1
make[2]: *** [internal-bundle-run-compile-submake] Erreur 2
make[1]: *** [SOGoBackend.all.bundle.variables] Erreur 2
make: *** [internal-all] Erreur 2
Is there something to do (Debian Squeeze box)?
Thanks.
--
jm
--
[email protected]
https://inverse.ca/sogo/lists