public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel 2.6.11.12 I2C error
@ 2005-06-13 18:45 Mark Bidewell
  2005-06-13 19:00 ` Jesper Juhl
  2005-06-13 20:54 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Bidewell @ 2005-06-13 18:45 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel 2.6.11.12 I2C error
  2005-06-13 18:45 kernel 2.6.11.12 I2C error Mark Bidewell
@ 2005-06-13 19:00 ` Jesper Juhl
  2005-06-13 20:13   ` Jean Delvare
  2005-06-13 20:54 ` Greg KH
  1 sibling, 1 reply; 4+ messages in thread
From: Jesper Juhl @ 2005-06-13 19:00 UTC (permalink / raw)
  To: Mark Bidewell; +Cc: linux-kernel

On 6/13/05, Mark Bidewell <mark.bidewell@alumni.clemson.edu> wrote:
> 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
> 
Try an older gcc or a recent gcc snapshot. gcc 4.0 has known issues
when compiling the kernel.


-- 
Jesper Juhl <jesper.juhl@gmail.com>
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel 2.6.11.12 I2C error
  2005-06-13 19:00 ` Jesper Juhl
@ 2005-06-13 20:13   ` Jean Delvare
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2005-06-13 20:13 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: Mark Bidewell, LKML

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel 2.6.11.12 I2C error
  2005-06-13 18:45 kernel 2.6.11.12 I2C error Mark Bidewell
  2005-06-13 19:00 ` Jesper Juhl
@ 2005-06-13 20:54 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2005-06-13 20:54 UTC (permalink / raw)
  To: Mark Bidewell; +Cc: linux-kernel

On Mon, Jun 13, 2005 at 02:45:44PM -0400, Mark Bidewell wrote:
> 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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-13 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 18:45 kernel 2.6.11.12 I2C error Mark Bidewell
2005-06-13 19:00 ` Jesper Juhl
2005-06-13 20:13   ` Jean Delvare
2005-06-13 20:54 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox