Bug 138
Summary: | Build error: drivers/video/sis/sis_main.h:299: parse error before "sisfbinfo | ||
---|---|---|---|
Product: | Drivers | Reporter: | Torrey Hoffman (kernelbugs) |
Component: | Video(Other) | Assignee: | Bugme Janitors Team (bugme-janitors) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | --- | Bisected commit-id: |
Description
Torrey Hoffman
2002-12-04 17:11:03 UTC
Im looking at this now. same problem when compiling 2.5.58, but with modules due to my config
> gcc -Wp,-MD,drivers/video/sis/.sis_main.o.d -D__KERNEL__ -Iinclude -Wall
>-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
>-mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default
>-fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE
>-DKBUILD_BASENAME=sis_main -DKBUILD_MODNAME=sisfb -DEXPORT_SYMTAB -c -o
>drivers/video/sis/sis_main.o drivers/video/sis/sis_main.c
>drivers/video/sis/sis_main.c:XX:YY: video/fbcon[*].h: no such file or dir
(Note: last line abreviate the log. see below details)
Investigatig a bit, I found that lots of Frame Buffer file have disapeared since
2.5.48 (the last one I have that includes those missing files) in include/video
and driver/video: fbcon.h/c, fbcon-cfb8.h/c,, fbcon-cfb16.h/c,,
fbcon-cfb24.h/c,, fbcon-cfb32.h/c,, fbcon-accel.h/c,, ...
From .config
CONFIG_BLK_DEV_SIS5513=y
CONFIG_SIS900=m
CONFIG_AGP_SIS=m
CONFIG_FB_SIS=m
CONFIG_FB_SIS_300=y
# CONFIG_FB_SIS_315 is not set
The problem is that the driver has not been ported to the new framebuffer layer. The maintainer (Thomas Winischhofer) writes on his site (http://www.webit.at/~twinny/linuxsis630.shtml): "Kernel 2.5 support will have to wait a few weeks, it seems the fb API is still under development." Compiles (albeit with warnings) in current 2.5 |