On Sunday 22 April 2007 12:12:10 pm Rudy Zijlstra wrote:
> Hello,
>
> Hoping for somebody with  some more experience to know the answer on how
> to solve below compilation problem:
>
>  CC [M]  /usr/src/ivtv-0.10.1/driver/ivtv-ioctl.o
> /usr/src/ivtv-0.10.1/driver/ivtv-ioctl.c: In function
> `ivtv_internal_ioctls':
> /usr/src/ivtv-0.10.1/driver/ivtv-ioctl.c:559: error: structure has no
> member named `i2c_id'
> /usr/src/ivtv-0.10.1/driver/ivtv-ioctl.c:560: error: structure has no
> member named `i2c_id'
> /usr/src/ivtv-0.10.1/driver/ivtv-ioctl.c:569: error: structure has no
> member named `i2c_id'
> /usr/src/ivtv-0.10.1/driver/ivtv-ioctl.c:570: error: structure has no
> member named `i2c_id'
> make[3]: *** [/usr/src/ivtv-0.10.1/driver/ivtv-ioctl.o] Error 1
>
>
> As stated in subject, its on 2.6.21rc7
>
> I need the 2.6.21 because of the attanic ethernet driver, so cannot fall
> back to earlier kernel (new mobo).
>
> Cheers,
>
> Rudy
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel

It should be defined in v4l2-common.h in 
the /lib/modules/`uname -r`/build/include/media directory (at least it is in 
2.6.20).  Grep for it or try:
find /lib/modules/`uname -r`/build/include -exec grep -H i2c_id {} \;
to see if it migrated to another include file that you need to add to 
ivtv-ioctl.c

HTH!


-- Harry O.

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

Reply via email to