* Martin Gansser:
Hi,
i want to compile vdr [1] on f35, but this fails with:
+ for plugin in dvbhddevice dvbsddevice rcu skincurses
+ /usr/bin/make -O -j8 V=1 VERBOSE=1 -C PLUGINS/src/dvbhddevice
VDRDIR=/builddir/build/BUILD/vdr-2.4.7
PLGCFG=/builddir/build/BUILD/vdr-2.4.7/bundled-plugins.mk all
make: Entering directory
'/builddir/build/BUILD/vdr-2.4.7/PLUGINS/src/dvbhddevice'
g++ -O3 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8
-fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Werror=overloaded-virtual
-Wno-parentheses -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/vdr-2.4.7/include -c
-DPLUGIN_NAME_I18N='"dvbhddevice"' -o dvbhdffdevice.o dvbhdffdevice.c
dvbhdffdevice.c:14:10: fatal error: linux/dvb/audio.h: No such file or directory
14 | #include <linux/dvb/audio.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
This is the result of this kernel commit:
commit 819fbd3d8ef36c09576c2a0ffea503f5c46e9177
Author: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
Date: Tue Jun 1 11:31:30 2021 +0200
media: dvb header files: move some headers to staging
The audio, video and OSD APIs are used upstream only by the
av7110 driver, which was moved to staging.
So, move the corresponding header files to it.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
The deprecation of this headers was announced two years ago:
commit 9ff4d4e08ba8471f6c4cae05544f1802f6aab828
Author: Mauro Carvalho Chehab <mchehab+samsung(a)kernel.org>
Date: Tue Jun 4 10:41:20 2019 -0400
media: dvb: tag deprecated DVB APIs as such
There are three headers at DVB that should not be used on
future projects: audio.h, osd.h and video.h.
While this is already clear at the docs, make clear also at
the headers that those files should not be used on future
drivers.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung(a)kernel.org>
So vdr needs to be adjusted, probably by dropping the plugin.
Thanks,
Florian