[linux-dvb] Build fails when compiling dvb_frontend.c

Tomislav Strelar tstrelar at gmail.com
Sat Nov 28 23:50:13 CET 2009


Hello everyone.

I am trying to build v4l-dvb device drivers according to instruction
on linuxTV wiki
http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

but it fails when compiling dvb_frontend.c

This is what I get:

/home/tomislav/src/v4l-dvb-e341e9e85af2/v4l/dvb_frontend.c: In
function 'dvb_frontend_stop':
/home/tomislav/src/v4l-dvb-e341e9e85af2/v4l/dvb_frontend.c:707: error:
implicit declaration of function 'init_MUTEX'
make[3]: *** [/home/tomislav/src/v4l-dvb-e341e9e85af2/v4l/dvb_frontend.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/home/tomislav/src/v4l-dvb-e341e9e85af2/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-9-rt'

Kerner version is
Linux version 2.6.31-9-rt (buildd at yellow) (gcc version 4.4.1 (Ubuntu
4.4.1-4ubuntu8) ) #152-Ubuntu SMP PREEMPT RT Thu Oct 15 13:22:24 UTC
2009


I've searched everywhere, and I haven't find similar problem. Can
someone give me a hint what am I doing wrong. And just to say, I'm far
from being a linux expert. :)

Thank you,
Tomislav



More information about the linux-dvb mailing list