Bonjour,
Le vendredi 09 mars 2012, Bartłomiej Kluska a écrit... > root@ubuntu:~/SOGo/OpenChange# make > This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help. > Making all in subprojects of bundle SOGoBackend... > Making all for subproject unrtf... > make[4]: Nothing to be done for `internal-subproject-compile'. > Making all for bundle SOGoBackend... > make[3]: Nothing to be done for `internal-bundle-compile'. > Copying resources into the bundle wrapper... > Copying resources from subprojects into the bundle wrapper... > Making all for library MAPIStoreSOGo... > Compiling file MAPIStoreSOGo.m ... > MAPIStoreSOGo.m: In function âsogo_backend_initâ: > MAPIStoreSOGo.m:73:20: error: âSAMBA_PREFIXâ undeclared (first use in this > function) > MAPIStoreSOGo.m:73:20: note: each undeclared identifier is reported only once > for each function it appears in > MAPIStoreSOGo.m:73:33: error: expected â}â before string constant > MAPIStoreSOGo.m:84:43: error: âenvironâ undeclared (first use in this > function) > MAPIStoreSOGo.m:93:41: error: âSOGO_BUNDLES_DIRâ undeclared (first use in > this function) > MAPIStoreSOGo.m:93:3: warning: passing argument 1 of > âscanForProductsInDirectory:â from incompatible pointer type [enabled by > default] > MAPIStoreSOGo.m:93:3: note: expected âstruct NSString *â but argument is of > type âchar **â > MAPIStoreSOGo.m:96:51: error: âBACKEND_BUNDLE_NAMEâ undeclared (first use in > this function) > MAPIStoreSOGo.m:96:3: warning: passing argument 1 of âarrayWithObject:â from > incompatible pointer type [enabled by default] > MAPIStoreSOGo.m:96:3: note: expected âidâ but argument is of type âchar **â > MAPIStoreSOGo.m: In function âmapistore_init_backendâ: > MAPIStoreSOGo.m:1279:42: warning: assignment from incompatible pointer type > [enabled by default] > make[3]: *** [obj/MAPIStoreSOGo.obj/MAPIStoreSOGo.m.o] Error 1 > make[2]: *** [internal-library-all_] Error 2 > make[1]: *** [MAPIStoreSOGo.all.library.variables] Error 2 > make: *** [internal-all] Error 2 > so.. I'm confused again. I have a feeling that sth must have been done > wrong somewhere else because I doubt that so many changes in source > files should be made before compilation for SOGo2beta5. What's your > opinion? It seems to be worse! I think that SOGo developpers are quite good developpers, and that they did not have commited such code with so much errors. You and me, we have not the same errors, except the last one: I had an error about a String constant, but you had not this one, and you have errors about the include path, which I did not have. I note that you are compiling with gnustep-make 2.6.0. Mine si gnustep-make version 2.4.0, on Debian Squeeze. If I remove the -Werror flag, in the ADDITIONAL_INCLUDE_DIRS parts, the compilation ends successfully, but I still have the warning about the pointer type at line 1279! -- jm -- users@sogo.nu https://inverse.ca/sogo/lists