Re: [SOGo] OpenChange connector compilation error

2012-03-08 Thread Jean-Michel OLTRA

Bonjour,


Le mercredi 07 mars 2012, Jean-Michel OLTRA a écrit...


 But I have another:

 MAPIStoreFallbackContext.m: In function ‘+[MAPIStoreFallbackContext
 createRootSecondaryFolderWithFID:andName:forUser:]’:
 MAPIStoreFallbackContext.m:97: error: expected ‘:’ before string
 constant
 make[3]: *** [obj/SOGoBackend.obj/MAPIStoreFallbackContext.m.o] Erreur 1
 make[2]: *** [internal-bundle-run-compile-submake] Erreur 2
 make[1]: *** [SOGoBackend.all.bundle.variables] Erreur 2

 Syntax error?

I escaped the double quotes:

return [NSString stringWithFormat:
@sogo://%@@fallback/0x%.16\PRIx64\/, userName, (unsigned long long) fid];

Is that correct? The error has disappeard! A developper comment would be
welcomed.


-- 
jm

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange connector compilation error

2012-03-06 Thread Jean-Michel OLTRA

Bonjour,


Le dimanche 04 mars 2012, Jean-Michel OLTRA a écrit...


 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)?

This one is solved : some files where remaining from previous
installation of beta4 version, in /usr/local/include (and other
locations).

But I have another:

MAPIStoreFallbackContext.m: In function ‘+[MAPIStoreFallbackContext
createRootSecondaryFolderWithFID:andName:forUser:]’:
MAPIStoreFallbackContext.m:97: error: expected ‘:’ before string
constant
make[3]: *** [obj/SOGoBackend.obj/MAPIStoreFallbackContext.m.o] Erreur 1
make[2]: *** [internal-bundle-run-compile-submake] Erreur 2
make[1]: *** [SOGoBackend.all.bundle.variables] Erreur 2

Syntax error?

Thanks.

-- 
jm

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] OpenChange connector compilation error

2012-03-04 Thread Jean-Michel OLTRA

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 #includestdbool.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

-- 
users@sogo.nu
https://inverse.ca/sogo/lists