Previous Thread
Next Thread
Print Thread
Error building mame 0.187 #110015
06/28/17 06:13 AM
06/28/17 06:13 AM
Joined: Feb 2008
Posts: 105
Italy
M
max holz Offline OP
Senior Member
max holz  Offline OP
Senior Member
M
Joined: Feb 2008
Posts: 105
Italy
Hi
I get a linking error bulding 0.187 on Ubuntu 16.04 x64 wit gcc 6.3.0:
Code
Linking mamearcade64...
../../../../linux_gcc/bin/x64/Release/mame_arcade/libsega.a(megadriv.o): nella funzione "construct_machine_config_dcat16_megadriv(machine_config&, device_t*, device_t*)":
megadriv.cpp:(.text.unlikely+0x1077): riferimento non definito a "md_cons_state::machine_start_md_common()"
megadriv.cpp:(.text.unlikely+0x1129): riferimento non definito a "md_cons_state::screen_vblank_console(int)"
collect2: error: ld returned 1 exit status
mamearcade.make:250: set di istruzioni per l'obiettivo "../../../../../mamearcade64" non riuscito
make[2]: *** [../../../../../mamearcade64] Errore 1
Makefile:400: set di istruzioni per l'obiettivo "mamearcade" non riuscito
make[1]: *** [mamearcade] Errore 2
makefile:1242: set di istruzioni per l'obiettivo "linux_x64" non riuscito
make: *** [linux_x64] Errore 2

Re: Error building mame 0.187 [Re: max holz] #110016
06/28/17 06:16 AM
06/28/17 06:16 AM
Joined: Feb 2004
Posts: 1,986
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 1,986
Sydney, Australia
The arcade and mess subargets are not fully supported - if it breaks, you get to keep the pieces. It's possible to build the arcade subtarget on current master, but there may be other issues from big changes that were merged for the beginning of the cycle.

Re: Error building mame 0.187 [Re: max holz] #110017
06/28/17 09:36 AM
06/28/17 09:36 AM
Joined: Aug 2004
Posts: 1,358
Robbbert Offline
Very Senior Member
Robbbert  Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,358
You need to manually apply this patch:

https://git.redump.net/mame/commit/?id=f31efbf4d0a9e130c40e6d23c0bb0b109317d29a

then your compile will work.

Re: Error building mame 0.187 [Re: max holz] #110022
06/28/17 12:46 PM
06/28/17 12:46 PM
Joined: Mar 2001
Posts: 16,007
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,007
USA
It's getting important to note that if you build the arcade subtarget you're missing about 2/3rds of the whatsnew, and therefore not actually following MAME's progress in a meaningful way.


Moderated by  R. Belmont 

Who's Online Now
1 registered members (Al Kossow), 94 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,575
Posts112,038
Members4,812
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.020s Queries: 14 (0.007s) Memory: 5.6039 MB (Peak: 5.7749 MB) Zlib enabled. Server Time: 2018-09-24 01:30:25 UTC