The initialization of vfs_commit_fns in source3/modules/vfs_commit.c partly uses struct names with _fn suffix which causes compile errors. The attached patch fixes the issue.
Created attachment 8494 [details] Patch
*** This bug has been marked as a duplicate of bug 9544 ***