There's a closed pull request on the Samba Samba Github repository fix implicit declaration of function âgetpidâ https://github.com/samba-team/samba/pull/167 Description: error happens when configure --enable-developer Signed-off-by: Stuart Hu <hushijie at qiniu.com>