Given the similarity to Bug#7968 I think the module in question is missing a dependency on talloc: ~/samba4$ env CFLAGS="-g -O0" ./configure --enable-s3build --prefix=/opt/smb && make <snip> WAF_MAKE=1 ./buildtools/bin/waf build Waf: Entering directory `/home/CORPUSERS/23059934/samba4/bin' [ 76/3275] Generating VERSION [1631/3275] Compiling libcli/nbt/lmhosts.c In file included from ../libcli/nbt/lmhosts.c:24: ../source4/include/includes.h:54:20: error: talloc.h: No such file or directory In file included from ../source4/../lib/util/util.h:24, from ../source4/include/includes.h:61, from ../libcli/nbt/lmhosts.c:24: <snip> Waf: Leaving directory `/home/user/samba4/bin' Build failed: -> task failed (err #1): {task: cc lmhosts.c -> lmhosts_3.o} make: *** [all] Error 1 this is in a clean chroot on an ubuntu lucid build system, no talloc packages are installed.
Fixed with 22c407d8bd01d98498c1960b58b5d49d8dda8899.