Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol vaPutSurface #5

Open
tsailer opened this issue Jun 29, 2020 · 0 comments
Open

undefined symbol vaPutSurface #5

tsailer opened this issue Jun 29, 2020 · 0 comments

Comments

@tsailer
Copy link

tsailer commented Jun 29, 2020

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant