Skip to contentSkip to conversation

: linux-2.5.38 compile error with frame buffer support enabled

BUG Tarkan Erimer 1 participant 1 message Sep 26, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I tried to compile linux-2.5.38 with Frame-buffer support enabled. I chose the "nVidia Riva support" in "Frame-buffer support" section. Making "make dep clean" works OK. But, when I began "make bzImage", I got the following error message, which is attached to this mail via "error.log". I, also attached my ".config" file and "ver_linux" output. I hope, these help to resolve this problem. If need more info, please mail me.

Tarkan Erimer

make[3]: Leaving directory /usr/src/linux-2.5.38/drivers/usb/input' make[2]: Leaving directory /usr/src/linux-2.5.38/drivers/usb' make[2]: Entering directory /usr/src/linux-2.5.38/drivers/video' make[3]: Entering directory /usr/src/linux-2.5.38/drivers/video/riva'
gcc -Wp,-MD,./.fbdev.o.d -D__KERNEL__ -I/usr/src/linux-2.5.38/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux-2.5.38/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=fbdev -c -o fbdev.o fbdev.c
fbdev.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:1586: warning: base' might be used uninitialized in this function 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-2.5.38/drivers/video/riva' make[2]: *** [riva] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.38/drivers/video' make[1]: *** [video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.38/drivers'
make: *** [drivers] Error 2
[root@localhost linux-2.5.38]#