I am able to successfully compile a resized Mame2003 itech32 core using Wiimpathy's makefile.common and driver.c files without any issues. The resulting dol boots fine.
I do still, however, run into problems with 'undefined references' from usrintrf.c pertaining to neogeo mcd and memcard lines while compiling the core, if I ever choose to omit any of the neogeo machine/vidhrdw/drivers lines from the makefile.common file. Is there any way to exclude NeoGeo from the build entirely?
If I leave the NeoGeo lines in makefile.common, those undefined references will go away. But I'm still getting undefined references only to the drivers/game name tites I've exclusively put in driver.c.
For example: .\libretro_wii.a(driver.o)
.data.driver+0x0): undefined reference to 'driver.tmnt'
I'm assuming I just haven't included all the necessary CPU/drivers/sound files to the makefile.common, but I'm certain I've included all the necessary files, and I usually will get an undefined reference if any of those files are missing.