Building Media_Build on a Raspberry Pi running Raspbian Jessie
Added by Stephen Neal almost 8 years ago
Hi all
Trying to follow the instructions here : https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers to build new drivers for my Pi, and get an error message to do with missing headers. I've installed kernel-headers, I think, using sudo apt-get install raspberrypi-kernel-headers but still get failed builds.
In reality I actually want to build CrazyCats version here : https://bitbucket.org/CrazyCat/media_build but thought I'd start with the original first.
Reason - I'm trying to get a Hauppauge WinTV-Dual DVB-T2 Dual tuner working - and I know dual-tuner support has only been added very recently. (One of my August T210v1s has given up the ghost...)
If there aren't instructions for a Pi - I'm happy to do it on Ubuntu on a small x86 box if that is easier. Pi was just a simple test bed.
Replies (3)
RE: Building Media_Build on a Raspberry Pi running Raspbian Jessie - Added by Mark Clarkstone almost 8 years ago
Check & make sure the kernel header package installed match your current running kernel version. If you used rpi-update you'll need to pull the source for that version from git.
RE: Building Media_Build on a Raspberry Pi running Raspbian Jessie - Added by Stephen Neal almost 8 years ago
I hadn't used rpi-update - just a straight Jessie Lite install with an apt-get update (but no upgrade etc.)
Could you elaborate on where I should clone the source or source headers to so that media_build sees them correctly?
Thanks again.
RE: Building Media_Build on a Raspberry Pi running Raspbian Jessie - Added by Mark Clarkstone almost 8 years ago
Have you tried installing kernel-source? If you do use rpi-update, this might help you get the kernel sources. https://github.com/notro/rpi-source/wiki (Not used it myself).