> > > Once I also add the "qwak" driver it compiles fine. I think there are other cases > > of > > > dependencies like these. > > Its a dependency issue. galaga.c #includes atari_vg.h, but unless atari_vg.c is > > actually compiled into mame (which it may not be due to a makefile dependency > issue), > > you will get an error. Compiling qwak compiles in runaway.c, which correctly causes > > atari_vg.c to be compiled. > > > > > > Can someone explain why does this happen and what would be the workaround? Is > this > > > expected behavior? > > You should probably report it on mametesters as a galaga driver bug. > > > > LN > > Thanks LN, I added (machine)/atari_vg.o to the galaga.c line and everything worked as > expected. Not sure if this is the correct solution thou... if I find some time later > I will look similar cases (which I already spotted) and report to mametesters.
I don't think this is an error. There are some sets of Dig Dug which use this same atari_vg routine. There is a bit of crossover on things like that - but I would talk it out first before reporting to MT, honestly. MAME wouldn't be dependent for something if it wasn't needed.
|