Re: kernel 2.6.11.12 I2C error

From: Jean Delvare
Date: Mon Jun 13 2005 - 15:21:46 EST


Hi Jesper, Mark,

> > When I attempt to compile 2.6.11.12 from a full download. I get the
> > following messages:
> >
> > include/linux/i2c.h:58: error: array type has incomplete element type
> > include/linux/i2c.h:197: error: array type has incomplete element type
> >
> > I think the problem has to do with the forward declartion used in
> > those lines.

No actually it is due to the use of array notation ([]) instead of
pointer (*).

> > I am using gcc 4.0 on FC4 final
>
> Try an older gcc or a recent gcc snapshot. gcc 4.0 has known issues
> when compiling the kernel.

FWIW, this specific problem is already fixed in 2.6.12-rc6.

Thanks,
--
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/