Files are missing in xserver 1.12 release, e.g. test/ddxstubs.c. But git snapshot has the files.
This was fixed a while ago. It's in the 1.12.1 tarball.