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

    RetroPie X86 - Could not successfully build lr-genesis-plus-gx

    Scheduled Pinned Locked Moved Help and Support
    lr-genesis-plusretropie x86error
    18 Posts 4 Posters 4.1k 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.
    • markwkiddM
      markwkidd @obsidianspider
      last edited by markwkidd

      @obsidianspider said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:

      After quite a while I decided to update my X86 installation (running on GalliumOS 2.1) of RetroPie to 4.2.12. Things take forever on X86 because everything is built from source, but I'm used to that.

      At the end I got a notice about lr-genesis-plus-gx failing. I tried updating it again on its own, same error. Finally i removed it and tried installing it. Same error. I see that it's looking for a file, but I can't seem to locate genesis_plus_gx_libretro.so even on github.

      0_1501001637330_Screenshot_2017-07-25_12-22-13.png

      I put the log file on Pastebin.

      Any suggestions for how to resolve this? I don't mind manually placing a file, but that directory is locked, and every time I run the installer that directory is deleted and recreated.

      That is the name of the file that the compiler is supposed to build -- ie that is the "core" executable itself. Hopefully others will have more specific advice but I wanted to save you trying to find a copy of the file on github.

      Well, on the other hand you might just be able to download the compiled x86 linux version of that core from the retroarch buildbot and not worry about compiling it yourself. (Beware I know more about RetroArch in this situation than RetroPie!)

      obsidianspiderO 1 Reply Last reply Reply Quote 1
      • obsidianspiderO
        obsidianspider @markwkidd
        last edited by

        @markwkidd That makes sense that it's a file that the computer is supposed to build locally. I guess that means something is funky with what got downloaded from github. Either there are "bad" instructions somewhere or a file got missed in the download?

        📷 @obsidianspider

        markwkiddM 1 Reply Last reply Reply Quote 0
        • markwkiddM
          markwkidd @obsidianspider
          last edited by markwkidd

          @obsidianspider I think there is something wrong with the current source in the github repository.

          There is a recent list of commits mentioning 'reverting' things and fixing builds. I see no corresponding Issue about this though. https://github.com/libretro/Genesis-Plus-GX/commits/master

          I would suggest double checking to see that there isn't an Issue going, and if not post one in the libretro github tracker with your log. I track a few libretro repos but not this one, I'm just guessing what they're up to!

          obsidianspiderO 1 Reply Last reply Reply Quote 0
          • markwkiddM
            markwkidd
            last edited by

            Are you running 32bits or 64bits? Some people write x86 to mean 32-bit, but some people use it to refer to 32-bit x86 as well as x86_64.

            If it's 32, is there any chance you'd be willing to test Killer Instinct for MAME 2003 once you get things up and running? It would probably be the first time in history that title has been played in RetroPie.

            obsidianspiderO 1 Reply Last reply Reply Quote 0
            • obsidianspiderO
              obsidianspider @markwkidd
              last edited by

              It's a Celeron Chromebook with 4GB of RAM. The OS is 64-bit, but I'm not sure if/how RetroPie determines any of that.

              📷 @obsidianspider

              1 Reply Last reply Reply Quote 0
              • obsidianspiderO
                obsidianspider @markwkidd
                last edited by

                @markwkidd said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:

                If it's 32, is there any chance you'd be willing to test Killer Instinct for MAME 2003 once you get things up and running? It would probably be the first time in history that title has been played in RetroPie.

                Per the logging, MAME 2003 didn't like the CHD, but Killer Instinct works just fine with MAME 2010. This is on a "real" computer with a Celeron and 4GB of RAM.

                📷 @obsidianspider

                markwkiddM 1 Reply Last reply Reply Quote 0
                • markwkiddM
                  markwkidd @obsidianspider
                  last edited by markwkidd

                  @obsidianspider said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:

                  It's a Celeron Chromebook with 4GB of RAM. The OS is 64-bit, but I'm not sure if/how RetroPie determines any of that.

                  Sounds like a 64 bit build of RetroArch and MAME 2003 to me :( Thank you for testing.

                  For what it's worth, as of last week the buildbot is definitely compiling 32-bit x86 MAME 2003 cores for Windows that run Killer Instinct.

                  I don't think it can work on your architecture without customizing the RetroPie-setup script to build a 32-bit RetroArch and core, which a x64 bit system can run. If this is really your game and you'd enjoy playing it, I would be willing to try to help customize the build to make it work, but otherwise I think that's a project for another day...

                  edit: Killer Instinct does need a ZIP and a CHD of the correct version, which is different than the MAME 2010.

                  obsidianspiderO 1 Reply Last reply Reply Quote 0
                  • obsidianspiderO
                    obsidianspider @markwkidd
                    last edited by

                    @markwkidd I am trying to get Genesis Plus GX to compile.
                    You're the one who brought up MAME and Killer Instinct…
                    0_1501008992258_Screen Shot 2017-07-25 at 2.56.10 PM.png

                    📷 @obsidianspider

                    markwkiddM 1 Reply Last reply Reply Quote 0
                    • markwkiddM
                      markwkidd @obsidianspider
                      last edited by

                      @obsidianspider it's true. I need to set linux up and retropie x86 to do my own test. I'm currently trying to get the hang of building retroarch and cores myself, in Windows with mysys.

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

                        there's a bunch of errors in that log file. the message that retropie-setup gives you is a generic one that basically means 'this build failed'. i would log an issue here: https://github.com/ekeeke/Genesis-Plus-GX

                        you could say something like "Build errors on x86" then include the error log.

                        might be also good if someone else who runs x86 retropie can confirm they get the same error.

                        obsidianspiderO 1 Reply Last reply Reply Quote 0
                        • obsidianspiderO
                          obsidianspider @dankcushions
                          last edited by

                          @dankcushions said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:

                          Build errors on x86

                          Thanks! I'm still very green with Github, so hopefully the issue I created is helpful.

                          📷 @obsidianspider

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

                            sorry, looks like i pointed you to the wrong github repo! but it looks like maybe the issue is fixed now if you try again?

                            obsidianspiderO 1 Reply Last reply Reply Quote 0
                            • obsidianspiderO
                              obsidianspider @dankcushions
                              last edited by

                              @dankcushions I tried again and it didn't fail after 3 seconds, but it still failed. :-/

                              📷 @obsidianspider

                              markwkiddM 1 Reply Last reply Reply Quote 0
                              • markwkiddM
                                markwkidd @obsidianspider
                                last edited by

                                @obsidianspider said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:

                                @dankcushions I tried again and it didn't fail after 3 seconds, but it still failed. :-/

                                The github tracker I linked earlier is the right one.

                                1 Reply Last reply Reply Quote 0
                                • obsidianspiderO
                                  obsidianspider
                                  last edited by

                                  Looks like it's a problem on a Pi too.

                                  📷 @obsidianspider

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

                                    I submitted a fix (the original issue was resolved, but there was another problem with the fix due to a duplicate static)

                                    The fix may or may not be accepted - it's one way of fixing it - depending if they want to change the file that uses INLINE or change the definition of INLINE and remove static, and instead use static in the source where needed.

                                    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 2
                                    • obsidianspiderO
                                      obsidianspider
                                      last edited by

                                      The repository has been updated and I can now build in x86_64

                                      📷 @obsidianspider

                                      1 Reply Last reply Reply Quote 1
                                      • 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.