I got stuck in the compile process:
I compiled ffmpeg aside of kodi (sucessfully, using
https://pimylifeup.com/compiling-ffmpeg-raspberry-pi/) and now am facing the following issue while linking kodi:
/usr/bin/ld.gold: error: cannot find -lmmal_core
/usr/bin/ld.gold: error: cannot find -lmmal_util
/usr/bin/ld.gold: error: cannot find -lmmal_vc_client
/usr/bin/ld.gold: error: cannot find -lbcm_host
/usr/bin/ld.gold: error: cannot find -lmmal_core
/usr/bin/ld.gold: error: cannot find -lmmal_util
/usr/bin/ld.gold: error: cannot find -lmmal_vc_client
/usr/bin/ld.gold: error: cannot find -lbcm_host
libavformat/fifo.c:519: error: undefined reference to '__atomic_store_8'
libavformat/fifo.c:624: error: undefined reference to '__atomic_fetch_add_8'
libavformat/fifo.c:631: error: undefined reference to '__atomic_store_8'
libavformat/fifo.c:188: error: undefined reference to '__atomic_fetch_sub_8'
libavformat/fifo.c:457: error: undefined reference to '__atomic_load_8'
libavformat/fifo.c:597: error: undefined reference to '__atomic_fetch_add_8'
sudo ldconfig -p | grep mmal
libmmal_vc_client.so (libc6,hard-float) => /opt/vc/lib/libmmal_vc_client.so
libmmal_util.so (libc6,hard-float) => /opt/vc/lib/libmmal_util.so
libmmal_core.so (libc6,hard-float) => /opt/vc/lib/libmmal_core.so
libmmal_components.so (libc6,hard-float) => /opt/vc/lib/libmmal_components.so
libmmal.so (libc6,hard-float) => /opt/vc/lib/libmmal.so
Does anybody has an idea? I started the process in turn to enable HW accelerated playback on the RPi 4.