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

    MAME 2014 and 2016 not compiling

    Scheduled Pinned Locked Moved Help and Support
    mamemame2014mame2016retropie
    10 Posts 3 Posters 4.6k 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.
    • EvertE
      Evert
      last edited by

      Hi guys, I've tried installing lr-MAME2014 and lr-MAME2016, but both fail. I don't really understand why though, as I have a second pi that compiled both emulators without a problem. The second one is a later build, but both have been updated to the latest setup script before trying to install.

      Details of the failing one are as following:
      Pi Model or other hardware: Pi B3
      Power Supply used: original raspberry pi one
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.1.15
      Built From: retropie-4.0.2-rpi2_rpi3.img.gz
      USB Devices connected: nil
      Controller used: PS2
      Error messages received: as per below

      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).

      Could not successfully build lr-mame2014 - Arcade emu - MAME 0.159 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2014/mame2014_libretro.so not found).

      Any thoughts guys?

      My Transformer Arcade Cabinet
      https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator
        last edited by

        full build logs are kept in /home/pi/RetroPie-Setup/logs/ - if you extract them there will be a text file with the build error somewhere near the bottom.

        1 Reply Last reply Reply Quote 0
        • EvertE
          Evert
          last edited by

          Yeah I checked the log.gz, but all I could find at the end was the above mentioned error

          My Transformer Arcade Cabinet
          https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @Evert
            last edited by

            @Evert said in MAME 2014 and 2016 not compiling:

            Yeah I checked the log.gz, but all I could find at the end was the above mentioned error

            that's just saying it couldn't build because there was a compile error. there will be the actual error before that. scroll up

            1 Reply Last reply Reply Quote 0
            • EvertE
              Evert
              last edited by

              Ok, I just scrolled through the entire log and was able to find the following errors:

              make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/devices/cpu/m68000'
              GCC 4.9.2 detected
              fatal: No names found, cannot describe anything.

              Generated 1972 opcode handlers from 523 primitives
              make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/devices/cpu/m68000'
              fatal: No names found, cannot describe anything.

              /usr/include/c++/4.9/bits/unique_ptr.h:669:5: internal compiler error: Segmentation fault
              operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
              ^
              Please submit a full bug report,
              with preprocessed source if appropriate.
              See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
              Compiling src/lib/netlist/devices/nld_ne555.cpp...
              The bug is not reproducible, so it is likely a hardware or OS problem.
              formats.make:2845: recipe for target '../../../../gmake/libretro/obj/libretro/src/lib/formats/x07_cas.o' failed
              make[2]: *** [../../../../gmake/libretro/obj/libretro/src/lib/formats/x07_cas.o] Error 1
              Makefile:25: recipe for target 'formats' failed
              make[1]: *** [formats] Error 2

              Archiving libnetlist.a...
              makefile:1213: recipe for target 'linux' failed
              make: *** [linux] Error 2
              Removing additional swap

              My Transformer Arcade Cabinet
              https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

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

                @Evert are you over clocked?

                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
                • EvertE
                  Evert
                  last edited by

                  Hi Buzz, yes it is running slightly higher, but so is the other one that is compiling both new versions of MAME.

                  My Transformer Arcade Cabinet
                  https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

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

                    @Evert Different boards are stable at different clocks etc. Also maybe you just got lucky and your overclock is not actually stable (compiling code is CPU intensive and may show up instability issues).

                    Disable the overclock and try again.

                    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
                    • EvertE
                      Evert
                      last edited by

                      Thanks Buzz, I'll give that a go tonight and I'll let you know how I go.

                      My Transformer Arcade Cabinet
                      https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

                      1 Reply Last reply Reply Quote 0
                      • EvertE
                        Evert
                        last edited by

                        Buzz, you were right mate. Lowered the clock speed from 1400 to 1200 and lr-mame2014 installed. Trying 2016 now as well, not expecting any issue.
                        I didn't have any issues running games at 1400, but it must have been a bit to high to be perfectly stable for compilation.

                        Thanks again mate.

                        My Transformer Arcade Cabinet
                        https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

                        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.