I was having trouble compiling a plain MAME due to the same devices earlier, I think something has been set up incorrectly.