This set of patches fixes issues preventing build samba with --disable-shared option, at least on Ubuntu 12.04. Patches contains: - dependency fixes, - rename/remove of functions with duplicate name, - wscript fix. Each patch can be applied separately. Regards Andrzej Hajda