Hi all,
I am unable to compile ffmpeg 4.0.2 with hevc optimizations on RPi stretch with the following error
Code
LD ffmpeg_g
LD ffplay_g
LD ffprobe_g
/usr/bin/ld: libavcodec/libavcodec.a(rpi_qpu.o): undefined reference to symbol 'vcsm_vc_hdl_from_hdl'
//opt/vc/lib/libvcsm.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:107: recipe for target 'ffprobe_g' failed
make: *** [ffprobe_g] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: libavcodec/libavcodec.a(rpi_qpu.o): undefined reference to symbol 'vcsm_vc_hdl_from_hdl'
//opt/vc/lib/libvcsm.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:107: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
/usr/bin/ld: libavcodec/libavcodec.a(rpi_qpu.o): undefined reference to symbol 'vcsm_vc_hdl_from_hdl'
//opt/vc/lib/libvcsm.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:107: recipe for target 'ffplay_g' failed
make: *** [ffplay_g] Error 1
Display More
I have applied patch found here LibreELEC.tv/ffmpeg-99.1003-pfcd_hevc_optimisations.patch at master · LibreELEC/LibreELEC.tv · GitHub without any errors.
I have an rpi 3B+ with Raspbian Stretch updated, along with rpi-firmware updated as of today.
Has anybody encountered the same error or know how to fix it?
Thanks!