Re: kernel 2.6.11.12 I2C error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux