2.5.3[7,8] riva fbdev compile error
Hi,
fbdev compile error still not fixed.
I'm compiling with gcc 3.2
gcc -Wp,-MD,./.fbdev.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -I/usr/src/linux/arch/i386/mach-generic -nostdinc
-iwithprefix include -DKBUILD_BASENAME=fbdev -c -o fbdev.o fbdev.cfbdev.c: In function `riva_set_dispsw':
fbdev.c:665: structure has no member named type' fbdev.c:666: structure has no member named type_aux' fbdev.c:667: structure has no member named ypanstep' fbdev.c:668: structure has no member named ywrapstep' fbdev.c:657: warning: unused variable `accel'fbdev.c: In function `rivafb_setcolreg':
fbdev.c:1202: warning: unused variable `chip'fbdev.c: In function `rivafb_get_fix':
fbdev.c:1294: structure has no member named type' fbdev.c:1295: structure has no member named type_aux' fbdev.c:1296: structure has no member named visual' fbdev.c:1302: structure has no member named line_length' fbdev.c: In function `rivafb_pan_display':
fbdev.c:1611: structure has no member named `line_length' fbdev.c: At top level:
fbdev.c:1748: unknown field fb_get_fix' specified in initializer fbdev.c:1748: warning: initialization from incompatible pointer type fbdev.c:1749: unknown field fb_get_var' specified in initializer fbdev.c:1749: warning: initialization from incompatible pointer type fbdev.c:732: warning: `riva_wclut' defined but not used make[3]: *** [fbdev.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/video/riva' make[2]: *** [riva] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/video' make[1]: *** [video] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [drivers] Error 2
Regards
-Ubaida-