Please do not post a support request without first reading and following the advice in

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

  • 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:

    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
    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:

    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

  • 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/ and change 35 from

    gitPullOrClone "$md_build"


    gitPullOrClone "$md_build" v1.3.6

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

  • administrators

    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 manually (Note I don't recommend this for general use unless you are able to debug issues like this), you can do sudo ./ 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.

  • administrators

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

  • administrators

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

  • administrators

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

  • administrators

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

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.