I tried to build Openchange 2.3 (from tar) with Samba 4.2.2, 4.2.4 or Samba
4.3.0 and get the same errors:
- at rpcextract making stage:
Linking bin/rpcextract



*//usr/local/samba/lib/private/libdbwrap-samba4.so: undefined reference to
`lpcfg_tdb_flags@SAMBA_HOSTCONFIG_0.0.1'//usr/local/samba/lib/private/libdbwrap-samba4.so:
undefined reference to
`lpcfg_tdb_hash_size@SAMBA_HOSTCONFIG_0.0.1'//usr/lib/i386-linux-gnu/samba/libcli-ldap.so.0:
undefined reference to
`gensec_socket_init@GENSEC_0.0.1'/usr/local/samba/lib/libgensec.so.0:
undefined reference to
`cli_credentials_get_forced_sasl_mech@SAMBA_CREDENTIALS_0.0.1'*

- if remove off rpcextract from config.mk.in, , configure.ac and Makefile I
get the following errors:














































*In file included from
testsuite/testsuite.c:25:0:/usr/local/samba/include/param.h:40:45: warning:
‘struct loadparm_context’ declared inside parameter list [enabled by
default] typedef bool (*lpcfg_defaults_hook) (struct loadparm_context
*);
^/usr/local/samba/include/param.h:40:45: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled by
default]Compiling testsuite/testsuite_common.cLinking
bin/openchange-testsuiteIn file included from
./mapiproxy/libmapistore/backends/namedprops_backend.h:30:0,
from ./mapiproxy/libmapistore/backends/namedprops_ldb.h:25,
from ./mapiproxy/libmapistore/backends/namedprops_ldb.c:22,
from
testsuite/libmapistore/mapistore_namedprops_tdb.c:23:/usr/local/samba/include/param.h:40:45:
warning: ‘struct loadparm_context’ declared inside parameter list [enabled
by default] typedef bool (*lpcfg_defaults_hook) (struct loadparm_context
*);
^/usr/local/samba/include/param.h:40:45: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled by
default]testsuite/libmapiproxy/openchangedb_multitenancy.c: In function
‘test_build_table_folders_live_filtering’:testsuite/libmapiproxy/openchangedb_multitenancy.c:1456:39:
warning: ‘idx_2’ may be used uninitialized in this function
[-Wmaybe-uninitialized]  ret = openchangedb_table_get_property(g_mem_ctx,
g_oc_ctx, table_2,
^testsuite/libmapiproxy/openchangedb_multitenancy.c:1452:39: warning: ‘idx’
may be used uninitialized in this function [-Wmaybe-uninitialized]  ret =
openchangedb_table_get_property(g_mem_ctx, g_oc_ctx,
table,                                       ^In file included from
testsuite/testsuite.h:29:0,                 from
testsuite/libmapiproxy/openchangedb_logger.c:22:testsuite/libmapiproxy/openchangedb_logger.c:113:12:
warning: ‘test_call_get_mapistoreURI’ defined but not used
[-Wunused-function] START_TEST(test_call_get_mapistoreURI) {
^testsuite/libmapiproxy/openchangedb_logger.c:121:12: warning:
‘test_call_set_mapistoreURI’ defined but not used
[-Wunused-function] START_TEST(test_call_set_mapistoreURI) {
^testsuite/libmapiproxy/openchangedb_logger.c:128:12: warning:
‘test_call_get_parent_fid’ defined but not used
[-Wunused-function] START_TEST(test_call_get_parent_fid) {
^testsuite/libmapiproxy/openchangedb_logger.c:136:12: warning:
‘test_call_get_fid’ defined but not used
[-Wunused-function] START_TEST(test_call_get_fid) {
^testsuite/libmapiproxy/openchangedb_logger.c:144:12: warning:
‘test_call_get_MAPIStoreURIs’ defined but not used
[-Wunused-function] START_TEST(test_call_get_MAPIStoreURIs) {
^testsuite/libmapiproxy/openchangedb_logger.c:152:12: warning:
‘test_call_get_ReceiveFolder’ defined but not used
[-Wunused-function] START_TEST(test_call_get_ReceiveFolder) {
^testsuite/libmapiproxy/openchangedb_logger.c: In function
‘ocdb_logger_setup’:testsuite/libmapiproxy/openchangedb_logger.c:635:14:
warning: ‘backend_ctx’ may be used uninitialized in this function
[-Wmaybe-uninitialized]  mapi_status =
openchangedb_logger_initialize(mem_ctx, 1, ">>> ", backend_ctx, &oc_ctx);*


Openchange was configured with --prefix=/usr/local/samba


The same situation was with git Openchange version on 08 September.

Patch https://lists.samba.org/archive/samba-technical/2015-July/108827.html
was applied also.


What should be done to successfully build Openchange either 2.3 or last git
version with Samba 4.3 or at least 4.2.x ?


As I heard, private debug interface at Samba 4.2 is removed at Samba 4.3,
or am I wrong ?
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to