Ok,

when compiling the BTTV driver I get this error:

iwithprefix include -DKBUILD_BASENAME=bttv_driver -c -o bttv-driver.o bttv-driver.c
bttv-driver.c: In function `do_bttv_mmap':
bttv-driver.c:2201: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
bttv-driver.c:2201: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
bttv-driver.c:2201: too few arguments to function `remap_page_range_R2baf18f2'
bttv-driver.c: At top level:
bttv-driver.c:2233: warning: initialization from incompatible pointer type
make[3]: *** [bttv-driver.o] Error 1
make[3]: Leaving directory `/root/bttv-0.7.106/driver'
make[2]: *** [_mod_/root/bttv-0.7.106/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/bttv-0.7.106/driver'
make: *** [default] Error 2


I enabled modules support in my kernel source and did a make dep to get over the fact that the kernel source I had did have loadable modules support. This then allowed me to at least get a few seconds into the driver compile to get this message. Before I start to pick the code apart... has anyone seen this or has a fix?

regards

Pete

Mark Charter wrote:

Peter Farrow writes:
> Dear All,
> > I have 5 BT878 based fram grabbers in one server running RedHat 9. I > have V4l installed, and can access successfully /dev/video0 -> /dev/video3
> > I used
> > mknod -m600 /dev/video4 c 81 4
> > To make character device for the fifth frame grabber, when the card was > added to the system Kudzu spotted it ok, and /proc/pci lists all five > cards no problem.
> > However the system behaves as is there is no hardware for /dev/video4, > xawtv -c /dev/video4 fails (with no hardware) as does my own > framegrabber written in C using V4l calls.
> > Does anyone know how I can get round this problem?
>


Increase the value of BTTV_MAX (defined in bttvp.h) and recompile
the driver.

Mark Charter.


--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/video4linux-list





-- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/video4linux-list

Reply via email to