Hans Verkuil wrote:

>Hi all,
>
>I've just released ivtv-0.7.0 for the 2.6.17 kernel. Available here:
>
>http://dl.ivtvdriver.org/ivtv/archive/0.7.x/ivtv-0.7.0.tar.gz
>
>It has all the features of the ivtv-0.6.3 and also these:
>
>0.7.0 release
>- Added support for the DIGITAL COWBOY DCT-MTVP1 card
>- Updated driver to use the new ROUTING commands of the
>  video4linux subsystem.
>- Removed upd64083, upd64031a and wm8739: these are now in
>  the 2.6.17 kernel.
>- The ivtv driver now uses the I2C_HW_B_CX2341X board ID,
>  instead of borrowing the bttv ID.
>
>The latter will cause lirc problems. AFAIK these are fixed in the latest 
>lirc from their repository.
>  
>
Hans,

on a slackware-current install with kernel 2.6.17.4 i get the following 
after having copied videodev2.h to /usr/include/linux:

....
make[2]: Leaving directory `/usr/src/ivtv-0.7.0/driver'
cc -I/usr/src/ivtv-0.7.0/utils/../driver -I. -D_GNU_SOURCE -O2 -Wall    
ivtvfbctl.c   -o ivtvfbctl
g++ -I/usr/src/ivtv-0.7.0/utils/../driver -I. -D_GNU_SOURCE -O2 -Wall -o 
ivtv-detect ivtv-detect.cpp
ivtv-detect.cpp:51: error: field `cap' has incomplete type
ivtv-detect.cpp: In function `card_info* find_card(const 
v4l2_capability*, int, int, const std::string&)':
ivtv-detect.cpp:65: error: invalid use of undefined type `const struct 
v4l2_capability'
ivtv-detect.cpp:51: error: forward declaration of `const struct 
v4l2_capability'
ivtv-detect.cpp:65: error: 'struct card_info' has no member named 'cap'
ivtv-detect.cpp:69: error: 'struct card_info' has no member named 'cap'
ivtv-detect.cpp: In function `int main(int, char**)':
ivtv-detect.cpp:136: error: aggregate `v4l2_capability cap' has 
incomplete type and cannot be defined
ivtv-detect.cpp:146: error: `VIDIOC_QUERYCAP' was not declared in this scope
ivtv-detect.cpp:146: warning: unused variable 'VIDIOC_QUERYCAP'
ivtv-detect.cpp:215: error: 'struct card_info' has no member named 'cap'
ivtv-detect.cpp:219: error: 'struct card_info' has no member named 'cap'
ivtv-detect.cpp:222: error: 'struct card_info' has no member named 'cap'
ivtv-detect.cpp:223: error: 'struct card_info' has no member named 'cap'
ivtv-detect.cpp:224: error: 'struct card_info' has no member named 'cap'
make[1]: *** [ivtv-detect] Error 1
make[1]: Leaving directory `/usr/src/ivtv-0.7.0/utils'
make: *** [all] Error 2

This is with gcc version:

[EMAIL PROTECTED]:/usr/src/ivtv-0.7.0# gcc --version
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

After doing:
[EMAIL PROTECTED]:/usr/include# ln -s /usr/src/linux-2.6.17.4/include/linux 
linux

Things compiled.

Cheers,

Rudy


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to