Trev Jackson wrote:
On Tuesday 18 Oct 2005 22:20, John Harvey wrote:
The owner field & the priv fields have been removed from the v4l
video_device structure.
Deleting the 2 lines (78 196) are enough to make it compile.
The first is fine. The second should be safe since it was setting private
data that never appears to be used.
John
Hi
Thanks, that fixed that problem, unfortunately it still does not compile:
make[2]: Leaving directory `/home/mythtv/ivtv-2833/driver'
cc -I../v4l-kernel/linux/include -I../driver -D_GNU_SOURCE -O2 -Wall -c -o
ivtvctl.o ivtvctl.c
In file included from ivtvctl.c:40:
../v4l-kernel/linux/include/linux/videodev2.h:22:40: missing binary operator
before token "("
../v4l-kernel/linux/include/linux/videodev2.h:25:40: missing binary operator
before token "("
../v4l-kernel/linux/include/linux/videodev2.h:46:41: missing binary operator
before token "("
../v4l-kernel/linux/include/linux/videodev2.h:59:40: missing binary operator
before token "("
In file included from ivtvctl.c:40:
../v4l-kernel/linux/include/linux/videodev2.h:83: error: field `lock' has
incomplete type
../v4l-kernel/linux/include/linux/videodev2.h:84:40: missing binary operator
before token "("
../v4l-kernel/linux/include/linux/videodev2.h:89:41: missing binary operator
before token "("
../v4l-kernel/linux/include/linux/videodev2.h:116: warning: "struct file"
declared inside parameter list
../v4l-kernel/linux/include/linux/videodev2.h:116: warning: its scope is only
this definition or declaration, which is probably not what you want
../v4l-kernel/linux/include/linux/videodev2.h:116: warning: "struct inode"
declared inside parameter list
make[1]: *** [ivtvctl.o] Error 1
make[1]: Leaving directory `/home/mythtv/ivtv-2833/utils'
make: *** [all] Error 2
That's a problem due to the fact that videodev2.h uses #if kernel
version stuff
you can fix it yourself by adding a #include <linux/version.h> above
the #include "videodev2.h" in ivtvctl.c
...or was it utsname.h ?
--
Michael Krufky
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel