RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-mame: "makefile:1313: recipe for target 'linux' failed; make: *** [linux] Error 2"

    Scheduled Pinned Locked Moved Help and Support
    lr-mame
    1 Posts 1 Posters 220 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SuperFromNDS
      SuperFromND
      last edited by SuperFromND

      I'm trying to compile the current version of lr-mame on RetroPie 4.4, and I ended up running into this error:

      Compiling src/mame/video/vindictr.cpp...
      Compiling src/mame/video/wolfpack.cpp...
      Compiling src/mame/video/xybots.cpp...
      Archiving libatari.a...
      makefile:1313: recipe for target 'linux' failed
      make: *** [linux] Error 2
      Removing additional swap
      /home/pi
      Could not successfully build lr-mame - MAME emulator - MAME (current) port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame/mamearcade_libretro.so not found).
      
      Log ended at: Sat 20 Apr 00:04:38 UTC 2019
      Total running time: 2 hours, 28 mins, 48 secs
      

      There doesn't appear to be any clear reason as to what exactly caused the make target to fail; the line mentioned in the error is merely the line used to compile files, and Error 2 is a rather common error in make. Nobody else seems to have gotten this error message for lr-mame either.

      This is being compiled on a Raspberry Pi 3, with a clean install of RetroPie 4.4, on a 32GB microSD.

      Addendum: I'm currently attempting a second compile of lr-mame, and it managed to get past libatari.a, which makes me believe this was a one-time error.

      ▲▼▲▼▲▼▲▼▲▼
      IKEMEN Go
      SRB2Kart
      ▼▲▼▲▼▲▼▲▼▲

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.