Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Compiling CVS driver with kernel 2.4.5



Hi all,

I have Suse 7.1 and just downloaded the sources to kernel 2.4.5
I built i2c and v4l as modules.

When I try to compile the DVB driver from CVS I get:

dvb.c: In function `vid_register':
dvb.c:4411: too few arguments to function `video_register_device_Recfe1c4b'
dvb.c: At top level:
dvb.c:3269: warning: `init_p2a' defined but not used
dvb.c:3289: warning: `kpes_to_av_pes' defined but not used
dvb.c:3693: warning: `init_trans' defined but not used
dvb.c:134: warning: `readfirm' defined but not used
dvb.c:592: warning: `dvb_buf_block' defined but not used
dvb.c:4556: warning: `dvb_feed_setpids' defined but not used
make[3]: *** [dvb.o] Error 1

I have only one DVB card (old Hauppauge) and after looking at the header file 
(linux/videodev.h) for video_register_device I just changed driver/dvb.c line 
4411 from

   if( 0 > (video_register_device(&dvb->video, VFL_TYPE_GRABBER))) {
to
    if( 0 > (video_register_device(&dvb->video, VFL_TYPE_GRABBER, 0))) {

That last number is an int nr (number?) in the header file, so I assume 
setting it to 0 for my single dvdb card is alright.... it does work for me ;)

Maybe somebody who can program can resolve this problem more cleanly. The DVB 
sources were a fresh co from CVS, the kernel sources were fresh from a whole 
tar file and not patched.

Marcus




--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index