../lib/tevent/tevent_req.c:66:8: warning: implicit declaration of function 'talloc_pooled_object' is invalid in C99 [-Wimplicit-function-declaration] req = talloc_pooled_object( ^ ../lib/tevent/tevent_req.c:67:12: error: expected expression mem_ctx, struct tevent_req, 2, ^ 1 warning and 1 error generated. Waf: Leaving directory `/Volumes/hd2/src/samba-4.3.4/bin' Build failed: -> task failed (err #1): {task: cc tevent_req.c -> tevent_req_1.o} make: *** [all] Error 1
Looks like the build picked up a very old talloc.h from a talloc version installed on your system. Can you attach the bin/config.log?
Created attachment 11842 [details] gzipped config log for samba-4.3.4 on osx 10.11
unsetting CPPFLAGS fixed this error.