Bug 35 - Riva Framebuffer doesn't compile
Summary: Riva Framebuffer doesn't compile
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Console/Framebuffers (show other bugs)
Hardware: IA-32 Linux
: P2 high
Assignee: Martin J. Bligh
URL:
Keywords:
Depends on: 32
Blocks:
  Show dependency tree
 
Reported: 2002-11-14 18:21 UTC by Luke-Jr
Modified: 2002-12-17 14:31 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Configuration file (22.63 KB, text/plain)
2002-11-14 18:22 UTC, Luke-Jr
Details

Description Luke-Jr 2002-11-14 18:21:02 UTC
Exact Kernel version: 2.5.47
Distribution: none
Hardware Environment:
  Motherboard: Abit BX133-RAID
  CPU: PIII 800 MHz (133*6)
  Sound: SB16 ISA
  Video: nVidia TNT2
  Network: 100 Mbit PCI (no brand)
  RAM: 256 + 256 + 128 = 640 MB (100 MHz)
  IDE Chains:
    hda: 20.5 GB Western Digital
    hdb: 18 GB Western Digital
    hdc: CD-RW: PlexWriter 8/4/32A
    hde: 40 GB Western Digital
    hdf: 40 GB Western Digital
Software Environment:
    Glibc 2.3
    GCC 3.2
Problem Description:
    Riva framebuffer has a page of errors
Steps to reproduce:
    Configure with Riva framebuffer support. Try to compile.
Comment 1 Luke-Jr 2002-11-14 18:22:00 UTC
Created attachment 6 [details]
Configuration file
Comment 2 Moses Lei 2002-11-16 10:50:48 UTC
Most of the framebuffer drivers aren't compiling.
Comment 3 John Kim 2002-11-18 13:37:24 UTC
It breaks on 2.4.48 as well.

  gcc -Wp,-MD,drivers/video/riva/.fbdev.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon
-Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE  
-DKBUILD_BASENAME=fbdev -DKBUILD_MODNAME=rivafb   -c -o
drivers/video/riva/fbdev.o drivers/video/riva/fbdev.c
drivers/video/riva/fbdev.c: In function `riva_set_dispsw':
drivers/video/riva/fbdev.c:665: structure has no member named `type'
drivers/video/riva/fbdev.c:666: structure has no member named `type_aux'
drivers/video/riva/fbdev.c:667: structure has no member named `ypanstep'
drivers/video/riva/fbdev.c:668: structure has no member named `ywrapstep'
drivers/video/riva/fbdev.c:677: structure has no member named `line_length'
drivers/video/riva/fbdev.c:678: structure has no member named `visual'
drivers/video/riva/fbdev.c:686: structure has no member named `line_length'
drivers/video/riva/fbdev.c:687: structure has no member named `visual'
drivers/video/riva/fbdev.c:695: structure has no member named `line_length'
drivers/video/riva/fbdev.c:696: structure has no member named `visual'
drivers/video/riva/fbdev.c: In function `rivafb_get_fix':
drivers/video/riva/fbdev.c:1294: structure has no member named `type'
drivers/video/riva/fbdev.c:1295: structure has no member named `type_aux'
drivers/video/riva/fbdev.c:1296: structure has no member named `visual'
drivers/video/riva/fbdev.c:1302: structure has no member named `line_length'
drivers/video/riva/fbdev.c: In function `rivafb_pan_display':
drivers/video/riva/fbdev.c:1611: structure has no member named `line_length'
drivers/video/riva/fbdev.c: At top level:
drivers/video/riva/fbdev.c:1748: unknown field `fb_get_fix' specified in initializer
drivers/video/riva/fbdev.c:1748: warning: initialization from incompatible
pointer type
drivers/video/riva/fbdev.c:1749: unknown field `fb_get_var' specified in initializer
drivers/video/riva/fbdev.c:1749: warning: initialization from incompatible
pointer type
make[3]: *** [drivers/video/riva/fbdev.o] Error 1
make[2]: *** [drivers/video/riva] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
Comment 4 Dave Jones 2002-12-09 21:40:33 UTC
Fixed in 2.5.51 ?
Comment 5 Luke-Jr 2002-12-10 17:05:00 UTC
Yes, it is.
Comment 6 Bug Me Administrator 2002-12-17 14:31:52 UTC
Changed category to Drivers.

Note You need to log in before you can comment on or make changes to this bug.