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_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
-
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 fromgitPullOrClone "$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! -
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 dosudo ./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.
-
I missed the part where you were doing this to build in ffmpeg. Still the same problem though I think.
-
My bad - looks like RetroArch is broken for arm currently. Debugging.
-
-
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.
-
@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.