MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

franciscohs
M.A.M.E. fan
Reged: 10/04/08
Posts: 174
Loc: Argentina
Send PM
Please somone explain dependency between galaga and qwak drivers
07/25/10 12:43 AM


I'm building a custom MAME for my own use with fewer games than the normal build. However I'm not using the tiny build, since I'm keeping hundreds of games anyway, so I was only deleting the games I don't want from mamedriv.c

I know this way I will still compile lots of things I don't want, but that's not a problem for me.

The strange thing is that while doing this I discovered that I cannot leave only the driver "galaga" without also having the "qwak" driver, since the compilation will fail while linking:

Compiling src/mame/mamedriv.c...
Compiling src/version.c...
Linking mame64...
obj/sdl/mame64/mame/namco.a(galaga.o):(.rodata+0x72f8): undefined reference to `device_get_config_atari_vg_earom(device_config const*, unsigned int, deviceinfo*)'
obj/sdl/mame64/mame/namco.a(galaga.o):(.rodata+0xb5b8): undefined reference to `atari_vg_earom_r(running_device*, unsigned int)'
obj/sdl/mame64/mame/namco.a(galaga.o):(.rodata+0xb5c8): undefined reference to `atari_vg_earom_w(running_device*, unsigned int, unsigned char)'
obj/sdl/mame64/mame/namco.a(galaga.o):(.rodata+0xb5f8): undefined reference to `atari_vg_earom_ctrl_w(running_device*, unsigned int, unsigned char)'
collect2: ld returned 1 exit status
make: *** [mame64] Error 1


Once I also add the "qwak" driver it compiles fine. I think there are other cases of dependencies like these.

Can someone explain why does this happen and what would be the workaround? Is this expected behavior?

(A clean compile didn't solve the problem)







Entire thread
Subject Posted by Posted on
* Please somone explain dependency between galaga and qwak drivers franciscohs 07/25/10 12:43 AM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  07/25/10 05:00 AM
. * Re: Please somone explain dependency between galaga and qwak drivers franciscohs  07/30/10 01:37 AM
. * Re: Please somone explain dependency between galaga and qwak drivers TafoidAdministrator  07/30/10 02:12 AM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  08/01/10 07:46 PM
. * Re: Please somone explain dependency between galaga and qwak drivers etabeta  08/03/10 05:29 PM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  08/03/10 11:10 PM
. * Re: Please somone explain dependency between galaga and qwak drivers etabeta  08/04/10 09:06 AM
. * Re: Please somone explain dependency between galaga and qwak drivers franciscohs  08/05/10 10:10 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 6 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4516