Error compile retroarch
-
l updating to 1.8.8 gives me the following error when compiling: I'm on the latest version of retropie, with a 3b + rpi and updated.
CC deps/miniupnpc/miniwget.c CC deps/miniupnpc/miniupnpc.c CC deps/miniupnpc/minixml.c CC deps/miniupnpc/minisoap.c CC record/drivers/record_ffmpeg.c CC cores/libretro-ffmpeg/ffmpeg_core.c CC cores/libretro-ffmpeg/packet_buffer.c CC cores/libretro-ffmpeg/video_buffer.c CC libretro-common/rthreads/tpool.c CC tasks/task_decompress.c CC led/drivers/led_rpi.c LD retroarch /usr/bin/ld: /usr/local/lib/libavformat.so: undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: /usr/local/lib/libavformat.so: undefined reference to `__atomic_fetch_sub_8' /usr/bin/ld: /usr/local/lib/libavformat.so: undefined reference to `__atomic_store_8' /usr/bin/ld: /usr/local/lib/libavformat.so: undefined reference to `__atomic_load_8' collect2: error: ld returned 1 exit status make: *** [Makefile:201: retroarch] Error 1 /home/pi/RetroPie-Setup Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found). Errors: Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).
-
What version of Raspbian are you using ? Which image did you use to install RetroPie ?
-
@mitu retropie 4.6.X
@mitu said in Error compile retroarch:
What version of Raspbian are you using ? Which image did you use to install RetroPie ?
@mitu retropie 4.6.X I just saw that 4.7.1 came out in November. I haven't lit the raspberry in a long time -
@snock said in Error compile retroarch:
@mitu retropie 4.6.X
That's strange, I don't get the same error and nothing similar has been reported. Can you post the entire build log on pastebin.com ?
-
@mitu How can I copy the entire record?
-
Copy it to the ROM folder, then you can open it from your PC over file shares.
-
@mitu said in Error compile retroarch:
Copy it to the ROM folder, then you can open it from your PC over file shares.
Sorry sometimes work doesn't wait. There you have.
https://pastebin.com/1JgTUj8u -
The error seems to be related to your locally compiled/installed
ffmpeg
(/usr/local/lib/libavformat.so
). The RetroPie build script will install the necessary packages, includinglibavformat-dev
, so there's no need to installffmpeg
manually.You can use the binary install for RetroArch, installing from source will not give you a newer RetroArch version anyway.
-
@mitu Compile ffmpeg in due course because attractmode. I have recompiled / updated it adding the parameter --extra-ldflags = "- latomic" .
And now if I have been able to compile retroarch, I have even installed version 1.9.0.Everything works great now :)
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.