Thu, Dec 30, 2021 at 07:55:40PM +0200, Marko Mäkelä wrote:
I was able to build and install this in /opt/vc (which is where rpihddevice looks for it) after installing sudo and cmake:
git clone https://github.com/raspberrypi/userland (cd userland;./buildme)
rm vdr/PLUGINS/src/rpihddevice/.dependencies make -j$(nproc) -C vdr
The compilation would spit out some deprecation warnings, as well as errors for missing FF_INPUT_BUFFER_PADDING_SIZE in audio.c. After I replaced those with AV_INPUT_BUFFER_PADDING_SIZE, the build succeeded. This was with libavcodec-dev and libavcodec58 (7:4.4.1-2+b1).
Finally, I installed and attempted to start up vdr:
sudo make -C vdr install LD_LIBRARY_PATH=/opt/vc/lib:/opt/vc/lib/plugins vdr -Prpihddevice
It failed due to an unresolved symbol:
vdr: /opt/vc/lib/libEGL.so: undefined symbol: glPointSizePointerOES
A similar problem (with no solution yet) has been reported in https://github.com/malcolmstill/cl-egl/issues/1
I might next try a recent Raspberry OS. My goal is not only to upgrade and configure VDR for my own casual use, but also to document the process and to make it as easy as possible for others.
Marko