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

    No rule to make target 'obj-unix/audio/drivers_resampler/sinc_resampler_neon.o', needed by 'retroarch'

    Scheduled Pinned Locked Moved Help and Support
    compilingerrorffmpeg
    8 Posts 2 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.
    • R
      Rydra
      last edited by Rydra

      Hello,

      I'm trying to compile retroarch in order to add FFmpeg support (after getting the last version of the script, right now it says I'm at version 4.5.1, last commit 11 hours ago), but I keep getting the following error when compiling it with the command sudo ./retroarch_packages.sh retroarch:

      Make: *** No rule to make target 'obj-unix/audio/drivers_resampler/sinc_resampler_neon.o', needed by 'retroarch'. Stop.
      Make: *** Waiting for unfinished jobs...
      CC audio/drivers/alsathread.c
      /home/pi/Retropie-Setup
      Could not successfully build Retroarch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
      

      My details:

      Pi Model: 3B
      RetroPie Version Used: (4.5.1 I think)
      Guide used: https://retroresolution.com/2016/07/06/recording-live-gameplay-in-retropies-retroarch-emulators-natively-on-the-raspberry-pi/

      Is there any workaround for this? Is there any way to use a more stable build or something that could allow me to compile?

      Thank you

      1 Reply Last reply Reply Quote 0
      • R
        Rydra
        last edited by Rydra

        I got it working by doing the following:

        1- from Emustation, press F4 to enter the console
        2- enter the Retropie-Setup folder
        3- execute the following command:

        git checkout v4.0.2
        

        4- remove any existing tmp folder

        sudo rm -r tmp
        

        5- edit the file scriptmodules/emulators/retroarch.sh and change 35 from

        gitPullOrClone "$md_build" https://github.com/libretro/RetroArch.git
        

        to

        gitPullOrClone "$md_build" https://github.com/libretro/RetroArch.git v1.3.6
        

        6- Run sudo ./retroarch_packages.sh retroarch, now it perfectly compiles and works!

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

          It builds fine here. Looking at the error I suspect you had some older retroarch source tree left behind (some old dependencies from a previous compile with different options). If using retropie_packages.sh manually (Note I don't recommend this for general use unless you are able to debug issues like this), you can do sudo ./retropie_packages.sh retroarch clean to remove any left over source that may be causing an issue).

          Also retropie-setup does some other things in some cases, eg updating isn't just doing a "git pull" as some package functions are called after.

          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

            I missed the part where you were doing this to build in ffmpeg. Still the same problem though I think.

            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

              My bad - looks like RetroArch is broken for arm currently. Debugging.

              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

                https://github.com/libretro/RetroArch/issues/4239 / https://github.com/libretro/RetroArch/pull/4240

                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
                • R
                  Rydra
                  last edited by

                  I'm glad I helped find an issue. Do you advise to update to the latest version once the pull request is merged?

                  Thank you.

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

                    @Rydra I would, so long as nothing else gets broken :)

                    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.