Project

General

Profile

Bug #4706

Bug #4679: Build broken with libva 2.0.0

TVHeadend is not compatible with libva 2.x

Added by Michael Marley about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2017-11-05
Due date:
% Done:

0%

Estimated time:
Found in version:
all
Affected Versions:

Description

When attempting to compile TVHeadend against libva 2.x (which is now the current version in Debian Buster and Ubuntu Bionic), one receives the following error:

cc -MD -MP      -D_REENTRANT -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu    -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include  -g -O2 -fPIE -Wunused-result -Werror -Wall -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -funsigned-char -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/build.linux -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> `pkg-config --cflags libavfilter libswresample libavresample libswscale libavformat libavcodec libavutil` -c -o /<<PKGBUILDDIR>>/build.linux/src/libav.o src/libav.c
src/libav.c: In function ‘libav_vaapi_init’:
src/libav.c:265:3: error: too few arguments to function ‘vaSetErrorCallback’
   vaSetErrorCallback(libav_va_error_callback);
   ^~~~~~~~~~~~~~~~~~
In file included from src/libav.c:4:0:
/usr/include/va/va.h:270:19: note: declared here
 VAMessageCallback vaSetErrorCallback(VADisplay dpy, VAMessageCallback callback, void *user_context);
                   ^~~~~~~~~~~~~~~~~~
src/libav.c:266:3: error: too few arguments to function ‘vaSetInfoCallback’
   vaSetInfoCallback(libav_va_info_callback);
   ^~~~~~~~~~~~~~~~~
In file included from src/libav.c:4:0:
/usr/include/va/va.h:276:19: note: declared here
 VAMessageCallback vaSetInfoCallback(VADisplay dpy, VAMessageCallback callback, void *user_context);
                   ^~~~~~~~~~~~~~~~~
Makefile:691: recipe for target '/<<PKGBUILDDIR>>/build.linux/src/libav.o' failed

The full build log is available at https://launchpadlibrarian.net/344488018/buildlog_ubuntu-bionic-amd64.tvheadend_4.3-607~ga5ecd97a9~bionic_BUILDING.txt.gz.

History

#1

Updated by Jaroslav Kysela about 7 years ago

  • Status changed from New to Rejected
  • Parent task set to #4679

Dup of #4679 .

Also available in: Atom PDF