> Getting the same errors here. Compiled with no errors on my first try. Or so I > thought...
Here's in easy method using default paths.
download and extract msys64-2016-01-04 to your C:\ so you have C:\msys64
inside the msys64 directory is a .git directory so it's very easy to ensure everything is updated especially if you're on Windows with Tortoise GIT (right click in msys64 and do a pull)
After you've grabbed the latest version of MAME sources also with a git pull you can open up buildtools.bat or for a fancier looking terminal use conemu.bat
by default it expects the MAME source in C:\msys64\home\[username]
If you don't want to move the MAME sources to this location then use cd in the terminal until you get it pointed to the mame folder that contains the MAME source.
open buildtools.bat or conemu.bat and paste the syntax you usually compile with.
Code:
make -j5 OPTIMIZE=3 SYMLEVEL=1 SYMBOLS=1 STRIP_SYMBOLS=1 TOOLS=1