Skip to contentSkip to conversation

Build fails when compiling dvb_frontend.c

linux-dvb Tomislav Strelar 1 participant 2 messages Nov 28, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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@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

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

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@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