Need help on compiling MAME4ALL for Dreamcast~~

I plan to add some clone drivers to MAME4ALL for Dreamcast. So I needed to compiled it.
Firstly I downloaded DDEr4.iso from www.dcdev.org and installed Cygwin.
Then I downloaded sdlchui-precompiled-08-03-2008.rar from chui.dcemu.co.uk and unzipped the libs to the right directory.
After that, I downloaded mame4all-beta2-src.tar and unzipped it the harddriver.
At last, I ran Cygwin, typed “make -f Makefile.dc” ,but encountered a lot of errors.
I used to compiled it a long time ago, and it compiled successfully. But this time, I am confused why there were so many errors occured.
Can anyone give a hint on what's wrong with what I did?
I compiled it under Windows 7 64-bit.

Original thread: https://assemblergames.com/threads/need-help-on-compiling-mame4all-for-dreamcast.55215/