Bug 44 - radeonfb does not compile at all - seems incomplete? or what?
Summary: radeonfb does not compile at all - seems incomplete? or what?
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: All Linux
: P2 blocking
Assignee: Khoa Huynh
URL:
Keywords:
: 76 (view as bug list)
Depends on: 32
Blocks:
  Show dependency tree
 
Reported: 2002-11-14 23:36 UTC by Joshua K.
Modified: 2003-03-17 14:48 UTC (History)
1 user (show)

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


Attachments

Description Joshua K. 2002-11-14 23:36:52 UTC
Please enter
Exact Kernel version: 2.5.47
Distribution: Debian GNU/Linux 'sid'
Hardware Environment: Dell Smartstep 200N (Pentium 4 2.00GHz)
Software Environment: gcc-3.2
Problem Description: Compile of radeonfb.o fails.

  gcc -Wp,-MD,drivers/video/.radeonfb.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=pentium4 -Iarch/i386/mach-
generic -nostdinc -iwithprefix include    -DKBUILD_BASENAME=radeonfb   -c -o 
drivers/video/radeonfb.o drivers/video/radeonfb.c
drivers/video/radeonfb.c:605: unknown field `fb_get_fix' specified in 
initializer
drivers/video/radeonfb.c:605: warning: initialization from incompatible pointer 
type
drivers/video/radeonfb.c:606: unknown field `fb_get_var' specified in 
initializer
drivers/video/radeonfb.c:606: warning: initialization from incompatible pointer 
type
drivers/video/radeonfb.c: In function `radeon_set_dispsw':
drivers/video/radeonfb.c:1385: structure has no member named `type'
drivers/video/radeonfb.c:1386: structure has no member named `type_aux'
drivers/video/radeonfb.c:1387: structure has no member named `ypanstep'
drivers/video/radeonfb.c:1388: structure has no member named `ywrapstep'
drivers/video/radeonfb.c:1397: structure has no member named `visual'
drivers/video/radeonfb.c:1398: structure has no member named `line_length'
drivers/video/radeonfb.c:1405: structure has no member named `visual'
drivers/video/radeonfb.c:1406: structure has no member named `line_length'
drivers/video/radeonfb.c:1413: structure has no member named `visual'
drivers/video/radeonfb.c:1414: structure has no member named `line_length'
drivers/video/radeonfb.c:1421: structure has no member named `visual'
drivers/video/radeonfb.c:1422: structure has no member named `line_length'
drivers/video/radeonfb.c: In function `radeonfb_get_fix':
drivers/video/radeonfb.c:1514: structure has no member named `type'
drivers/video/radeonfb.c:1515: structure has no member named `type_aux'
drivers/video/radeonfb.c:1516: structure has no member named `visual'
drivers/video/radeonfb.c:1522: structure has no member named `line_length'
drivers/video/radeonfb.c: In function `radeonfb_set_var':
drivers/video/radeonfb.c:1578: structure has no member named `line_length'
drivers/video/radeonfb.c:1579: structure has no member named `visual'
drivers/video/radeonfb.c:1590: structure has no member named `line_length'
drivers/video/radeonfb.c:1591: structure has no member named `visual'
drivers/video/radeonfb.c:1606: structure has no member named `line_length'
drivers/video/radeonfb.c:1607: structure has no member named `visual'
drivers/video/radeonfb.c:1619: structure has no member named `line_length'
drivers/video/radeonfb.c:1620: structure has no member named `visual'
drivers/video/radeonfb.c: At top level:
drivers/video/radeonfb.c:2487: warning: `fbcon_radeon8' defined but not used
drivers/video/radeonfb.c:598: warning: `radeon_read_OF' declared `static' but 
never defined
drivers/video/radeonfb.c:1710: warning: `radeonfb_set_cmap' defined but not used
make[2]: *** [drivers/video/radeonfb.o] Error 1

Steps to reproduce:
1. Configure radeonfb as either a module or built in.
2. make bzImage
3. watch it crash and burn :(
Comment 1 Hugo Santos 2002-11-15 02:33:37 UTC
Same as Bug 32 (http://bugme.osdl.org/show_bug.cgi?id=32)
Comment 2 Khoa Huynh 2002-11-15 07:28:04 UTC
Hugo -- thanks for pointing it out....I am going to reject this bug as a 
duplicate of Bug 32.

*** This bug has been marked as a duplicate of 32 ***
Comment 3 Moses Lei 2002-11-16 10:52:22 UTC
I suggest reopening and tracking the issue separately until this particular
driver is verified to compile. See dependencies of bug 32
Comment 4 Khoa Huynh 2002-11-19 13:13:41 UTC
*** Bug 76 has been marked as a duplicate of this bug. ***
Comment 5 Dave Jones 2002-12-09 21:39:56 UTC
Fixed with 2.5.51 ?
Comment 6 Joshua K. 2002-12-09 23:26:43 UTC
Don't know. I'll give it a try tonight.
Comment 7 Dave Jones 2002-12-12 10:22:08 UTC
This is still broken, mostly due to missing #defines for chipset id's.
Comment 8 Benjamin Herrenschmidt 2002-12-26 01:17:11 UTC
I'm taking care of this driver for now until the maintainer (Ani Joshi) shows up
again. Look for a fixed version (with disabled HW acceleration for now) to popup
on the linuxppc-2.5 tree (bk://ppc.bkbits.net/linuxppc-2.5), I'll eventually
submit the fixed version to Linus myself if Ani doesn't do it.
Comment 9 Joshua K. 2003-01-10 19:44:37 UTC
Update: radeonfb now compiles.
However, one sees a lot of trash on the screen in between switching from text
mode to FB mode - at which point the blinking cursor disappears!

So, it works now, but I think it only needs a little tuning.
I will look at the source and maybe i can do something with it.

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