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

    (Solved)Can't build lr-mame2003-plus

    Scheduled Pinned Locked Moved Help and Support
    mame 2003mame 2003 plusbuildsource
    11 Posts 5 Posters 2.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.
    • DarksaviorD
      Darksavior
      last edited by Darksavior

      I've tried sudo apt-get update and sudo apt-get install --reinstall binutils as instructed in the mame2003 plus github page but there's no change. I'm using the beta stretch image updated to 4.3.16 3e63d544.

      Update: pastebin won't take the log because it's too big. Here's the part where it has the error, which is different than my last error:

      src/vidhrdw/liberate_vidhrdw.c: In function ‘boomrang_drawsprites’: src/vidhrdw/liberate_vidhrdw.c:366:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions. Makefile:494: recipe for target 'src/vidhrdw/liberate_vidhrdw.o' failed make: *** [src/vidhrdw/liberate_vidhrdw.o] Error 1

      Update2: Fresh untouched stretch retropie image (only wifi setup). Builds fine. Updated and also builds fine. I still don't know what tweak I used that caused the problem.

      1 Reply Last reply Reply Quote 1
      • G
        gomisensei
        last edited by

        are you sure you fixed your memory split in raspi-config before compiling? The last link is a memory hogging bitch!

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

          @gomisensei Good idea, though I never had to do that before. I'll try it anyways. Change it to what?

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

            As @gomisensei said, looks like insufficient memory during the compilation. For lr-mame2003, the package adds some swap (750 mb) before compilation, but for lr-mame2003-plus this is not set.
            Add some swap memory before starting the build for the package and try again.

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

              @mitu I did forget that I did add some ram tweaks from https://www.evernote.com/shard/s3/sh/38bf9df7-5f96-4451-90e7-7d72c07f225b/8d57114e589b5a39147ffd9d6c5df1e0
              I did not use the "Set up prepare-dirs" tweak. I used, "Set noatime to fat partition ", "Mount temp and logs to RAM", "Use noop scheduler" and removed some misc stuff from there. I forgot to add ""Change swappiness to 1", so trying to build again.

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

                @darksavior No, I think that's not it. You need more RAM added temporary during the build, that's not part of the system tweaking it's just adding a file based SWAP space for the duration of the compilation.

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

                  Trying sudo nano /etc/dphys-swapfile with CONF_SWAPSIZE=2048 and 16MB for gpu. If this doesn't do it, nothing will. Odd how I never needed to do this. Probably some major changes to the emulator recently.

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

                    @darksavior said in Can't build lr-mame2003-plus:

                    Odd how I never needed to do this

                    Usually the build instruction for the package do that automatically, but for this package (which is more recent) they don't. I think that at the beginning the build instructions were similar to mame2003-libretro and carried out the memory addition during build, but they changed and this instructions were not carried on.

                    1 Reply Last reply Reply Quote 0
                    • CapemanC
                      Capeman
                      last edited by

                      @darksavior I know this is an old thread, but did you ever figure this out? im working with a fresh install of 4.4 and i cannot get lr-mame2003-plus to compile at all, fails every time. Updated the script, adjusted the swap file size to 2048, nothing is working. I swear the universe doesn't want me to be able to play RadMobile! uhg...

                      Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

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

                        @capeman Yes, it was my error. I had to disable ALL of my overclocking not just the arm_freq. Looks like the pi3b+ can't really handle overclocking the rest at 500mhz for long periods. I'm still not sure which setting it was, but removing it all did it.

                        1 Reply Last reply Reply Quote 0
                        • F
                          fuzznuzzbit
                          last edited by

                          I know this topic is old, but I was having a problem with building this as well recently. Basically the same error. Resolution was to disconnect all controllers (I had 5 plus keyboard plugged in.) Confirmed this as the solution in my case, and adding it here in case others experience it.

                          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.