compile error on bttv-0.9.10

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



 hi! I download a kernel source and have compile a kernel 2.4.21 on
debian GNU/linux, then I download bttv 0.9.10 from bytesex.org.
after I unpack the gz file, I execute the follow 2 steps, but I can't
compile it sucefully.(my gcc version is 3.2 ). the erro message is
attach below.

but I can compile a 0.7.106 on 2.4.21 with the same steps. but the bttv
dirve 0.7.106 can't only capture gray image from my bt878 based capture
card! I want to capture color image with my bt878 based capture card.
any of you help is appreciatied!

zw_0000

error message:

debian:/home/linuxer/bttv-0.9.10# export KDIR=/usr/src/linux
debian:/home/linuxer/bttv-0.9.10# make
make -C /lib/modules/2.4.21/build SUBDIRS=/home/linuxer/bttv-0.9.10 modules
make[1]: Entering directory `/hdb5/usr/src/linux-2.4.21'
make -C /home/linuxer/bttv-0.9.10 CFLAGS="-D__KERNEL__
-I/hdb5/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i486 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -DMODULE -DMODVERSIONS -include
/hdb5/usr/src/linux-2.4.21/include/linux/modversions.h" MAKING_MODULES=1
modules
make[2]: Entering directory `/home/linuxer/bttv-0.9.10'
gcc -I. -D__KERNEL__ -I/hdb5/usr/src/linux-2.4.21/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -DMODULE
-DMODVERSIONS -include
/hdb5/usr/src/linux-2.4.21/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=video_buf -DEXPORT_SYMTAB -c
video-buf.c
In file included from video-buf.c:36:
video-buf.h:137: field `field' has incomplete type
video-buf.h:159: warning: parameter has incomplete type
video-buf.h:169: field `type' has incomplete type
video-buf.h:171: field `field' has incomplete type
video-buf.h:172: field `last' has incomplete type
video-buf.h:195: warning: parameter has incomplete type
video-buf.h:195: warning: parameter has incomplete type
video-buf.h:201: warning: `struct v4l2_buffer' declared inside parameter
list
.................
video-buf.c:351: parameter `type' has incomplete type
video-buf.c:351: parameter `field' has incomplete type
video-buf.c:351: conflicting types for `videobuf_queue_init'
....................
video-buf.c: In function `videobuf_read_start':
video-buf.c:776: storage size of `field' isn't known
video-buf.c:793: type of formal parameter 3 is incomplete
video-buf.c:776: warning: unused variable `field'
make[2]: *** [video-buf.o] 错误 1
make[2]: Leaving directory `/home/linuxer/bttv-0.9.10'
make[1]: *** [_mod_/home/linuxer/bttv-0.9.10] 错误 2
make[1]: Leaving directory `/hdb5/usr/src/linux-2.4.21'
make: *** [default] 错误 2





[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