[Pkg-lirc-maint] Bug#464777: Bug#464777: Still present in 0.8.2-2

Stefan Lippers-Hollmann s.L-H at gmx.de
Sun Mar 30 12:49:47 UTC 2008


notfound 464777 0.8.2-2
thanks

On Sonntag, 30. März 2008, Marco Schuster wrote:
> This bug is still present in 0.8.2-2, with kernel 2.6.24 (self-built).
> 
> ii  linux-headers-2.6.24                   2.6.24-10.00.Custom 
>        Header files related to Linux kernel, specif
> ii  linux-image-2.6.24                     2.6.24-10.00.Custom 
>        Linux kernel binary image for version 2.6.24
> ii  linux-libc-dev                         2.6.24-4 
>        Linux Kernel Headers for development
> ii  linux-source-2.6.24                    2.6.24-10.00.Custom 
>        Linux kernel source for version 2.6.24
> ii  lirc-modules-source                    0.8.2-2 
>        infra-red remote control support - kernel mo

Looking at your earlier bugreport, compiling lirc was failing at:

gcc-4.1 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_dev/.lirc_dev.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Os  -mtune=generic -m64
-mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fomit-frame-pointer
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/src/modules/lirc/drivers/lirc_dev/../..
-I/lib/modules/2.6.24-1-amd64/build/include/  -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"
-D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c
-o /usr/src/modules/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c
/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c: In function
'lirc_register_plugin':
/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:249: error: implicit
declaration of function 'DECLARE_MUTEX_LOCKED'
/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:249: error: 'tn'
undeclared (first use in this function)
/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:249: error: (Each
undeclared identifier is reported only once
/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:249: error: for each
function it appears in.)

This particular issue has been fixed in lirc 0.8.2-2 with the following 
patch:
	http://svn.debian.org/wsvn/pkg-lirc/lirc/trunk/debian/patches/17_kcompat-2.6.24?op=file&rev=0&sc=0
which does replace the previously used semaphores, which have been removed 
from the kernel in
	http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=04fc8bbcf5eb25fa2aec290b302a9878dde20168
with completion events. As such, this particular bug cannot occur anymore, 
the code causing this error simply does not exist anymore and lirc_i2c/ 
lirc_dev do compile fine against Debian's kernel 2.6.24-5 for amd64 and 
686 (cf. the attached build logs) - and also work fine for me; therefore 
I'm closing this bug again.

Please check that you really updated to lirc-modules-source 0.8.2-2, which 
is now present in unstable and testing. In case you still encounter 
problems with compiling lirc_i2c, please file a new bugreport and attach
the exact error messages. Given that you stress the fact of compiling your
own kernel, I do suggest to check if #461228 [1] and #468492 [2] do not
apply to your problem or give further information about your kernel 
(config/ patches).

Regards
	Stefan Lippers-Hollmann

[1]	http://bugs.debian.org/461228
[2]	http://bugs.debian.org/468492
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.24-1-686.log
Type: text/x-log
Size: 23915 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lirc-maint/attachments/20080330/0b5a3e71/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.24-1-amd64.log
Type: text/x-log
Size: 24258 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lirc-maint/attachments/20080330/0b5a3e71/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-lirc-maint/attachments/20080330/0b5a3e71/attachment-0001.pgp 


More information about the Pkg-lirc-maint mailing list