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 on ubuntu installation failed; Ubuntu, Emulationstation

    Scheduled Pinned Locked Moved Help and Support
    emulationstaionubuntu 16.04installationpsxliberto
    6 Posts 3 Posters 809 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.
    • E
      emrecaglar
      last edited by

      Log started at: Prş Eki 15 12:10:46 +03 2020
      
      RetroPie-Setup version: 4.6.9 (ca8a74a)
      System: x86 (i686) - Ubuntu 16.04.7 LTS - Linux retropieubuntu 4.15.0-120-generic #122~16.04.1-Ubuntu SMP Wed Sep 30 15:11:52 UTC 2020 i686 i686 i686 GNU/Linux
      
      = = = = = = = = = = = = = = = = = = = = =
      Installing dependencies for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
      = = = = = = = = = = = = = = = = = = = = =
      
      ~/RetroPie-Setup/tmp/build/retroarch ~/RetroPie-Setup
      
      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
      = = = = = = = = = = = = = = = = = = = = =
      
      git clone --recursive --depth 1 --branch v1.8.8 "https://github.com/libretro/RetroArch.git" "/home/emre/RetroPie-Setup/tmp/build/retroarch"
      Cloning into '/home/emre/RetroPie-Setup/tmp/build/retroarch'...
      Note: checking out '9552f87157120252a9fad2e2c108ab08c2d3735e'.
      
      You are in 'detached HEAD' state. You can look around, make experimental
      changes and commit them, and you can discard any commits you make in this
      state without impacting any branches by performing another checkout.
      
      If you want to create a new branch to retain commits you create, you may
      do so (now or later) by using -b with the checkout command again. Example:
      
        git checkout -b <new-branch-name>
      
      HEAD is now in branch 'HEAD' at commit '9552f87157120252a9fad2e2c108ab08c2d3735e'
      patching file retroarch.c
      Successfully applied patch: /home/emre/RetroPie-Setup/scriptmodules/emulators/retroarch/01_hotkey_hack.diff
      patching file menu/menu_driver.c
      Hunk #1 succeeded at 541 (offset 27 lines).
      Successfully applied patch: /home/emre/RetroPie-Setup/scriptmodules/emulators/retroarch/02_disable_search.diff
      patching file configuration.c
      Hunk #2 succeeded at 2273 (offset 1 line).
      Hunk #3 succeeded at 4174 (offset 1 line).
      patching file configuration.h
      Hunk #1 succeeded at 707 (offset 1 line).
      patching file retroarch.c
      Successfully applied patch: /home/emre/RetroPie-Setup/scriptmodules/emulators/retroarch/03_shader_path_config_enable.diff
      ~/RetroPie-Setup
      ~/RetroPie-Setup/tmp/build/retroarch ~/RetroPie-Setup
      
      = = = = = = = = = = = = = = = = = = = = =
      Building 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
      = = = = = = = = = = = = = = = = = = = = =
      
      Checking operating system ... Linux (Ubuntu 16.04.7 LTS 16.04)
      Checking for suitable working C compiler ... /usr/bin/gcc works
      Checking for suitable working C++ compiler ... /usr/bin/g++ works
      Checking for pkg-config ... /usr/bin/pkg-config
      Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes
      Checking for availability of switch -std=c++11 in /usr/bin/g++ ... yes
      Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes
      Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes
      Checking function sd_get_machine_names in -lsystemd ... no
      Checking presence of package bcm_host ... no
      .
      .
      .
      .
      .
      .
      .
      .
      .
      .
      .
      .
      .
      deps/lightrec/regcache.c: In function ‘lightrec_alloc_reg_in_ext’:
      deps/lightrec/regcache.c:307:26: warning: variable ‘nreg’ set but not used [-Wunused-but-set-variable]
        struct native_register *nreg;
                                ^
      cc -c -odeps/lightrec/recompiler.o deps/lightrec/recompiler.c  -march=native -O2 -DHAVE_OPENGL -DCORE -DTEXTURE_DUMPING_ENABLED -DHAVE_CDROM -O3 -DNDEBUG -MMD -DGIT_VERSION=\"" f4b026b"\" -DHAVE_HW -DHAVE_SHM  -DHAVE_PBP -DWANT_THREADING -DHAVE_THREADS -DNEED_DEINTERLACER -DARCH_X86 -DWANT_32BPP -DWANT_NEW_API -DFRONTEND_SUPPORTS_RGB565 -DNEED_CD -DHAVE_CHD -D_7ZIP_ST -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H -DNEED_TREMOR -DHAVE_LIGHTREC -DENABLE_THREADED_COMPILER=1 -fwrapv -fsigned-char -fomit-frame-pointer -fPIC  -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -I./deps/ugui -I./deps/zlib -I./deps/crypto -I./deps/flac-1.3.2/include -I./deps/flac-1.3.2/src/libFLAC/include -I./deps/lzma-16.04/C -I./deps/libchdr -I./deps/lightning/include -I./deps/lightrec  -DSIZEOF_DOUBLE=8 -Wall -Wvla -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized  -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.38.6\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=9386 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DWANT_PSX_EMU -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -I./parallel-psx/SPIRV-Cross -I./parallel-psx/renderer -I./parallel-psx/khronos/include -I./parallel-psx/atlas -I./parallel-psx/vulkan -I./parallel-psx/util -I./parallel-psx/volk -I./parallel-psx/glsl/prebuilt  -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -DHAVE_VULKAN
      parallel-psx/custom-textures/image_io.o: In function `stbi__jpeg_load(stbi__context*, int*, int*, int*, int)':
      image_io.cpp:(.text+0x11298): undefined reference to `__cpu_model'
      collect2: error: ld returned 1 exit status
      Makefile:657: recipe for target 'mednafen_psx_hw_libretro.so' failed
      make: *** [mednafen_psx_hw_libretro.so] Error 1
      ~/RetroPie-Setup
      Could not successfully build lr-beetle-psx - PlayStation emulator - Mednafen PSX Port for libretro (mednafen_psx_hw_libretro.so not found).
      
      Log ended at: Prş Eki 15 12:56:32 +03 2020
      Total running time: 0 hours, 45 mins, 46 secs
      
      

      Error: Could not successfully build lr-beetle-psx - PlayStation emulator - Mednafen PSX Port for libretro (mednafen_psx_hw_libretro.so not found).

      e1f481e0-6c71-40ce-b520-3b8d0e94fd38-image.png

      Please help.

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

        @emrecaglar 16.04 is too old - it's not supported anymore. Use a more recent Ubuntu distribution (18.04 or 20.04) or one of the more lightweight versions like Xubuntu/Lubuntu.

        E 1 Reply Last reply Reply Quote 1
        • E
          emrecaglar @mitu
          last edited by

          @mitu :) thanks for helps. I will try install on ubuntu 18.04

          M 1 Reply Last reply Reply Quote 0
          • M
            Melvin.FoX @emrecaglar
            last edited by

            @emrecaglar I used this tutorial to set up minimal Ubuntu installation with only openbox to run apps:


            It's the most lightweight possible set up (I guess?).

            1 Reply Last reply Reply Quote 1
            • E
              emrecaglar
              last edited by

              Thanks for helps. RetroPie setup successfully on ubuntu 18.04 minimal setup.

              M 1 Reply Last reply Reply Quote 0
              • M
                Melvin.FoX @emrecaglar
                last edited by

                @emrecaglar if you need any help to set it up please let me know - I went through some of problems with this combo (it's a bit more problematic than RetroPie for Pi :)).
                For sure you can change priviliges for config files as you won't be able to save any config in RetroArch:

                sudo chmod  -R 777 /opt/retropie/configs/
                

                Please just be mindful that this way you give access to this files and folders to EVERYONE which means that if someone connects to your computer then it has full access to all files and folders in this path.
                In my case it does not matter as I don't have constant network access to this device (it sits in arcade cab with no lan/wifi) so not much of a deal for me :)

                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.