Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34310 - lirc fails on kernel 2.6
Summary: lirc fails on kernel 2.6
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-24 18:22 UTC by Vlad Berditchevskiy
Modified: 2004-03-06 18:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Berditchevskiy 2003-11-24 18:22:54 UTC
make[3]: Entering directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_dev'
Makefile:382: /usr/src/linux//Rules.make: No such file or directory
make[3]: *** No rule to make target `/usr/src/linux//Rules.make'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2'
make: *** [all] Error 2
 
!!! ERROR: app-misc/lirc-0.7.0_pre2 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! (no error message)


A patch is available here (did not try it yet):
http://lwn.net/Articles/42217/
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-25 01:40:22 UTC
Last version bump...
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-25 06:59:30 UTC
but you have to apply this patch to the kernel, not to lirc
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-25 10:12:31 UTC
i added a warning about it to the 0.7_pre2 ebuild
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-11-25 11:06:36 UTC
so x86-kernel team has to apply it
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-25 12:14:33 UTC
please add this into gentoo-sources-2.6.x
Comment 6 Vlad Berditchevskiy 2003-11-25 16:11:54 UTC
It seems to me that this patch addresses other issues. The first problem one encounters while trying to compile lirc ist that it looks for the file named Rules.make in /usr/src/linux, however there is no such file in kernel 2.6 and the patch doesn't create it either.

Did anyone succeed in installing lirc on kernel 2.6?
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-25 23:19:33 UTC
I have it running on 2.6-test8, you have to build lirc with no devices, just the tools. A patch for test10 is included in the following archive:

http://warder.ath.cx:81/projects/patch-2.6.0-test10-LNX.tar.gz
Comment 8 kwant 2003-12-10 11:50:50 UTC
Patch works fine, I'm able to compile necessary module: lirc_gpio. In this way, however, it's only a tool without any driveres. So... in my case it's useless. I need avermedia98 driver. Is there any way to compile lirc with avermedia98 driver in combination with kernel 2.6.0?

Kwant!
Comment 9 John Mylchreest (RETIRED) gentoo-dev 2004-01-08 08:52:54 UTC
appologies  any apparent niglect of this bug but because lirc was being included into rc2 I held off.
please try gentoo-dev-sources-2.6.0-rc2
Comment 10 John Mylchreest (RETIRED) gentoo-dev 2004-01-13 07:49:50 UTC
closing as upstream due to lirc inclusion into the 2.6 tree
Comment 11 Radek Podgorny 2004-03-06 18:17:47 UTC
LIRC is now a part of the official kernel???