Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05364 Compiling Minor Always Nov 12, 2013, 18:34 Nov 14, 2013, 11:44
Tester aceshigh1 View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.151 Fixed in Version 0.152 Build I686
Fixed in Git Commit Github Pull Request #
Summary 05364: Error when compiling with NO_USE_QTDEBUG
Description I'm getting an error message when compiling with NO_USE_QTDEBUG:
make: *** No rule to make target `obj//usrsdl/osd/sdl/dview.o', needed by `obj//usrsdl/libosd.a'. Stop.
Steps To Reproduce uncomment this line in src/osd/sdl/sdl.mak then compile MAME:
# uncomment to disable the Qt debugger and fall back to a system default
NO_USE_QTDEBUG = 1
Additional Information This must be some leftover after R. Belmont removed deprecated GTK+ debugger on Octtober the 25th (r25832).
Is there another way to compile without QT dependencies?
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.09976
R. Belmont
Developer
Nov 12, 2013, 19:37
Try removing lines 531 and 532 of src/osd/sdl/sdl.mak, which are:

else
DEBUGOBJS = $(SDLOBJ)/debugwin.o $(SDLOBJ)/dview.o $(SDLOBJ)/debug-sup.o $(SDLOBJ)/debug-intf.o

Just remove them entirely, leaving line 533 (the "endif") intact and let me know if that works for you.
User avatar
No.09982
aceshigh1
Tester
Nov 13, 2013, 09:54
Here is the outcome:

Linking /usrmame...
obj//usrsdl/libosd.a(sdlmain.o):(.rodata._ZTV17sdl_osd_interface[vtable for sdl_osd_interface]+0x18): undefined reference to `sdl_osd_interface::init_debugger()'
obj//usrsdl/libosd.a(sdlmain.o):(.rodata._ZTV17sdl_osd_interface[vtable for sdl_osd_interface]+0x1c): undefined reference to `sdl_osd_interface::wait_for_debugger(device_t&, bool)'
obj//usrsdl/libosd.a(video.o): In function `sdl_osd_interface::update(bool)':
video.c:(.text+0x206b): undefined reference to `debugwin_update_during_game(running_machine&)'
collect2: ld returned 1 exit status
make: *** [/usrmame] Error 1
User avatar
No.09985
R. Belmont
Developer
Nov 14, 2013, 04:00
SVN #26155 resolves all issues with this option.

Please do not distribute binaries with the debugger removed in this manner.
User avatar
No.09986
aceshigh1
Tester
Nov 14, 2013, 11:44
Sure thing!
Worked like a charm. Thanks, RB!