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

    Problems installing lr-mame2016

    Scheduled Pinned Locked Moved Help and Support
    mame2016retropie-setup
    13 Posts 4 Posters 1.3k 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.
    • G
      GongStar
      last edited by

      Hello, I've tried installing lr-mame2016 on a Pi 4 with Retropie 4.6 without success.
      If I try to install the pre-compiled binary I get a failed to download error like this:

      Downloading https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-mame2016.tar.gz.asc ...
      https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-mame2016.tar.gz.asc:
      2020-10-28 00:02:10 ERROR 404: Not Found.
      URL https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-mame2016.tar.gz.asc failed to download.

      If I try to compile it from source it also fails and ends like this:

      make[3]: *** [mamearcade2016.make:477: ../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o] Error 2
      make[3]: *** Waiting for unfinished jobs....
      31031 driver(s) found
      make[2]: *** [Makefile:376: mamearcade2016] Error 2
      make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
      make[1]: *** [makefile:1214: linux] Error 2
      make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'
      make: *** [Makefile.libretro:197: build] Error 2
      Removing additional swap
      /home/pi
      Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found).

      Is there another option for me to install lr-mame2016? Can I perhaps change the faulty link of the pre-compiled bin?
      I've seen a tip to remove OC to compile which I have tried, but it wont compile even at stock.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @GongStar said in Problems installing lr-mame2016:

        make[3]: *** [mamearcade2016.make:477: ../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o] Error 2
        make[3]: *** Waiting for unfinished jobs....
        31031 driver(s) found
        make[2]: *** [Makefile:376: mamearcade2016] Error 2
        make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
        make[1]: *** [makefile:1214: linux] Error 2
        make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'
        make: *** [Makefile.libretro:197: build] Error 2

        The actual error is probably in in the previous lines, can you try and post some more lines before the error ?
        We'll try to fix the binary download issue, the package is missing the signature for some reason.

        G 1 Reply Last reply Reply Quote 0
        • DarksaviorD
          Darksavior
          last edited by

          If you can't wait, I installed it from source a few hours ago. It took me around 1hr 30min.

          1 Reply Last reply Reply Quote 0
          • G
            GongStar @mitu
            last edited by

            @mitu There doesn't seem to be much interesting above that. I uploaded the log file to a file host. https://1fichier.com/?vphtymo17sn9jt70ne24

            The only error I can find in the log though is the retromain.cpp one.

            Compiling src/osd/retro/retromain.cpp...
            g++ -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -MMD -MP -MP -D__LIBRETRO__ -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I../../../../../src/osd/retro/libretro-common/include -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/devices -I../../../../../src/mame -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/mame/layout -I../../../../generated/resource -I../../../../../3rdparty/zlib -I../../../../../3rdparty/libflac/include -I../../../../../src/osd/retro -I../../../../../src/osd/modules/render -I../../../../../3rdparty/winpcap/Include -I../../../../../3rdparty/bgfx/include -I../../../../../3rdparty/bx/include -O2 -g -fPIC -fPIC --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -include /home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/osd/retro/retroprefix.h -o "../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o" -c "../../../../../src/osd/retro/retromain.cpp"
            Assembler messages:
            Fatal error: can't create ../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o: No such file or directory
            Compiling src/osd/retro/libretro.cpp...

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              It may have run out of memory when linking the core file. Which Pi4 model do you have - the 2/4/1Gb ?

              G 1 Reply Last reply Reply Quote 0
              • G
                GongStar @mitu
                last edited by

                @mitu It's the 2Gb model. I'm currently retrying the compilation, maybe it was something temporary. I have actually successfully compiled lr-mame2016 with this board previously but removed it since I thought the performance was dodgy. The compilation at that time was done with a heavy 2147Mhz OC.

                1 Reply Last reply Reply Quote 0
                • G
                  GongStar
                  last edited by

                  The retry didn't work. Compilation of lr-mame2016 still fails with the same problem.

                  DarksaviorD 1 Reply Last reply Reply Quote 0
                  • DarksaviorD
                    Darksavior @GongStar
                    last edited by Darksavior

                    @GongStar Remove your overclock. It's probably not stable.Compiled fine here at 1950Mhz. I'm using a pi4 2GB model.

                    G 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by

                      Binaries should be updated and signed now.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • G
                        GongStar @Darksavior
                        last edited by

                        @Darksavior I have no overclock atm, it's 1500Mhz stock and it has failed to compile 3 times under this condition. It doesn't seem to be clock related since I've actually successfully compiled it even at 2147Mhz before. I have no clue why I can't compile it again. Anyhow, thanks for pushing up the updated binary. At least with that I can finally install it again. peace

                        BuZzB 2 Replies Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @GongStar
                          last edited by BuZz

                          @GongStar I would need a full log rather than a snippet to debug.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators
                            last edited by

                            Sorry. I see you did. I'll check.

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            1 Reply Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators @GongStar
                              last edited by BuZz

                              @GongStar the output of dmesg might be useful after the build fails. You are right there is nothing else in the log - I thought there might be something. Not sure of the issue if you have plenty of free space on card, and no overclock.

                              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                              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.