Hello,
I'm following the OC/SoGo appliance installation script
(http://tracker.openchange.org/projects/openchange/wiki/HowTo_build_your_own_OpenChangeSOGo_appliance)
and I'm having issues when compiling the SOGo OpenChange plugin.
I get the error below. If I take a look at time.h I can see all the
errors occur with 'bool' usage..
I'm compiling this on Debian/Stable (6.0.3) .
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 SOGoMAPIVolatileMessage.m ...
Compiling file SOGoMAPIFSFolder.m ...
In file included from SOGoMAPIFSFolder.m:43:
/usr/local/samba/include/util/time.h:83: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘null_time’
/usr/local/samba/include/util/time.h:88: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘null_nttime’
/usr/local/samba/include/util/time.h:132: error: expected declaration
specifiers or ‘...’ before ‘bool’
/usr/local/samba/include/util/time.h:139: error: expected declaration
specifiers or ‘...’ before ‘bool’
/usr/local/samba/include/util/time.h:191: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘timeval_is_zero’
/usr/local/samba/include/util/time.h:241: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘timeval_expired’
/usr/local/samba/include/util/time.h:291: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘nt_time_equal’
/usr/local/samba/include/util/time.h:301: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘null_timespec’
make[3]: *** [obj/SOGoBackend.obj/SOGoMAPIFSFolder.m.o] Error 1
make[2]: *** [internal-bundle-run-compile-submake] Error 2
make[1]: *** [SOGoBackend.all.bundle.variables] Error 2
make: *** [internal-all] Error 2
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel