Open sidamos opened 4 years ago
Hi sidamos,
yes, you have to do that. In fact, I have to apply this series of commands for each new unpacked kernel:
cd path_to_dvbloopback_git
cp -a dvbloopback /usr/src/linux/drivers/media/pci/
cd /usr/src/linux
sed -i "s/include \"dvbdev.h\"/include \<media\/dvbdev.h\>/" drivers/media/pci/dvbloopback/dvblb_internal.h
sed -i "s/include \"dvbdev.h\"/include \<media\/dvbdev.h\>/" drivers/media/pci/dvbloopback/dvb_loopback.c
cat /path_to_dvbloopback_git/4.5-linux.patch | patch -p0
cat /path_to_dvbloopback_git/3.13-dvb-core.patch | patch -p0
cat /path_to_dvbloopback_git/dvbloopback.patch | patch -p1
cat /path_to_dvbloopback_git/5.6-linux.patch | patch -p0
This sums up over time, but it works.
Regards, Florian
In addition to that, I have to apply another patch related to DMX to the kernel. I totally forgot that step as I made that patch to be applied automatically here on my system. However, all these steps and their necessity heavily depend on your setup, mainly whether you use the provided configure script or not. I do not use it as I'm on Gentoo Linux where a manual approach suits my needs better. YMMV.
As you probably know, I don't use this software anymore. However, I'm willing to update it accordinng to your needs. If you think I should do something, please let me know. Regards, Tycho
I always have to change the include
include "dvbdev.h"
to
include <media/dvbdev.h>
in files dvb_loopback.c and dvblb_internal.h to make it compile on Gentoo 4.x or 5.x kernels.