Exact Kernel version: 2.5.50 Distribution: Red Hat 8.0 Hardware Environment: Pentium III, SIS chipset Software Environment: Up to date Red Hat 8.0 Problem Description: bzImage build failure: gcc -Wp,-MD,drivers/video/sis/.sis_main.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=sis_main -DKBUILD_MODNAME=sisfb -DEXPORT_SYMTAB -c -o drivers/video/sis/sis_main.o drivers/video/sis/sis_main.c In file included from drivers/video/sis/sis_main.c:57: drivers/video/sis/sis_main.h:299: parse error before "sisfbinfo" drivers/video/sis/sis_main.h:299: warning: type defaults to int' in declaration of sisfbinfo' drivers/video/sis/sis_main.h:299: warning: data definition has no type or storage class drivers/video/sis/sis_main.c: In function sisfb_query_north_bridge_space': drivers/video/sis/sis_main.c:206: SIS_650' undeclared (first use in this function) (this continues with several dozen "foo is undefined" and similar errors in sis_main.c) Steps to reproduce: Relevant bits of my config: grep SIS .config CONFIG_BLK_DEV_SIS5513=y CONFIG_SIS900=m CONFIG_AGP_SIS=y CONFIG_FB_SIS=y CONFIG_FB_SIS_300=y CONFIG_FB_SIS_315=y
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