Skip to content

undefined symbol vaPutSurface #5

@tsailer

Description

@tsailer

Currently the plugin is linked with pkgconfig --libs libva ...

Recently however vaPutSurface has been moved into a separate shared library called libva-x11. So as compiled currently libvdr-vaapidevice.so won't have a DTNEEDED for libva-x11, therefore the linker fails to resolve vaPutSurface and thus the plugin fails to load.

To fix, libva should be replaced with libva-x11

--- Makefile.x 2020-06-29 16:21:04.108953021 +0200
+++ Makefile 2020-06-29 16:28:55.975251824 +0200
@@ -40,8 +40,8 @@
$(warning CXXFLAGS not set)
endif

-_CFLAGS += $(shell pkg-config --cflags alsa libva libavcodec libswscale libswresample x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
-LIBS += -lrt $(shell pkg-config --libs alsa libva libavcodec libswscale libswresample x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
+_CFLAGS += $(shell pkg-config --cflags alsa libva-x11 libavcodec libswscale libswresample x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)
+LIBS += -lrt $(shell pkg-config --libs alsa libva-x11 libavcodec libswscale libswresample x11 x11-xcb xcb xcb-icccm xcb-screensaver xcb-dpms)

The version number of VDR's plugin API:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions