Original von ivonovak
I've got same problem with lirc and kernel 2.6.26 :
sat:/home/video # modprobe lirc_imon
FATAL: Error inserting lirc_imon (/lib/modules/2.6.26-default/misc/lirc_imon.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Same problem with lirc_serial :
sat:/home/video # modprobe lirc_serial
FATAL: Error inserting lirc_serial (/lib/modules/2.6.26-default/misc/lirc_serial.ko): Unknown symbol in module, or unknown parameter (see dmesg)
The build scripts from lirc aren't able to insert the module dependency into the module stubs. lirc_serial isn't able to find the import/export entry for lirc_register_plugin and lirc_unregister_plugin.
Is there anybody who has lirc work under 2.6.26 kernel??? Thanks IN
Lirc : last cvs version from 17th July 2008 - compiled without error
( Latest stable version ( 0.8.3 ) : It's not possible to compile under 2.6.26 )
Temporary, you can add the lirc kernel modules to the kernel:
- create the directory tree linux/drivers/lirc/drivers/lirc_dev
- copy lirc/drivers/lirc.h to linux/drivers/lirc/drivers
- copy lirc/drivers/kcompat.h to linux/drivers/lirc/drivers
- copy lirc/drivers/lirc_dev/lirc_dev.h to linux/drivers/lirc and linux/drivers/lirc/drivers/lirc_dev
- copy lirc/drivers/lirc_dev/lirc_dev.c to linux/drivers/lirc
- copy lirc/drivers/lirc_serial/lirc_serial.c to linux/drivers/lirc
- add a line 'obj-y += lirc/' to the end of linux/drivers/Makefile
- create linux/drivers/lirc/Makefile
|
Source code
|
1
2
|
obj-m += lirc_dev.o lirc_serial.o
KBUILD_CFLAGS += -DIRCTL_DEV_MAJOR=61
|
If you need more options to build the modules, add they also to KBUILD_CFLAGS
- rebuild and install the kernel. Usually it isn't necessary to do a make clean
regards
e9hack