Project

General

Profile

Ubuntu 14.04 compiling VTuner x86_64 to use with TVheadend

Added by Mario Rossi almost 10 years ago

I am trying to compile the VTuner linux driver (https://code.google.com/p/vtuner/) for Ubuntu 14.04 x86_64.
But I get an error when running sudo modprobe vtunerc. Any body have a clue?

Her are my steps for instalation from fresh Ubuntu server install:

Prerequisites:
---------------

sudo apt-get install  patchutils libproc-processtable-perl git mercurial make gcc

Install DVB-Core:

sudo git clone git://linuxtv.org/media_build.git
cd media_build
sudo ./build
sudo make install
modprobe dvb_core
lsmod | grep dvb_core

I copy headers from dvb-core source to linux headers to avoid errors in compiling.

cd ~/media_build/linux/drivers/media/dvb-core
sudo cp ./*.h /usr/src/linux-headers-`uname -r`/drivers/media/dvb-core/

VTuner linux driver:

sudo hg clone http://code.google.com/p/vtuner.linux-driver

Download patch kernel-3.10.patch from https://code.google.com/p/vtuner/issues/detail?id=33 or see attachment.
Download file "kernel-3.10.patch" to directory "vtuner.linux-driver"

cd vtuner.linux-driver
sudo patch < kernel-3.10.patch
sudo make KDIR=/usr/src/linux-headers-`uname -r`
modinfo vtunerc.ko
sudo mkdir /lib/modules/`uname -r`/misc
sudo cp vtunerc.ko /lib/modules/`uname -r`/misc
sudo depmod -a
sudo modprobe vtunerc
dmesg |tail -n7

Her is the error I get:

[61691.761646] vtunerc: Unknown symbol dvb_unregister_frontend (err -22)
[61691.761650] vtunerc: disagrees about version of symbol dvb_register_frontend
[61691.761651] vtunerc: Unknown symbol dvb_register_frontend (err -22)
[61691.761654] vtunerc: disagrees about version of symbol dvb_unregister_adapter
[61691.761655] vtunerc: Unknown symbol dvb_unregister_adapter (err -22)
[61691.761656] vtunerc: disagrees about version of symbol dvb_dmx_init
[61691.761657] vtunerc: Unknown symbol dvb_dmx_init (err -22)