kernel 2.6.11.12 I2C error
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.
I am using gcc 4.0 on FC4 final
Mark Bidewell
Quoted 11 lines · Mark Bidewell
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 typeinclude/linux/i2c.h:197: error: array type has incomplete element typeI think the problem has to do with the forward declartion used in those lines.
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.
Signature · 3 lines
Jesper Juhl <[email protected]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html
Hi Jesper, Mark,
Quoted 8 lines
Quoted 8 lines
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 typeinclude/linux/i2c.h:197: error: array type has incomplete element typeI 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 (*).
Quoted 4 lines
Quoted 1 line
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,
Signature · 1 line
Jean Delvare
Quoted 10 lines · Mark Bidewell
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 typeinclude/linux/i2c.h:197: error: array type has incomplete element typeI think the problem has to do with the forward declartion used in those lines.
I am using gcc 4.0 on FC4 final
gcc 4.0 does not built the 2.6.11.whatever kernel properly. You need to use the 2.6.12-rc kernel go fix these issues.
thanks,
greg k-h