Skip to contentSkip to conversation

2.6.23-rc9 compile error drivers/video/fbmon.c

DISCUSSION Helge Hafting 3 participants 4 messages Oct 8, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · 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

#2 lore raw
In reply to Helge Hafting
Quoted 9 lines · Helge Hafting

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
)

Quoted 4 lines

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).

Quoted 1 line

Helge Hafting

cu
Adrian

Signature · 4 lines
       "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
#3 lore raw
Quoted 9 lines · Adrian Bunk
Quoted 7 lines · Helge Hafting

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 )

Quoted 8 lines
Quoted 5 lines

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