MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

doughboyca
MAME Fan
Reged: 05/31/16
Posts: 2
Send PM


compiling mame 148, errors
#355069 - 05/31/16 11:40 PM


Hey there,
I am trying to compile mame 148 (never done this or anything else computer technical stuff before) I have been following the guide on Mr Do's arcade website and when I type in 'makemame' into the command field, this is the error I get.

Any help is appreciated


C:\mamesrc>cmd.exe
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\mamesrc>makemame

C:\mamesrc>set path=c:\mingw\mingw64-w64\bin

C:\mamesrc>make -j3
Compiling src/mame/drivers/rmhaihai.c...
Archiving obj/windows64/mame/alliedl.a...
Compiling src/mame/drivers/alpha68k.c...
Compiling src/mame/drivers/champbas.c...
In file included from src/emu/emu.h:74:0,
from src/mame/drivers/rmhaihai.c:31:
src/mame/drivers/rmhaihai.c: In function 'void construct_address_map_rmhaihai_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/rmhaihai.c:202:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( rmhaihai_map, AS_PROGRAM, 8, rmhaihai_state )
^
src/mame/drivers/rmhaihai.c: In function 'void construct_address_map_themj_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/rmhaihai.c:226:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( themj_map, AS_PROGRAM, 8, rmhaihai_state )
^
In file included from src/emu/emu.h:74:0,
from src/mame/drivers/champbas.c:84:
src/mame/drivers/champbas.c: In function 'void construct_address_map_talbot_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/champbas.c:226:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( talbot_map, AS_PROGRAM, 8, champbas_state )
^
In file included from src/emu/emu.h:74:0,
from src/mame/drivers/alpha68k.c:196:
src/mame/drivers/alpha68k.c: In function 'void construct_address_map_alpha68k_I_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/alpha68k.c:663:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( alpha68k_I_map, AS_PROGRAM, 16, alpha68k_state )
^
src/mame/drivers/champbas.c: In function 'void construct_address_map_exctsccrb_main_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/champbas.c:285:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( exctsccrb_main_map, AS_PROGRAM, 8, champbas_state )
^
src/mame/drivers/alpha68k.c: In function 'void construct_address_map_sound_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/alpha68k.c:738:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, alpha68k_state )
^
src/mame/drivers/champbas.c: In function 'void construct_address_map_exctsccr_main_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/champbas.c:311:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( exctsccr_main_map, AS_PROGRAM, 8, champbas_state )
^
src/emu/addrmap.h:386:34: error: typedef 'write_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef write##_bits##_delegate write_delegate; \
^
src/mame/drivers/alpha68k.c:738:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, alpha68k_state )
^
src/mame/drivers/champbas.c: In function 'void construct_address_map_exctsccr_sound_io_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/champbas.c:357:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( exctsccr_sound_io_map, AS_IO, 8, champbas_state )
^
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/alpha68k.c:738:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, alpha68k_state )
^
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/champbas.c:357:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( exctsccr_sound_io_map, AS_IO, 8, champbas_state )
^
src/mame/drivers/alpha68k.c: In function 'void construct_address_map_jongbou_sound_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/alpha68k.c:769:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( jongbou_sound_map, AS_PROGRAM, 8, alpha68k_state )
^
src/emu/addrmap.h:386:34: error: typedef 'write_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef write##_bits##_delegate write_delegate; \
^
src/mame/drivers/alpha68k.c:769:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( jongbou_sound_map, AS_PROGRAM, 8, alpha68k_state )
^
src/mame/drivers/champbas.c: In function 'void construct_address_map_mcu_map(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/champbas.c:366:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( mcu_map, AS_PROGRAM, 8, champbas_state )
^
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/alpha68k.c:769:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( jongbou_sound_map, AS_PROGRAM, 8, alpha68k_state )
^
src/emu/addrmap.h:386:34: error: typedef 'write_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef write##_bits##_delegate write_delegate; \
^
src/mame/drivers/champbas.c:366:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( mcu_map, AS_PROGRAM, 8, champbas_state )
^
src/mame/drivers/alpha68k.c: In function 'void construct_address_map_kyros_sound_portmap(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/alpha68k.c:799:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( kyros_sound_portmap, AS_IO, 8, alpha68k_state )
^
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/champbas.c:366:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( mcu_map, AS_PROGRAM, 8, champbas_state )
^
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/alpha68k.c:799:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( kyros_sound_portmap, AS_IO, 8, alpha68k_state )
^
src/mame/drivers/alpha68k.c: In function 'void construct_address_map_tnextspc_sound_portmap(address_map&, device_t&)':
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/alpha68k.c:816:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( tnextspc_sound_portmap, AS_IO, 8, alpha68k_state )
^
src/mame/drivers/alpha68k.c: In function 'void construct_address_map_i8748_portmap(address_map&, device_t&)':
src/emu/addrmap.h:385:33: error: typedef 'read_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef read##_bits##_delegate read_delegate; \
^
src/mame/drivers/alpha68k.c:1944:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( i8748_portmap, AS_IO, 8, alpha68k_state )
^
src/emu/addrmap.h:386:34: error: typedef 'write_delegate' locally defined but not used [-Werror=unused-local-typedefs]
typedef write##_bits##_delegate write_delegate; \
^
src/mame/drivers/alpha68k.c:1944:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( i8748_portmap, AS_IO, 8, alpha68k_state )
^
src/emu/addrmap.h:390:17: error: typedef 'drivdata_class' locally defined but not used [-Werror=unused-local-typedefs]
typedef _class drivdata_class; \
^
src/mame/drivers/alpha68k.c:1944:8: note: in expansion of macro 'ADDRESS_MAP_START'
static ADDRESS_MAP_START( i8748_portmap, AS_IO, 8, alpha68k_state )
^
cc1plus.exe: all warnings being treated as errors
makefile:800: recipe for target 'obj/windows64/mame/drivers/rmhaihai.o' failed
make: *** [obj/windows64/mame/drivers/rmhaihai.o] Error 1
make: *** Waiting for unfinished jobs....
cc1plus.exe: all warnings being treated as errors
makefile:800: recipe for target 'obj/windows64/mame/drivers/champbas.o' failed
make: *** [obj/windows64/mame/drivers/champbas.o] Error 1
cc1plus.exe: all warnings being treated as errors
makefile:800: recipe for target 'obj/windows64/mame/drivers/alpha68k.o' failed
make: *** [obj/windows64/mame/drivers/alpha68k.o] Error 1

C:\mamesrc>



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: compiling mame 148, errors new [Re: doughboyca]
#355072 - 06/01/16 12:14 AM


latest MAME version is 0.174.



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



doughboyca
MAME Fan
Reged: 05/31/16
Posts: 2
Send PM


Re: compiling mame 148, errors new [Re: abelenki]
#355073 - 06/01/16 12:48 AM


I know, but I was using 148, does that make any difference?



Master O
Yes, Even Parodius Music
Reged: 11/20/06
Posts: 1332
Send PM


Re: compiling mame 148, errors new [Re: doughboyca]
#355074 - 06/01/16 12:49 AM


> Hey there,
> I am trying to compile mame 148 (never done this or anything else computer technical
> stuff before) I have been following the guide on Mr Do's arcade website and when I
> type in 'makemame' into the command field, this is the error I get...

Follow these instructions instead:

http://mamedev.org/tools/



"Note to Noobs:

We are glad to help you but simply posting that something does not work is not going to lead to you getting help. The more information you can supply defining your problem, the less likely it will be that you will get smart-alec replies.

C.D.~"



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: compiling mame 148, errors new [Re: doughboyca]
#355076 - 06/01/16 12:56 AM


> I know, but I was using 148, does that make any difference?

yes. tools were updated several times after 0.148.

use latest tools and latest MAME source.



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 150 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1700