On 8/4/05, Mike <[EMAIL PROTECTED]> wrote:
> I am having an issue trying to compile ivtv-0.3.7b on debian sid.

> =============================================================
> # make
> make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.11-1-k7/build
> M=/usr/local/src/ivtv-0.3.7b/driver modules
> make[1]: Entering directory `/usr/src/kernel-headers-2.6.11-1-k7'
>   CC [M]  /usr/local/src/ivtv-0.3.7b/driver/msp3400.o
> In file included from /usr/local/src/ivtv-0.3.7b/driver/msp3400.c:45:
> include/linux/i2c.h:58: error: array type has incomplete element type
> include/linux/i2c.h:197: error: array type has incomplete element type
> /usr/local/src/ivtv-0.3.7b/driver/msp3400.c: In function 'msp3400c_reset':
> /usr/local/src/ivtv-0.3.7b/driver/msp3400.c:191: error: type of formal
> parameter 2 is incomplete
> /usr/local/src/ivtv-0.3.7b/driver/msp3400.c:192: error: type of formal
> parameter 2 is incomplete
> /usr/local/src/ivtv-0.3.7b/driver/msp3400.c:193: error: type of formal
> parameter 2 is incomplete
> /usr/local/src/ivtv-0.3.7b/driver/msp3400.c: In function 'msp3400c_read':
> /usr/local/src/ivtv-0.3.7b/driver/msp3400.c:215: error: type of formal
> parameter 2 is incomplete
> make[2]: *** [/usr/local/src/ivtv-0.3.7b/driver/msp3400.o] Error 1
> make[1]: *** [_module_/usr/local/src/ivtv-0.3.7b/driver] Error 2
> make[1]: Leaving directory `/usr/src/kernel-headers-2.6.11-1-k7'
> make: *** [all] Error 2

Do you have any other kernel-image/headers installed? I get the same
error on Sarge when I compile against 2.6.8 or 2.6.11, but this only
started happening after I installed the newer kernel
(linux-image-2.6.12-1-k7) from sid, which compiles the modules fine
(with gcc-4.0).

My guess is that a symlink is broken somewhere (what does
/usr/src/linux point to?)
I'd remove any other kernel-image/kernel-header packages, then
reinstall the kernel-image&headers that you want, and try again.

Oh, and btw, compiling modules is much easier with the debian
packages. See http://ivtv.writeme.ch/tiki-index.php?page=DebianHowTo
for more info.

Cheers,

Ross


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to