build problems with samba, not bundled with ldb

Brad Hards bradh at frogmouth.net
Sun Dec 12 13:39:45 MST 2010


http://git.samba.org/?p=samba.git;a=commit;h=c5deda5d85707cf12b491e4887ca2871be742128
appears to have broken the build for the "ldb is not bundled" case

[ 495/2264] Compiling param/provision.c
In file included from ../param/provision.c:21:
../lib/ldb/pyldb.h:31:25: error: ldb_private.h: No such file or directory
In file included from ../param/provision.c:21:
../lib/ldb/pyldb.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyObject_AsDn'
../param/provision.c: In function 'provision_store_self_join':
../param/provision.c:237: error: implicit declaration of function 'ldb_transaction_start'
../param/provision.c:239: error: 'LDB_SUCCESS' undeclared (first use in this function)
../param/provision.c:239: error: (Each undeclared identifier is reported only once
../param/provision.c:239: error: for each function it appears in.)
../param/provision.c:242: error: implicit declaration of function 'ldb_errstring'
../param/provision.c:242: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
../param/provision.c:315: error: implicit declaration of function 'ldb_transaction_commit'
../param/provision.c:319: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
../param/provision.c:329: error: implicit declaration of function 'ldb_transaction_cancel'
Waf: Leaving directory `/home/buildslave1/buildbot/everything/build/samba4/source4/bin'
Build failed:  -> task failed (err #1): 
        {task: cc provision.c -> provision_7.o}
make: *** [all] Error 1

Can you please take a look?

Brad


More information about the samba-technical mailing list