2.5.40 FB_RIVA broken

From: jhakala@byterapers.com
Date: Tue Oct 01 2002 - 20:24:47 EST


Using framebuffer-driver for "nVidia Riva" causes compile to fail.
(in .config: CONFIG_FB_RIVA=y)
-----------------
 gcc -Wp,-MD,./.accel.o.d -D__KERNEL__ -I/usr/src/linux-2.5.40/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-2.5.40/arch/i386/mach-generic -nostdinc
-iwithprefix include -DKBUILD_BASENAME=accel -c -o accel.o accel.c
drivers/video/riva/accel.c: In function `fbcon_riva8_setup':
drivers/video/riva/accel.c:165: structure has no member named
`line_length'
drivers/video/riva/accel.c:165: structure has no member named
`line_length'
drivers/video/riva/accel.c: In function `fbcon_riva16_setup':
drivers/video/riva/accel.c:271: structure has no member named
`line_length'
drivers/video/riva/accel.c:271: structure has no member named
`line_length'
drivers/video/riva/accel.c: In function `fbcon_riva32_setup':
drivers/video/riva/accel.c:358: structure has no member named
`line_length'
drivers/video/riva/accel.c:358: structure has no member named
`line_length'
  ld -m elf_i386 -r -o rivafb.o fbdev.o riva_hw.o accel.o
ld: cannot open fbdev.o: No such file or directory
make[3]: *** [rivafb.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.40/drivers/video/riva'
make[2]: *** [riva] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.40/drivers/video'
make[1]: *** [video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.40/drivers'
make: *** [drivers] Error 2
----------------

the complete .config -file is available from
http://byterapers.com/~jhakala/config2540_riva

Compiler was unofficial RedHatted GCC version 2.96-81. (shame on me)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:31 EST