Bug 14609

Summary: Undefined reference to 'init_MUTEX'
Product: v4l-dvb Reporter: tstrelar
Component: dvb-frontendAssignee: dvb-frontend (v4l-dvb_dvb-frontend)
Status: CLOSED OBSOLETE    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.31-9-rt, 64-bit Tree: Mainline
Regression: No

Description tstrelar 2009-11-15 18:31:36 UTC
When compiling dvb_frontend.c compiler returns an error at line 707: implicit declaration of function 'init_MUTEX'.

Kernel build directory is /lib/modules/2.6.31-9-rt/build
...
/home/tomislav/v4l-dvb/v4l/dvb_frontend.c: In function 'dvb_frontend_stop':
/home/tomislav/v4l-dvb/v4l/dvb_frontend.c:707: error: implicit declaration of function 'init_MUTEX'
Comment 1 tstrelar 2009-12-02 10:09:43 UTC
Correct me of I'm wrong, but as I understand (not really an expert), the usage of semaphores as mutexes is deprecated and apparently it has been removed from new realtime kernels. Obviously, there is no init_MUTEX macro in semaphores.h of 2.6.31-9-rt.