When I compile the latest version I get loads of "undefined reference
to" errors. The full compilation log is available in
http://www.urlstarter.com/sambaoutput.txt.

This has something to do with fixing the bug #1360. When I remove the
-Wl,-Bsymbolic from the Makefile compilation goes ok.