Dne po 1. října 2012 Jean Raby napsal(a): > > Thank you, I moved forward. > > However, it is another obstacle: > > > > Making all for bundle SOGoBackend... > > Creating SOGoBackend.MAPIStore/.... > > Compiling file MAPIApplication.m ... > > Compiling file MAPIStoreActiveTables.m ... > > Compiling file MAPIStoreAuthenticator.m ... > > Compiling file MAPIStoreMapping.m ... > > Compiling file MAPIStoreMIME.m ... > > Compiling file MAPIStoreTypes.m ... > > Compiling file MAPIStorePropertySelectors.m ... > > Compiling file MAPIStoreSamDBUtils.m ... > > Compiling file MAPIStoreUserContext.m ... > > Compiling file SOGoMAPIObject.m ... > > Compiling file SOGoMAPIDBObject.m ... > > Compiling file SOGoMAPIDBMessage.m ... > > Compiling file SOGoMAPIDBFolder.m ... > > In file included from SOGoMAPIDBFolder.m:54: > > /usr/include/libmapiproxy.h:70: error: field 'server_id' has > > incomplete type make[4]: *** > > [obj/SOGoBackend.obj/SOGoMAPIDBFolder.m.o] Error 1 make[3]: *** > > [internal-bundle-run-compile-submake] Error 2 > > make[2]: *** [SOGoBackend.all.bundle.variables] Error 2 > > make[1]: *** [internal-all] Error 2 > > make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange' > > Hmm that's weird, struct server_id is defined in gen_ndr/server_id.h > which is shipped with samba4-dev > > Can you re-send the build log? > > > Thanks > > Slavek > > -- > Jean Raby > jr...@inverse.ca :: +1.514.447.4918 (x120) :: www.inverse.ca > Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence > (www.packetfence.org)
I tried to prepare a patch with which building is successful. Patch is in GIT "am" format. However, the fix would probably rather be in libmapiproxy.h in OpenChange. Slavek -- -- users@sogo.nu https://inverse.ca/sogo/lists
--- Begin Message ---From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.ba...@axis.cz> Date: Tue, 2 Oct 2012 17:49:42 +0200 Subject: [PATCH] Fix FTBFS in OpenChange backend --- OpenChange/MAPIStoreContext.m | 1 + OpenChange/MAPIStoreFolder.m | 1 + OpenChange/MAPIStoreFolderTable.m | 1 + OpenChange/MAPIStoreTable.m | 1 + OpenChange/SOGoMAPIDBFolder.m | 1 + 5 files changed, 5 insertions(+) diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index 43f385c..e892814 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -52,6 +52,7 @@ #undef DEBUG #include <stdbool.h> #include <gen_ndr/exchange.h> +#include <gen_ndr/server_id.h> #include <util/attr.h> #include <libmapiproxy.h> #include <mapistore/mapistore.h> diff --git a/OpenChange/MAPIStoreFolder.m b/OpenChange/MAPIStoreFolder.m index 36d0575..8a3fe50 100644 --- a/OpenChange/MAPIStoreFolder.m +++ b/OpenChange/MAPIStoreFolder.m @@ -55,6 +55,7 @@ #import "SOGoMAPIDBMessage.h" #include <gen_ndr/exchange.h> +#include <gen_ndr/server_id.h> #undef DEBUG #include <util/attr.h> diff --git a/OpenChange/MAPIStoreFolderTable.m b/OpenChange/MAPIStoreFolderTable.m index d76c989..d2d4391 100644 --- a/OpenChange/MAPIStoreFolderTable.m +++ b/OpenChange/MAPIStoreFolderTable.m @@ -30,6 +30,7 @@ #import "MAPIStoreFolderTable.h" #undef DEBUG +#include <gen_ndr/server_id.h> #include <mapistore/mapistore.h> #include <mapistore/mapistore_nameid.h> #include <libmapiproxy.h> diff --git a/OpenChange/MAPIStoreTable.m b/OpenChange/MAPIStoreTable.m index 04dcdf7..499a3b4 100644 --- a/OpenChange/MAPIStoreTable.m +++ b/OpenChange/MAPIStoreTable.m @@ -38,6 +38,7 @@ #import "MAPIStoreTable.h" #undef DEBUG +#include <gen_ndr/server_id.h> #include <mapistore/mapistore.h> #include <mapistore/mapistore_errors.h> #include <libmapiproxy.h> diff --git a/OpenChange/SOGoMAPIDBFolder.m b/OpenChange/SOGoMAPIDBFolder.m index 1ed8d23..88764a2 100644 --- a/OpenChange/SOGoMAPIDBFolder.m +++ b/OpenChange/SOGoMAPIDBFolder.m @@ -47,6 +47,7 @@ #undef DEBUG #include <stdbool.h> +#include <gen_ndr/server_id.h> #include <talloc.h> #include <util/time.h> #include <mapistore/mapistore.h> -- 1.7.10.4
--- End Message ---