2007-10-08 22:02:14

by Helge Hafting

[permalink] [raw]
Subject: 2.6.23-rc9 compile error drivers/video/fbmon.c

CC drivers/video/fbmon.o
drivers/video/fbmon.c: In function ‘fb_parse_edid’:
drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attrib
_’ before ‘*’ token
drivers/video/fbmon.c:867: error: ‘block’ undeclared (first use in this func
)

This line reads:
unsigned char$*block;

Source error, or is my tree simply corrupt?

Helge Hafting


2007-10-08 22:07:37

by Randy Dunlap

[permalink] [raw]
Subject: Re: 2.6.23-rc9 compile error drivers/video/fbmon.c

On Tue, 09 Oct 2007 00:00:38 +0200 Helge Hafting wrote:

> CC drivers/video/fbmon.o
> drivers/video/fbmon.c: In function ‘fb_parse_edid’:
> drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attrib
> _’ before ‘*’ token
> drivers/video/fbmon.c:867: error: ‘block’ undeclared (first use in this func
> )
>
> This line reads:
> unsigned char$*block;
>
> Source error, or is my tree simply corrupt?

Hi,
It's a space in my kernel source file.

---
~Randy

2007-10-08 22:11:49

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.6.23-rc9 compile error drivers/video/fbmon.c

On Tue, Oct 09, 2007 at 12:00:38AM +0200, Helge Hafting wrote:
> CC drivers/video/fbmon.o
> drivers/video/fbmon.c: In function ‘fb_parse_edid’:
> drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’,
> ‘asm’ or ‘__attrib
> _’ before ‘*’ token
> drivers/video/fbmon.c:867: error: ‘block’ undeclared (first use in this
> func
> )
>
> This line reads:
> unsigned char$*block;
>
> Source error, or is my tree simply corrupt?

The $ is a space character in my copy of the tree, so it seems to be a
corrupted tree with a bit error on your side ($ and the space character
differ by only one bit).

> Helge Hafting

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2007-10-08 22:17:31

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.6.23-rc9 compile error drivers/video/fbmon.c

Adrian Bunk wrote:
> On Tue, Oct 09, 2007 at 12:00:38AM +0200, Helge Hafting wrote:
>
>> CC drivers/video/fbmon.o
>> drivers/video/fbmon.c: In function ‘fb_parse_edid’:
>> drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’,
>> ‘asm’ or ‘__attrib
>> _’ before ‘*’ token
>> drivers/video/fbmon.c:867: error: ‘block’ undeclared (first use in this
>> func
>> )
>>
>> This line reads:
>> unsigned char$*block;
>>
>> Source error, or is my tree simply corrupt?
>>
>
> The $ is a space character in my copy of the tree, so it seems to be a
> corrupted tree with a bit error on your side ($ and the space character
> differ by only one bit).
>
I downloaded a new tree.
That file has quite a few single-bit errors in my old tree.
Mostly of the +16 variety.
Seems I have to look for bad memory :-( :-( :-(

Helge Hafting