Previous Thread
Next Thread
Print Thread
Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
Code
Compiling src/mame/video/vrender0.cpp...
Compiling src/mame/video/xyonix.cpp...
Archiving libmisc.a...
make: *** [macosx_x64_clang] Error 2


Tried it on an iMac and Macbook Pro with same result. I was able to compile 0.203 on both machines last month.

Joined: Feb 2004
Posts: 2,366
Likes: 81
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,366
Likes: 81
As always, you need to supply the actual compile error, not the line where make tells you that some error encountered earlier caused it to stop after completing other tasks. Seriously, is there anything there that could give any hint as to what actually failed to compile?

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
AFAIK there are no errors, only warnings.

I'd like to attach the complete log, but that seems impossible on this board.

Here is the last warning before compilation stops.

Code
Compiling src/mame/drivers/magic10.cpp...
../../../../../src/mame/drivers/limenko.cpp:1095:12: warning: 'device' is
      deprecated: absolute tag lookup; use subdevice or finder instead
      [-Wdeprecated-declarations]
        machine().device("qs1000:cpu")->memory().space(AS_IO).install_re...
                  ^
In file included from ../../../../../src/mame/drivers/limenko.cpp:1:
In file included from ../../../../../src/emu/emu.h:88:
/Users/charel/Desktop/mame/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/machine.h:213:4: note: 
      'device' has been explicitly marked deprecated here
        [[deprecated("absolute tag lookup; use subdevice or finder inste...
          ^
Compiling src/mame/drivers/magicard.cpp...
Compiling src/mame/drivers/magicfly.cpp...
Compiling src/mame/drivers/magictg.cpp...
Compiling src/mame/drivers/magreel.cpp...
Compiling src/mame/drivers/magtouch.cpp...
Compiling src/mame/drivers/majorpkr.cpp...
Compiling src/mame/drivers/malzak.cpp...
Compiling src/mame/drivers/marywu.cpp...
Compiling src/mame/drivers/mcatadv.cpp...
Compiling src/mame/drivers/megaphx.cpp...
1 warning generated.
Compiling src/mame/drivers/meyc8080.cpp...
Compiling src/mame/drivers/meyc8088.cpp...
Compiling src/mame/drivers/mgavegas.cpp...
Compiling src/mame/drivers/micro3d.cpp...
Compiling src/mame/drivers/midas.cpp...
Compiling src/mame/drivers/mil4000.cpp...
Compiling src/mame/drivers/miniboy7.cpp...
Compiling src/mame/drivers/mirax.cpp...
Compiling src/mame/drivers/mjsenpu.cpp...
Compiling src/mame/drivers/mole.cpp...
Compiling src/mame/drivers/mosaic.cpp...
Compiling src/mame/drivers/mpu12wbk.cpp...
Compiling src/mame/drivers/multfish.cpp...
Compiling src/mame/drivers/multfish_boot.cpp...
Compiling src/mame/drivers/murogem.cpp...
Compiling src/mame/drivers/murogmbl.cpp...
Compiling src/mame/drivers/neoprint.cpp...
Compiling src/mame/drivers/neptunp2.cpp...
Compiling src/mame/drivers/news.cpp...
Compiling src/mame/drivers/nexus3d.cpp...
Compiling src/mame/drivers/nibble.cpp...
Compiling src/mame/drivers/norautp.cpp...
Compiling src/mame/drivers/notechan.cpp...
Compiling src/mame/drivers/nsg6809.cpp...
Compiling src/mame/drivers/nsmpoker.cpp...
Compiling src/mame/drivers/odyssey.cpp...
Compiling src/mame/drivers/oneshot.cpp...
Compiling src/mame/drivers/onetwo.cpp...
Compiling src/mame/drivers/othello.cpp...
Compiling src/mame/drivers/pachifev.cpp...
Compiling src/mame/drivers/pasha2.cpp...
Compiling src/mame/drivers/pass.cpp...
Compiling src/mame/drivers/photon.cpp...
Compiling src/mame/drivers/photon2.cpp...
Compiling src/mame/drivers/photoply.cpp...
Compiling src/mame/drivers/piggypas.cpp...
Compiling src/mame/drivers/pipeline.cpp...
Compiling src/mame/drivers/pkscram.cpp...
Compiling src/mame/drivers/pntnpuzl.cpp...
Compiling src/mame/drivers/poker72.cpp...
Compiling src/mame/drivers/policetr.cpp...
Compiling src/mame/drivers/polyplay.cpp...
Compiling src/mame/drivers/potgoldu.cpp...
Compiling src/mame/drivers/proconn.cpp...
Compiling src/mame/drivers/pse.cpp...
Compiling src/mame/drivers/quizo.cpp...
Compiling src/mame/drivers/quizpun2.cpp...
Compiling src/mame/drivers/rbmk.cpp...
Compiling src/mame/drivers/rcorsair.cpp...
Compiling src/mame/drivers/re900.cpp...
Compiling src/mame/drivers/rgum.cpp...
Compiling src/mame/drivers/roul.cpp...
Compiling src/mame/drivers/sanremmg.cpp...
Compiling src/mame/drivers/sanremo.cpp...
Compiling src/mame/drivers/savquest.cpp...
Compiling src/mame/drivers/scm_500.cpp...
Compiling src/mame/drivers/sealy.cpp...
Compiling src/mame/drivers/sfbonus.cpp...
Compiling src/mame/drivers/shangkid.cpp...
Compiling src/mame/drivers/skeetsht.cpp...
Compiling src/mame/drivers/skimaxx.cpp...
Compiling src/mame/drivers/skyarmy.cpp...
Compiling src/mame/drivers/skylncr.cpp...
Compiling src/mame/drivers/sliver.cpp...
Compiling src/mame/drivers/smsmcorp.cpp...
Compiling src/mame/drivers/sothello.cpp...
Compiling src/mame/drivers/spool99.cpp...
Compiling src/mame/drivers/sprcros2.cpp...
Compiling src/mame/drivers/sshot.cpp...
Compiling src/mame/drivers/ssingles.cpp...
Compiling src/mame/drivers/sstrangr.cpp...
Compiling src/mame/drivers/statriv2.cpp...
Compiling src/mame/drivers/strkzn.cpp...
Compiling src/mame/drivers/stuntair.cpp...
Compiling src/mame/drivers/su2000.cpp...
Compiling src/mame/drivers/subhuntr.cpp...
Compiling src/mame/drivers/summit.cpp...
Compiling src/mame/drivers/sumt8035.cpp...
Compiling src/mame/drivers/supercrd.cpp...
Compiling src/mame/drivers/supertnk.cpp...
Compiling src/mame/drivers/tapatune.cpp...
Compiling src/mame/drivers/tattack.cpp...
Compiling src/mame/drivers/taxidriv.cpp...
Compiling src/mame/drivers/thayers.cpp...
Compiling src/mame/drivers/thedeep.cpp...
Compiling src/mame/drivers/tickee.cpp...
Compiling src/mame/drivers/tmspoker.cpp...
Compiling src/mame/drivers/truco.cpp...
Compiling src/mame/drivers/trucocl.cpp...
Compiling src/mame/drivers/trvmadns.cpp...
Compiling src/mame/drivers/trvquest.cpp...
Compiling src/mame/drivers/ttchamp.cpp...
Compiling src/mame/drivers/tugboat.cpp...
Compiling src/mame/drivers/umipoker.cpp...
Compiling src/mame/drivers/unkhorse.cpp...
Compiling src/mame/drivers/usbilliards.cpp...
Compiling src/mame/drivers/usgames.cpp...
Compiling src/mame/drivers/vamphalf.cpp...
Compiling src/mame/drivers/vcombat.cpp...
Compiling src/mame/drivers/vectrex.cpp...
Compiling src/mame/drivers/video21.cpp...
Compiling src/mame/drivers/videosaa.cpp...
Compiling src/mame/drivers/vlc.cpp...
Compiling src/mame/drivers/voyager.cpp...
Compiling src/mame/drivers/vp101.cpp...
Compiling src/mame/drivers/vpoker.cpp...
Compiling src/mame/drivers/vroulet.cpp...
Compiling src/mame/drivers/wacky_gator.cpp...
Compiling src/mame/drivers/wildpkr.cpp...
Compiling src/mame/drivers/wms.cpp...
Compiling src/mame/drivers/xtom3d.cpp...
Compiling src/mame/drivers/xyonix.cpp...
Compiling src/mame/drivers/yuvomz80.cpp...
Compiling src/mame/machine/3do.cpp...
Compiling src/mame/machine/cdi070.cpp...
Compiling src/mame/machine/cdicdic.cpp...
Compiling src/mame/machine/cdislave.cpp...
Compiling src/mame/machine/inder_sb.cpp...
Compiling src/mame/machine/inder_vid.cpp...
Compiling src/mame/machine/micro3d.cpp...
Compiling src/mame/machine/vectrex.cpp...
Compiling src/mame/video/4enraya.cpp...
Compiling src/mame/video/ampoker2.cpp...
Compiling src/mame/video/amspdwy.cpp...
Compiling src/mame/video/artmagic.cpp...
Compiling src/mame/video/aztarac.cpp...
Compiling src/mame/video/calomega.cpp...
Compiling src/mame/video/cave.cpp...
Compiling src/mame/video/dcheese.cpp...
Compiling src/mame/video/dribling.cpp...
Compiling src/mame/video/epos.cpp...
Compiling src/mame/video/esd16.cpp...
Compiling src/mame/video/esripsys.cpp...
Compiling src/mame/video/freekick.cpp...
Compiling src/mame/video/gotcha.cpp...
Compiling src/mame/video/gumbo.cpp...
Compiling src/mame/video/homedata.cpp...
Compiling src/mame/video/kyugo.cpp...
Compiling src/mame/video/ladyfrog.cpp...
Compiling src/mame/video/lethalj.cpp...
Compiling src/mame/video/malzak.cpp...
Compiling src/mame/video/mcatadv.cpp...
Compiling src/mame/video/mcd212.cpp...
Compiling src/mame/video/micro3d.cpp...
Compiling src/mame/video/mosaic.cpp...
Compiling src/mame/video/news.cpp...
Compiling src/mame/video/oneshot.cpp...
Compiling src/mame/video/pass.cpp...
Compiling src/mame/video/pk8000.cpp...
Compiling src/mame/video/policetr.cpp...
Compiling src/mame/video/polyplay.cpp...
Compiling src/mame/video/shangkid.cpp...
Compiling src/mame/video/taxidriv.cpp...
Compiling src/mame/video/thedeep.cpp...
Compiling src/mame/video/truco.cpp...
Compiling src/mame/video/trucocl.cpp...
Compiling src/mame/video/usgames.cpp...
Compiling src/mame/video/vectrex.cpp...
Compiling src/mame/video/vrender0.cpp...
Compiling src/mame/video/xyonix.cpp...
Archiving libmisc.a...
make: *** [macosx_x64_clang] Error 2
Charels-MacBook-Pro:mame charel$ 

Joined: May 2009
Posts: 2,032
Likes: 66
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,032
Likes: 66
Post the full compilation log somewhere that does support it, in that case. Seriously, nobody can help you without knowing the actual error. Period.

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1

Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
Thanks. The error is:

Code
../../../../../src/mame/drivers/mips.cpp:233:34: error: lambda capture 'this' is
      not used [-Werror,-Wunused-lambda-capture]
        map(0x0180, 0x018b).lr8("mac", [this](offs_t offset)

Joined: Jul 2007
Posts: 225
Senior Member
Offline
Senior Member
Joined: Jul 2007
Posts: 225
Yep, exact same error over here on OS 10.13.6..

Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
I think if you edit that line and remove the "this", like so (example may not show entire line):

Code
map(0x0180, 0x018b).lr8("mac", [](offs_t offset)


it should build.

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
Yep, compiles and runs fine now. Thanks.

Joined: Jul 2007
Posts: 225
Senior Member
Offline
Senior Member
Joined: Jul 2007
Posts: 225
Worked here too! Thanks RB!


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (r09), 16 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,085
Posts119,077
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com