Compiling saa7134 on a CentOS 5 machine
Hello,
I'm trying to compile v4l-dvb for my saa7134 card on my CentOS 5 machine, and I'm having some problems.
The machine runs the 2.6.18-164.11.1.el5.centos.plus kernel.
It used to work some month ago, now I can't get it to compile.
During make, I get:
Building modules, stage 2.
MODPOST
WARNING: "ir_unregister_class" [/home/mk/tv/v4l-dvb/v4l/ir-core.ko] undefined!
and when I "make install", reboots (as the wiki suggests), and
modprobe saa7134
I get:
WARNING: Error inserting videobuf_core (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/video/videobuf-core.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting videobuf_dma_sg (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/video/videobuf-dma-sg.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting v4l1_compat (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/video/v4l1-compat.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting videodev (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/video/videodev.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting v4l2_common (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/video/v4l2-common.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ir_common (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/IR/ir-common.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting saa7134 (/lib/modules/2.6.18-164.11.1.el5.centos.plus/kernel/drivers/media/video/saa7134/saa7134.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg says:
ir_core: Unknown symbol ir_unregister_class
The card is a:
# lspci 05:09.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
and I have a
options saa7134 card=96
in modprobe.conf.
v4l-dvb is today's:
hg clone http://linuxtv.org/hg/v4l-dvb
It used to work a couple of month ago...
Googling ir_unregister_class doesn't tell me anything.
What have I done wrong?
Mogens
Signature · 2 lines
Mogens Kjaer, [email protected] http://www.lemo.dk
On 02/09/2010 12:41 PM, Mogens Kjaer wrote:
...
Quoted 1 line
ir_core: Unknown symbolir_unregister_class
Hm, the following patch "fixes" the problem:
cd linux/drivers/media/IR
$ diff -urN ir-sysfs.c.orig ir-sysfs.c --- ir-sysfs.c.orig 2010-02-09 13:08:06.000000000 +0100 +++ ir-sysfs.c 2010-02-09 13:05:04.000000000 +0100 @@ -223,4 +223,8 @@
module_init(ir_core_init); module_exit(ir_core_exit);
+#else
+void ir_unregister_class(struct input_dev *input_dev) +{
+}
#endif
I guess this is not the right way to do it - but
the machine boots and the modules load!
Mogens
Signature · 2 lines
Mogens Kjaer, [email protected] http://www.lemo.dk