public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Compiling saa7134 on a CentOS 5 machine
@ 2010-02-09 11:41 Mogens Kjaer
  2010-02-09 12:13 ` Mogens Kjaer
  0 siblings, 1 reply; 2+ messages in thread
From: Mogens Kjaer @ 2010-02-09 11:41 UTC (permalink / raw)
  To: Linux-V4L2

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
-- 
Mogens Kjaer, mk@lemo.dk
http://www.lemo.dk

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiling saa7134 on a CentOS 5 machine
  2010-02-09 11:41 Compiling saa7134 on a CentOS 5 machine Mogens Kjaer
@ 2010-02-09 12:13 ` Mogens Kjaer
  0 siblings, 0 replies; 2+ messages in thread
From: Mogens Kjaer @ 2010-02-09 12:13 UTC (permalink / raw)
  To: Linux-V4L2

On 02/09/2010 12:41 PM, Mogens Kjaer wrote:
...
> ir_core: Unknown symbol ir_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

-- 
Mogens Kjaer, mk@lemo.dk
http://www.lemo.dk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-09 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 11:41 Compiling saa7134 on a CentOS 5 machine Mogens Kjaer
2010-02-09 12:13 ` Mogens Kjaer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox