Patch: update LIRC to match what is shipping in the Hardy package

Mario Limonciello superm1 at ubuntu.com
Thu Dec 20 06:50:41 UTC 2007


Tim Gardner wrote:
> Mario Limonciello wrote:
> 
> Mario - This patch applied clean but does not build against 2.6.24-2
> headers:
> 
>   CC [M]
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.o
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:
> In function 'lirc_register_plugin':
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:241:
> error: implicit declaration of function 'DECLARE_MUTEX_LOCKED'
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:241:
> error: 'tn' undeclared (first use in this function)
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:241:
> error: (Each undeclared identifier is reported only once
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:241:
> error: for each function it appears in.)
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:
> In function 'lirc_unregister_plugin':
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:428:
> error: 'tn' undeclared (first use in this function)
> /home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.c:429:
> error: 'tn2' undeclared (first use in this function)
> make[3]: ***
> [/home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc/lirc_dev/lirc_dev.o]
> Error 1
> make[2]: ***
> [/home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386/media/lirc] Error 2
> make[1]: ***
> [_module_/home/rtg/lum/ubuntu-hardy-lum/debian/build/build-386] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-2-386'
> make: *** [/home/rtg/lum/ubuntu-hardy-lum/debian/stamps/stamp-build-386]
> Error 2
> debuild: fatal error at line 1247:
> debian/rules build failed
> r

Tim,

I've cleaned up those failed compile errors for 2.6.24 using a variety of sources.

I'm attaching a patch that is incremental to the last one I submitted.

Thanks,

-- 
Mario Limonciello
superm1 at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-Fix-failed-compiles-on-lirc-for-2.6.24.patch
Type: text/x-diff
Size: 19595 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20071220/7c740e4b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20071220/7c740e4b/attachment.sig>


More information about the kernel-team mailing list