Mailing List archive

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

[linux-dvb] DVB driver with 2.4.5 kernel



Marcus wrote:

>You should get the latest CVS sources from linuxtv.org. Those work
>with 2.4.5. The latest drivers (>=0.9) have a different API, you can`t
>get the stream from /dev/video anymore. The latest CVS sources also
>include some examples on how to use the new API and there is a
>description on linuxtv.org as well as in the doc directory of the
>driver. 2.2.x er kernels are no longer supported. You should use "make
>insmod" to load all the modules and before that makedev.napi to create
>the devices for the new API (in /dev/ost/).

Did that, but still not working:

[root@giga11 /opt/DVB-0.9/driver]# make
make: /scripts/pathdown.sh: Command not found
Ð@Ð@DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.5'
make -C  /opt/DVB-0.9/driver CFLAGS="-D__KERNEL__ 
-I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -march=i686 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/opt/DVB-0.9/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes 
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -I ../ost/include -I . 
-D__DVB_PACK__ -g  -c -o dvb.o dvb.c
dvb.c: In function `vid_register':
dvb.c:5170: too few arguments to function `video_register_device'
make[2]: *** [dvb.o] Error 1
make[2]: Leaving directory `/opt/DVB-0.9/driver'
make[1]: *** [_mod_/opt/DVB-0.9/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.5'
make: *** [here] Error 2

video_register_device is found as (sorry the long lines):

[root@giga11 /opt/DVB-0.9/driver]# grep video_register_device 
/usr/include/linux/videodev.h /usr/src/linux/include/linux/videodev.h
/usr/include/linux/videodev.h:extern int video_register_device(struct 
video_device *, int type);
/usr/src/linux/include/linux/videodev.h:extern int 
video_register_device(struct video_device *, int type, int nr);

That is, two different prototypes, and the gcc command seems to use the 
/usr/src/linux version. What is that pathdown.sh (found in 
/usr/src/linux-2.4.5/scripts)?

My environment is (still) Red Hat 7.1, with 2.4.5 kernel sources installed 
in /usr/src/linux-2.4.5 and symlinked to /usr/src/linux.



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



Home | Main Index | Thread Index