Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04337 Compiling Minor Always May 8, 2011, 21:32 Oct 4, 2014, 08:29
Tester belegdol View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.142u3 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 04337: LDPLAYER fails to build
Description gcc -DCRLF=2 -DINLINE="static inline" -DLSB_FIRST -DNDEBUG -DDISTRO=generic "-DSDLMAME_ARCH=" -DSYNC_IMPLEMENTATION=tc -DSDLMAME_UNIX -DUSE_OPENGL=1 -DUSE_DISPATCH_GL=1 -DSDLMAME_X11 -DNATIVE_DRC=drcbe_x86 -pipe -g2 -fno-omit-frame-pointer -O2 -fno-strict-aliasing -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DINI_PATH='"/etc/mame;"' -m32 `sdl-config --cflags | sed -e 's:/SDL::' -e 's:\(-I[^ ]*\)::g'` `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0` -Isrc/ldplayer -Iobj/sdl/ldplayer/ldplayer/layout -Isrc/emu -Iobj/sdl/ldplayer/emu -Iobj/sdl/ldplayer/emu/layout -Isrc/lib/util -Isrc/lib -Isrc/osd -Isrc/osd/sdl -Isrc/debug -include src/osd/sdl/sdlprefix.h `sdl-config --cflags | sed -e 's:/SDL::' -e 's:\(-D[^ ]*\)::g'` `pkg-config --cflags fontconfig` `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0` -I/usr/X11/include -I/usr/X11R6/include -I/usr/openwin/include -Isrc/ldplayer -Iobj/sdl/ldplayer/ldplayer/layout -Isrc/emu -Iobj/sdl/ldplayer/emu -Iobj/sdl/ldplayer/emu/layout -Isrc/lib/util -Isrc/osd -Isrc/osd/sdl -x c++ -std=gnu++98 -c src/ldplayer/ldplayer.c -o obj/sdl/ldplayer/ldplayer/ldplayer.o
src/ldplayer/ldplayer.c: In constructor 'pr8210_state::pr8210_state(const machine_config&, device_type, const char*)':
src/ldplayer/ldplayer.c:111:29: error: 'config' was not declared in this scope
src/ldplayer/ldplayer.c: In constructor 'ldv1000_state::ldv1000_state(const machine_config&, device_type, const char*)':
src/ldplayer/ldplayer.c:147:29: error: 'config' was not declared in this scope
make: *** [obj/sdl/ldplayer/ldplayer/ldplayer.o] Error 1
Steps To Reproduce
Additional Information This happened when I tried to update my RPMs to 0.142u3.
Github Commit
Flags
Regression Version 0.142u3
Affected Sets / Systems
Attached Files
txt file icon build.txt (364,132 bytes) May 8, 2011, 21:32 Uploaded by belegdol
Full build log from the RPM Fusion build system
[Show Content]
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.07431
Tafoid
Administrator
May 8, 2011, 23:20
Technically, LDPLAYER is not in the TOOLS compile - so sometimes it can be missed mistakenly.
User avatar
No.07475
Tafoid
Administrator
May 27, 2011, 03:24
Some research and a few source pulls reveals r12301 is the breaking revision.
User avatar
No.07859
Tafoid
Administrator
Nov 2, 2011, 20:46
edited on: Nov 2, 2011, 20:55
E:\mamesvn\trunk>make TARGET=ldplayer -k
Compiling src/ldplayer/ldplayer.c...
src/ldplayer/ldplayer.c:102: error: 'laserdisc_device' was not declared in this scope
src/ldplayer/ldplayer.c:102: error: template argument 1 is invalid
src/ldplayer/ldplayer.c: In constructor 'ldplayer_state::ldplayer_state(const machine_config&, device_t* (*)(const machine_config&, const char*, device_t*, UINT32), const char*)':
src/ldplayer/ldplayer.c:43: error: member initializer expression list treated as compound expression
cc1plus.exe: warnings being treated as errors
src/ldplayer/ldplayer.c:43: error: left-hand operand of comma has no effect
src/ldplayer/ldplayer.c:43: error: invalid conversion from 'const char*' to 'int'
src/ldplayer/ldplayer.c: In constructor 'pr8210_state::pr8210_state(const machine_config&, device_t* (*)(const machine_config&, const char*, device_t*, UINT32), const char*)':
src/ldplayer/ldplayer.c:111: error: 'config' was not declared in this scope
src/ldplayer/ldplayer.c: In constructor 'ldv1000_state::ldv1000_state(const machine_config&, device_t* (*)(const machine_config&, const char*, device_t*, UINT32), const char*)':
src/ldplayer/ldplayer.c:147: error: 'config' was not declared in this scope
src/ldplayer/ldplayer.c: In member function 'virtual void pr8210_state::device_timer(emu_timer&, device_timer_id, int, void*)':
src/ldplayer/ldplayer.c:362: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:362: error: initializing argument 1 of 'void laserdisc_line_w(device_t*, UINT8, UINT8)'
src/ldplayer/ldplayer.c:383: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:383: error: initializing argument 1 of 'void laserdisc_line_w(device_t*, UINT8, UINT8)'
src/ldplayer/ldplayer.c: In member function 'virtual void ldv1000_state::execute_command(int)':
src/ldplayer/ldplayer.c:523: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:523: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:528: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:528: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:533: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:533: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:538: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:538: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:543: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:543: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:548: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:548: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:553: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:553: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:566: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:566: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
src/ldplayer/ldplayer.c:570: error: invalid conversion from 'int' to 'device_t*'
src/ldplayer/ldplayer.c:570: error: initializing argument 1 of 'void laserdisc_data_w(device_t*, UINT8)'
make: *** [obj/windows/ldplayer/ldplayer/ldplayer.o] Error 1
Compiling src/emu/machine/amigafdc.c...
src/emu/machine/amigafdc.c:9:28: error: includes/amiga.h: No such file or directory
src/emu/machine/amigafdc.c: In member function 'void amiga_fdc::live_run(attotime)':
src/emu/machine/amigafdc.c:157: error: 'REG_INTREQ' was not declared in this scope
src/emu/machine/amigafdc.c:157: error: 'INTENA_DSKSYN' was not declared in this scope
src/emu/machine/amigafdc.c:157: error: 'amiga_custom_w' was not declared in this scope
src/emu/machine/amigafdc.c:178: error: 'amiga_state' was not declared in this scope
src/emu/machine/amigafdc.c:178: error: 'state' was not declared in this scope
src/emu/machine/amigafdc.c:178: error: 'amiga_state' cannot appear in a constant-expression
src/emu/machine/amigafdc.c:178: error: no matching function for call to 'running_machine::driver_data()'
src/emu/machine/amigafdc.c:188: error: 'REG_INTREQ' was not declared in this scope
src/emu/machine/amigafdc.c:188: error: 'INTENA_DSKBLK' was not declared in this scope
src/emu/machine/amigafdc.c:188: error: 'amiga_custom_w' was not declared in this scope
make: *** [obj/windows/ldplayer/emu/machine/amigafdc.o] Error 1
Compiling src/emu/video/psx.c...
src/emu/video/psx.c:10:26: error: includes/psx.h: No such file or directory
src/emu/video/psx.c: In member function 'void psxgpu_device::dma_write(UINT32, INT32)':
src/emu/video/psx.c:2921: error: 'psx_state' was not declared in this scope
src/emu/video/psx.c:2921: error: 'p_psx' was not declared in this scope
src/emu/video/psx.c:2921: error: 'psx_state' cannot appear in a constant-expression
src/emu/video/psx.c:2921: error: no matching function for call to 'running_machine::driver_data()'
src/emu/video/psx.c: In member function 'void psxgpu_device::dma_read(UINT32, INT32)':
src/emu/video/psx.c:3561: error: 'psx_state' was not declared in this scope
src/emu/video/psx.c:3561: error: 'p_psx' was not declared in this scope
src/emu/video/psx.c:3561: error: 'psx_state' cannot appear in a constant-expression
src/emu/video/psx.c:3561: error: no matching function for call to 'running_machine::driver_data()'
src/emu/video/psx.c: In member function 'void psxgpu_device::vblank(screen_device&, bool)':
src/emu/video/psx.c:3645: error: 'psx_irq_set' was not declared in this scope
make: *** [obj/windows/ldplayer/emu/video/psx.o] Error 1
make: *** No rule to make target `src/ldplayer/ldplayer_dev.lst', needed by `obj/windows/ldplayer/devlist.c'.
make: Target `default' not remade because of errors.
User avatar
No.11019
Osso
Moderator
Oct 4, 2014, 06:47
Is this still happening on Linux? On Windows it compiles fine.
User avatar
No.11021
Tafoid
Administrator
Oct 4, 2014, 08:29
Yeah. Last I checked it worked. Just a bug that was not adjusted..