Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04266 Compiling Minor Always Mar 1, 2011, 01:32 Mar 5, 2011, 20:21
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS Windows XP (32-bit)
Status [?] Resolved Driver
Version 0.141u3 Fixed in Version 0.142u1 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 04266: LDPLAYER: Unable to compile and does not work.
Description With updated 0.141u3 sources, LDPLAYER does not compile correctly.

Compiling src/ldplayer/ldplayer.c...
src/ldplayer/ldplayer.c: In function 'chd_file* get_disc(device_t*)':
src/ldplayer/ldplayer.c:120: error: cannot convert 'emu_file*' to 'core_file*' for argument '1' to 'chd_error chd_open_file(core_file*, int, chd_file*, chd_file**)'
make: *** [obj/windows/ldplayer/ldplayer/ldplayer.o] Error 1
Steps To Reproduce make TARGET=ldplayer
Additional Information Also reported here:
http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=67734#Post67734
Github Commit
Flags
Regression Version
Affected Sets / Systems LDPLAYER
Attached Files
zip file icon build.log.zip (49,800 bytes) Mar 1, 2011, 07:13 Uploaded by belegdol
full build log of mame rpm package for Fedora
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.07292
Tafoid
Administrator
Mar 5, 2011, 20:21
Compile is fixed r11777.
Now crashes when starting (after compile fix):

Program received signal SIGSEGV, Segmentation fault.
0x0048778c in driver_device_config_base::static_set_callback (device=0x0,
    type=driver_device_config_base::CB_MACHINE_START,
    callback=0x4021df <machine_start_ldplayer>) at src/emu/machine.c:971
971 downcast<driver_device_config_base *>(device)->m_callbacks[type] = callback;

#0 0x0048778c in driver_device_config_base::static_set_callback (device=0x0,
    type=driver_device_config_base::CB_MACHINE_START,
    callback=0x4021df <machine_start_ldplayer>) at src/emu/machine.c:971
#1 0x00402a47 in construct_machine_config_ldplayer_core (config=...,
    owner=0x0) at src/ldplayer/ldplayer.c:556
#2 0x00402c8d in construct_machine_config_ldplayer_ntsc (config=...,
    owner=0x0) at src/ldplayer/ldplayer.c:568
#3 0x0040301e in construct_machine_config_pr8210 (config=..., owner=0x0)
    at src/ldplayer/ldplayer.c:579
#4 0x00488311 in machine_config (this=0x22f718, gamedrv=...)
    at src/emu/mconfig.c:67
#5 0x0055c320 in emu_options::add_device_options (this=0x22fc34)
    at src/emu/emuopts.c:224
#6 0x0055c686 in emu_options::parse_command_line (this=0x22fc34, argc=2,
    argv=0x3f2728, error_string=...) at src/emu/emuopts.c:291
#7 0x004b2240 in cli_execute (options=..., osd=..., argc=2, argv=0x3f2728)
    at src/emu/clifront.c:183
#8 0x004033b9 in utf8_main (argc=2, argv=0x3f2728)
    at src/osd/windows/winmain.c:418
#9 0x0061237e in wmain (argc=2, argv=0x3f27d8) at src/osd/windows/main.c:82
#10 0x004013d1 in __tmainCRTStartup () at ../mingw-w64-crt/crt/crtexe.c:268
#11 0x7c817077 in RegisterWaitForInputIdle ()
   from C:\WINDOWS\system32\kernel32.dll
#12 0x00000000 in ?? ()