Still problem compiling new bttv driver

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



Hi Hermann,
I am working in Red Hat Linux 8.0, kernel 2.4.18-14 with bttv based PixelView PlayTV Pro Tv tuner card. I have to update the bttv-0.7.96 to bttv-0.9.12. From u'r suggestion I downloaded Vanilla kernel-2.4.20 from kernel.org, compiled the kernel sucessfully. Then I compiled
bttv-0.9.12 from the source "bttv9-20030806.tar.gz". Still there
exists problem compiling bttv driver.Last few lines for u'r
perception.

video-buf.c:816: type of formal parameter 3 is incomplete
video-buf.c:789: warning: unused variable `field'
video-buf.c: In function `videobuf_read_start':
video-buf.c:864: storage size of `field' isn't known
video-buf.c:876: `V4L2_MEMORY_USERPTR' undeclared (first use in this
function)
video-buf.c:876: type of formal parameter 5 is incomplete
video-buf.c:881: type of formal parameter 3 is incomplete
video-buf.c:864: warning: unused variable `field'
video-buf.c: At top level:
video-buf.c:1106: parameter `memory' has incomplete type
video-buf.c:1106: conflicting types for `videobuf_mmap_setup'
video-buf.h:233: previous declaration of `videobuf_mmap_setup'
video-buf.c: In function `videobuf_mmap_setup':
video-buf.c:1119: `V4L2_MEMORY_MMAP' undeclared (first use in this
function)
video-buf.c:1123: `V4L2_MEMORY_USERPTR' undeclared (first use in this
function)
video-buf.c:1124: `V4L2_MEMORY_OVERLAY' undeclared (first use in this
function)
video-buf.c: In function `videobuf_mmap_mapper':
video-buf.c:1173: `V4L2_MEMORY_MMAP' undeclared (first use in this
function)
make[2]: *** [video-buf.o] Error 1
make[2]: Leaving directory `/root/PT06/References/bttv/bttv-0.9.12' make[1]: *** [_mod_/root/PT06/References/bttv/bttv-0.9.12] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20'
make: *** [default] Error 2

I haven't used in any patch to compile the bttv driver. I am just
using the bttv driver source and trying to compile it. But the
" Build v4l2 drivers mini howto" in http://bytesex.org/v4l/build.html says " If you are using a unpatched 2.4.x kernel make sure you use the same workdir for both v4l2 and the driver(s), otherwise the driver
Makefiles will not find the header files of the v4l2 tarball."

What actually we should do in priror compiling bttv driver ?
Expectiung u'r favourable reply.

With Regards,
S.Suriya Mohan.


On Fri, 01 Aug 2003 hermann pitton wrote :
Es schrieb "ho ho ho ...":
>
> Hello.  I have successfully got the i2c program
> running, thanks  Justin and Hexa!  Today I have
> another question.  I'm trying to edit bttv.h, so I
> downloaded the 0.9.11 version.  But I could not make
> the driver successfully.  I'm using Red-Hat 9.0
> (kernal 2.4.20-8).
>
> I typed in:
> make KDIR=/usr/src/linux-2.4/
>
> Output:
> make[2]: *** [bttv-driver.o] Error 1
> make[2]: Leaving directory `/home/ho/bttv-0.9.11'
> make[1]: *** [_mod_/home/ho/bttv-0.9.11] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
> make: *** [default] Error 2
>
> Does anyone have any idea to fix it?  Thank you!!!
>
> hobobcat
>

Hi,

have no bt-card here, but see that twice now (suriya).

What you can read at http://bytesex.org/v4l/build.html still seems to
be
true for RH-9. (Did not try to patch the RH-2.4.20-8 sources with
v4l2
and build drivers.)

It will compile with the appropriate patch on vanilla 2.4.20 and 21
and
I bet with all other patches offered there too.

Greetings

Hermann

--


--
video4linux-list mailing list
Unsubscribe
mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
___________________________________________________
Download the hottest & happening ringtones here!
OR SMS: Top tone to 7333
Click here now: http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux