[Pkg-lirc-maint] Bug#464777: (no subject)

Joe Emenaker joe at emenaker.com
Wed Mar 5 21:54:23 UTC 2008

The problem with the build error is due to the fact that some of the 
mutex defines were removed in 2.6.24.

You can find patches for this by just googling for "DEFINE_MUTEX_LOCKED 
lirc_dev.c". One of those patches is here: 

Mercifully, the problem only involves only lirc_dev.c and no others... 
and the patch is simple enough that you can do it by hand.

I checked yesterday and it appears that even the upstream CVS version 
*still* has not been patched (which means that even the deb in 
experimental will have this problem).

Turns out that if you fix this and try to build again, you'll hit 
another build error caused by a change in 2.6.23 where the 
unregister_chrdev function now returns a void instead of an int (see a 
patch here: 
I believe that this one *is* fixed in the upstream CVS.

After those patches, I was able to build on 2.6.24.

More information about the Pkg-lirc-maint mailing list