This is a problem when you have modified / patched your source files, so when the the cvs merges the changes in the files it can corrupt the whole compile process.
I have the latest cvs and it compiles and works for the full 100%. If nothing works enter in the dsound dir:
rm -fr *.c *.h *.o cvs update
It will retrieve the fresh and (hopefully) working files.