Errors compiling v4l2

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



Hi-
I'm trying to upgrade my 2.4.0 system over to bttv2 because I hear there is a performance boost when doing that...

So following the instructions at http://bttv-v4l2.sourceforge.net/use.html, I'm hitting this roadblock trying to compile videodevX:

DIR=`pwd`; (cd /lib/modules/2.4.0/build; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.0'
make -C /home/achen/bttv2/videodevX CFLAGS="-D__KERNEL__ -I/lib/modules/2.4.0/build/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -DMODUL E -DMODVERSIONS -include /lib/modules/2.4.0/build/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/achen/bttv2/videodevX'
gcc -D__KERNEL__ -I/lib/modules/2.4.0/build/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -DMODULE -DMODVERSIONS -include /lib/modules/2.4
.0/build/include/linux/modversions.h   -c -o videodevX.o videodevX.c
In file included from videodevX.c:67:
videodev.h:944: parse error before `devfs_handle_t'
videodev.h:944: warning: no semicolon at end of struct or union
videodev.h:947: parse error before `}'
videodev.h:1294: parse error before `devfs_handle_t'
videodev.h:1294: warning: no semicolon at end of struct or union
videodev.h:1299: parse error before `}'
videodevX.c: In function `video_read':
videodevX.c:228: dereferencing pointer to incomplete type
videodevX.c:229: dereferencing pointer to incomplete type


I get the same much of deref errors with every other video_* function. I've upgraded lm_senseors to the latest and i'm using bttv version 0.7.53 right now (bttv: driver version 0.7.53 loaded). Am I doing something wrong here? Thanks!

-a





[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