FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First I like to apologize my bad english but pear with me.
Iīm trying to install Lirc to my computer. After i run the configure it tells me that I donīt have kernel source installed so it canīt compile the right drivers.
I have 2.6.15-1.1833_fc4 kernel and I canīt find kernel source rpm or kernel-devel package for it.
what can I do. I would rather not reinstall all other modules and stuff in a new kernel.
First I like to apologize my bad english but pear with me.
Iīm trying to install Lirc to my computer. After i run the configure it tells me that I donīt have kernel source installed so it canīt compile the right drivers.
I have 2.6.15-1.1833_fc4 kernel and I canīt find kernel source rpm or kernel-devel package for it.
what can I do. I would rather not reinstall all other modules and stuff in a new kernel.
First I like to apologize my bad english but pear with me.
Iīm trying to install Lirc to my computer. After i run the configure it tells me that I donīt have kernel source installed so it canīt compile the right drivers.
I have 2.6.15-1.1833_fc4 kernel and I canīt find kernel source rpm or kernel-devel package for it.
what can I do. I would rather not reinstall all other modules and stuff in a new kernel.
Thanks for advance.
try install yum -y install kernel-devel
if it does not work
update your 2.6.15 kernel to 2.6.16 kernel and now try to install using the same above command
i hope it shouls work
I installed kernel-devel, but it didn't help. It still give's me the same error... as I said earlier I would rather not install all other things again.
I have upgradet the kernel and the newest one in my computer is something like 2.6.16-2.111_fc4 but I'm still using the older one because em8300 modules didn't upgrade with kernel and when i tryed to install them again with yum it didn't work either. I'm not sure will there be some other problems too, because this is my first Linux installation and i have been reading a lot of different guides to get were i am now (not always understund what i were doing).
Im trying to get vdr running and all other things are working but not lirc. So I cant use remote.
i forgot to say that i installed kernel-devel it still didnt wrok
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
Yes you installed kernel-devel with yum but.... which version ? I would bet it is kernel-devel-2.6.16-2.111_fc4 (latest kernel you updated). To make sure:
Code:
rpm -q kernel-devel
And since your want to compile using 2.6.15-1.1833_fc4, you need the sources for that one...
How did you install the current module for "em3800" ? and what is it anyway ? (From what I could find it some mpeg decoder card...)
Anyway... Did you even try to install lirc with yum ?
Code:
yum install lirc
Or do you have some specific reason why you want to compile it from source ?
i did first try install lirc with yum, but it didn't work with my remote, because it wont combile right kernel modules or something. My remotes ir-dongle is put to com1 so it needs drivers for serial (if i have understand correct). Any way i have tryed to install it with yum for weeks and i can't get it work. I have read that lirc should work with fedora and with my remote (technisat airstar 2) if you configure it by your shelf.
first i installed kernel-devel with yum, but i noticed that it was (like you said) 2.6.16-2.111_fc4 or something, after that i searched earlier version which was same as my kernel and installed it. It didn't work until i made symbolic link like:
now i could configure lirc. Everything is going well until i try to load modules for lirc. It gives me this kind of error:
WARNING: /etc/modprobe.conf line 13: ignoring bad line starting with 'options'
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_dev.ko): Invalid module format
WARNING: /etc/modprobe.conf line 13: ignoring bad line starting with 'options'
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_dev.ko): Invalid module format
FATAL: Error inserting lirc_serial (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_serial.ko): Invalid module format
FATAL: Error running install command for lirc_serial
from the looks of it it seems you add a bad option to your module.conf file. check that over, remove all flags and so on but the path to the module and see if that works.
the invalid option has been there quite some time. I have ignored it because it hasn't cause any trouble. Now I check it out and removed the badline but it did not solve the problem. If I try to install lirc module it comes out like this:
[root@htpc etc]# modprobe lirc_serial
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/kernel/drivers/misc/lirc_dev.ko): Invalid module format
WARNING: Error inserting lirc_dev (/lib/modules/2.6.15-1.1833_FC4/kernel/drivers/misc/lirc_dev.ko): Invalid module format
FATAL: Error inserting lirc_serial (/lib/modules/2.6.15-1.1833_FC4/misc/lirc_serial.ko): Invalid module format
FATAL: Error running install command for lirc_serial
[root@htpc etc]#
I have tried different versions of lirc and different configurations, but it hasnt worked out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.