Bug 14609 - Undefined reference to 'init_MUTEX'
Summary: Undefined reference to 'init_MUTEX'
Status: CLOSED OBSOLETE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: dvb-frontend (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: dvb-frontend
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-15 18:31 UTC by tstrelar
Modified: 2012-06-18 12:35 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.31-9-rt, 64-bit
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.