Skip to contentSkip to conversation

2.5.20-dj1 + fbcmap.c patch -- neofb.c:71: video/neomagic.h: No such file or directory

DISCUSSION Miles Lane 2 participants 2 messages Jun 4, 2002

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=neofb -c -o neofb.o neofb.c
neofb.c:71: video/neomagic.h: No such file or directory neofb.c:108: parse error before `bios8'
neofb.c:108: warning: type defaults to int' in declaration of bios8' neofb.c:109: warning: braces around scalar initializer neofb.c:109: warning: (near initialization for `bios8[0]') neofb.c:109: warning: excess elements in scalar initializer
...
neofb.c: In function `neoFindMode':
neofb.c:145: `biosMode' undeclared (first use in this function) neofb.c:145: (Each undeclared identifier is reported only once neofb.c:145: for each function it appears in.)
neofb.c:145: `mode' undeclared (first use in this function) neofb.c:145: warning: statement with no effect
neofb.c:182: warning: control reaches end of non-void function neofb.c: In function `neoCalcVCLK':
neofb.c:228: dereferencing pointer to incomplete type neofb.c:229: dereferencing pointer to incomplete type neofb.c:231: dereferencing pointer to incomplete type neofb.c:233: dereferencing pointer to incomplete type neofb.c: At top level:
neofb.c:252: warning: `struct xtimings' declared inside parameter list neofb.c:252: warning: its scope is only this definition or declaration, which is probably not what you want.
neofb.c: In function `vgaHWInit':
neofb.c:254: dereferencing pointer to incomplete type
...

#1 lore raw
Quoted 6 lines

gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes

(quoted diff) +0 -3
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686
-DKBUILD_BASENAME=neofb  -c -o neofb.o neofb.c

neofb.c:71: video/neomagic.h: No such file or directory

Yipes. Didn't sync up into Linus tree. I'm going to sync up soon again. Just as soon as I get approval from a few driver maintainers.