Problem 2.5.59:SiS framebuffer failed to compile while Intel810 is OK.
I tested Intel810fb in kernel 2.5.59 with a success result. MPlayer can use fb to play vcd on my Intel Mainboard now.
Then, I want to test the DVD playback in my SiS mainboard that has a DVD drive installed. So I modify the .config to include SiS Framebuffer support and failed to compile with errors below:
=================
make -f scripts/Makefile.build obj=drivers/video/sis
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=pentium3 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=sis_main -DKBUILD_MODNAME=sisfb -c -odrivers/video/sis/sis_main.o drivers/video/sis/sis_main.c drivers/video/sis/sis_main.c:49:25: video/fbcon.h: No such file or directorydrivers/video/sis/sis_main.c:50:30: video/fbcon-cfb8.h: No such file or directorydrivers/video/sis/sis_main.c:51:31: video/fbcon-cfb16.h: No such file or directorydrivers/video/sis/sis_main.c:52:31: video/fbcon-cfb24.h: No such file or directorydrivers/video/sis/sis_main.c:53:31: video/fbcon-cfb32.h: No such file or directory
In file included from drivers/video/sis/sis_main.c:57:drivers/video/sis/sis_main.h:251: warning: excess elements in array initializerdrivers/video/sis/sis_main.h:251: warning: (near initialization for `default_var.reserved')drivers/video/sis/sis_main.h:281: redeclaration of enum _VGA_ENGINE' drivers/video/sis/sis_main.h:282: conflicting types for UNKNOWN_VGA' include/linux/sisfb.h:47: previous declaration of UNKNOWN_VGA' drivers/video/sis/sis_main.h:283: conflicting types for SIS_300_VGA' include/linux/sisfb.h:48: previous declaration of SIS_300_VGA' drivers/video/sis/sis_main.h:284: conflicting types for SIS_315_VGA' include/linux/sisfb.h:49: previous declaration of SIS_315_VGA' drivers/video/sis/sis_main.c: In function sis_get_glyph':drivers/video/sis/sis_main.c:250: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c:250: (Each undeclared identifier is reported only oncedrivers/video/sis/sis_main.c:250: for each function it appears in.) drivers/video/sis/sis_main.c:259: warning: implicit declaration of function `fontheight'drivers/video/sis/sis_main.c:260: warning: implicit declaration of function `fontwidth'drivers/video/sis/sis_main.c:263: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:265: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:267: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c: In function `sisfb_set_disp':drivers/video/sis/sis_main.c:657: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c:666: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:667: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:668: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:669: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:670: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:671: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:672: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:673: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:674: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:675: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:677: warning: implicit declaration of function `save_flags'drivers/video/sis/sis_main.c:704: `fbcon_dummy' undeclared (first use in this function)drivers/video/sis/sis_main.c:707: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:707: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:707: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:708: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:709: warning: implicit declaration of function `restore_flags'drivers/video/sis/sis_main.c:711: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:711: `SCROLL_YREDRAW' undeclared (first use in this function)drivers/video/sis/sis_main.c:712: invalid use of undefined type `struct display_switch'drivers/video/sis/sis_main.c:712: `fbcon_redraw_bmove' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_do_install_cmap':drivers/video/sis/sis_main.c:721: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_get_fix':drivers/video/sis/sis_main.c:2313: structure has no member named `modename'drivers/video/sis/sis_main.c: In function `sisfb_get_var':drivers/video/sis/sis_main.c:2354: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_set_var':drivers/video/sis/sis_main.c:2370: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c:2384: structure has no member named `changevar'drivers/video/sis/sis_main.c:2385: structure has no member named `changevar'drivers/video/sis/sis_main.c:2394: warning: implicit declaration of function `vc_resize_con'drivers/video/sis/sis_main.c: In function `sisfb_get_cmap':drivers/video/sis/sis_main.c:2407: warning: implicit declaration of function `fb_get_cmap'drivers/video/sis/sis_main.c:2408: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_set_cmap':drivers/video/sis/sis_main.c:2421: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: At top level:drivers/video/sis/sis_main.c:2563: unknown field `fb_get_fix' specified in initializerdrivers/video/sis/sis_main.c:2563: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2564: unknown field `fb_get_var' specified in initializerdrivers/video/sis/sis_main.c:2564: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2565: unknown field `fb_set_var' specified in initializerdrivers/video/sis/sis_main.c:2565: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2566: unknown field `fb_get_cmap' specified in initializerdrivers/video/sis/sis_main.c:2566: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2567: unknown field `fb_set_cmap' specified in initializerdrivers/video/sis/sis_main.c:2567: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2570: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2572: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c: In function `sisfb_switch':drivers/video/sis/sis_main.c:2588: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_setup':drivers/video/sis/sis_main.c:2650: structure has no member named `fontname'drivers/video/sis/sis_main.c:2664: structure has no member named `fontname'drivers/video/sis/sis_main.c: In function `sisfb_init':drivers/video/sis/sis_main.c:2742: structure has no member named `modename'drivers/video/sis/sis_main.c:2774: structure has no member named `modename'drivers/video/sis/sis_main.c:3346: structure has no member named `changevar'drivers/video/sis/sis_main.c:3357: structure has no member named disp' drivers/video/sis/sis_main.c:3358: structure has no member named switch_con'drivers/video/sis/sis_main.c:3359: structure has no member named `updatevar'drivers/video/sis/sis_main.c:3394: structure has no member named `modename'include/linux/pci.h: At top level:drivers/video/sis/sis_main.h:219: storage size of disp' isn't known drivers/video/sis/sis_main.h:223: storage size of sisfb_sw' isn't known drivers/video/sis/sis_main.h:267: warning: `fbcon_cmap' defined but not useddrivers/video/sis/sis_main.h:275: warning: `currcon' defined but not used
make[3]: *** [drivers/video/sis/sis_main.o] Error 1
make[2]: *** [drivers/video/sis] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
=================
What is the status of SiS fb support in 2.5? Where can I find patches?
Thanks in advance!
Sampson Fung
A New Comer to Kernel Testing.
this problem is already logged in Kernel Bugzilla
http://bugzilla.kernel.org/show_bug.cgi?id=138
Build error: drivers/video/sis/sis_main.h:299: parse error before "sisfbinfo since 2.5.50, not yet resolved
Arnaud
Quoted 202 lines · Sampson Fung
I tested Intel810fb in kernel 2.5.59 with a success result. MPlayer can use fb to play vcd on my Intel Mainboard now.
Then, I want to test the DVD playback in my SiS mainboard that has a DVD drive installed. So I modify the .config to include SiS Framebuffer support and failed to compile with errors below:
=================make -f
scripts/Makefile.buildobj=drivers/video/sis
gcc -Wp,-MD,drivers/video/sis/.sis_main.o.d -D__KERNEL__ -Iinclude(quoted diff) +0
-4-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=sis_main -DKBUILD_MODNAME=sisfb -c -o
drivers/video/sis/sis_main.odrivers/video/sis/sis_main.cdrivers/video/sis/sis_main.c:49:25:video/fbcon.h: No such file or directorydrivers/video/sis/sis_main.c:50:30:video/fbcon-cfb8.h: No such file or directorydrivers/video/sis/sis_main.c:51:31:video/fbcon-cfb16.h: No such file or directorydrivers/video/sis/sis_main.c:52:31:video/fbcon-cfb24.h: No such file or directorydrivers/video/sis/sis_main.c:53:31:video/fbcon-cfb32.h: No such file or directory
In file included fromdrivers/video/sis/sis_main.c:57:drivers/video/sis/sis_main.h:251: warning: excess elements in array initializerdrivers/video/sis/sis_main.h:251: warning: (near initialization for `default_var.reserved')drivers/video/sis/sis_main.h:281: redeclaration ofenum _VGA_ENGINE' drivers/video/sis/sis_main.h:282: conflicting types forUNKNOWN_VGA'include/linux/sisfb.h:47: previous declaration ofUNKNOWN_VGA' drivers/video/sis/sis_main.h:283: conflicting types forSIS_300_VGA'include/linux/sisfb.h:48: previous declaration ofSIS_300_VGA' drivers/video/sis/sis_main.h:284: conflicting types forSIS_315_VGA'include/linux/sisfb.h:49: previous declaration ofSIS_315_VGA' drivers/video/sis/sis_main.c: In functionsis_get_glyph':drivers/video/sis/sis_main.c:250: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c:250: (Each undeclared identifier is reported only oncedrivers/video/sis/sis_main.c:250: for each function it appears in.)drivers/video/sis/sis_main.c:259: warning: implicit declaration of function `fontheight'drivers/video/sis/sis_main.c:260: warning: implicit declaration of function `fontwidth'drivers/video/sis/sis_main.c:263: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:265: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:267: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c: In function `sisfb_set_disp':drivers/video/sis/sis_main.c:657: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c:666: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:667: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:668: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:669: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:670: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:671: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:672: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:673: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:674: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:675: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:677: warning: implicit declaration of function `save_flags'drivers/video/sis/sis_main.c:704: `fbcon_dummy' undeclared (first use in this function)drivers/video/sis/sis_main.c:707: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:707: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:707: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:708: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:709: warning: implicit declaration of function `restore_flags'drivers/video/sis/sis_main.c:711: dereferencing pointer to incomplete typedrivers/video/sis/sis_main.c:711: `SCROLL_YREDRAW' undeclared (first use in this function)drivers/video/sis/sis_main.c:712: invalid use of undefined type `structdisplay_switch'drivers/video/sis/sis_main.c:712: `fbcon_redraw_bmove' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_do_install_cmap':drivers/video/sis/sis_main.c:721: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_get_fix':drivers/video/sis/sis_main.c:2313: structure has no member named `modename'drivers/video/sis/sis_main.c: In function `sisfb_get_var':drivers/video/sis/sis_main.c:2354: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_set_var':drivers/video/sis/sis_main.c:2370: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c:2384: structure has no member named `changevar'drivers/video/sis/sis_main.c:2385: structure has no member named `changevar'drivers/video/sis/sis_main.c:2394: warning: implicit declaration of function `vc_resize_con'drivers/video/sis/sis_main.c: In function `sisfb_get_cmap':drivers/video/sis/sis_main.c:2407: warning: implicit declaration of function `fb_get_cmap'drivers/video/sis/sis_main.c:2408: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_set_cmap':drivers/video/sis/sis_main.c:2421: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: At top level:drivers/video/sis/sis_main.c:2563: unknown field `fb_get_fix' specified in initializerdrivers/video/sis/sis_main.c:2563: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2564: unknown field `fb_get_var' specified in initializerdrivers/video/sis/sis_main.c:2564: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2565: unknown field `fb_set_var' specified in initializerdrivers/video/sis/sis_main.c:2565: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2566: unknown field `fb_get_cmap' specified in initializerdrivers/video/sis/sis_main.c:2566: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2567: unknown field `fb_set_cmap' specified in initializerdrivers/video/sis/sis_main.c:2567: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2570: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c:2572: warning: initialization from incompatible pointer typedrivers/video/sis/sis_main.c: In function `sisfb_switch':drivers/video/sis/sis_main.c:2588: `fb_display' undeclared (first use in this function)drivers/video/sis/sis_main.c: In function `sisfb_setup':drivers/video/sis/sis_main.c:2650: structure has no member named `fontname'drivers/video/sis/sis_main.c:2664: structure has no member named `fontname'drivers/video/sis/sis_main.c: In function `sisfb_init':drivers/video/sis/sis_main.c:2742: structure has no member named `modename'drivers/video/sis/sis_main.c:2774: structure has no member named `modename'drivers/video/sis/sis_main.c:3346: structure has no member named `changevar'drivers/video/sis/sis_main.c:3357: structure has no member nameddisp' drivers/video/sis/sis_main.c:3358: structure has no member namedswitch_con'drivers/video/sis/sis_main.c:3359: structure has no member named `updatevar'drivers/video/sis/sis_main.c:3394: structure has no member named `modename'include/linux/pci.h: At top level:drivers/video/sis/sis_main.h:219: storage size ofdisp' isn't known drivers/video/sis/sis_main.h:223: storage size ofsisfb_sw' isn't knowndrivers/video/sis/sis_main.h:267: warning: `fbcon_cmap' defined but not useddrivers/video/sis/sis_main.h:275: warning: `currcon' defined but not used
make[3]: *** [drivers/video/sis/sis_main.o] Error 1
make[2]: *** [drivers/video/sis] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2=================
What is the status of SiS fb support in 2.5? Where can I find patches?
Thanks in advance!
Sampson Fung
A New Comer to Kernel Testing.-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Thus spake Sampson Fung ([email protected]):
Quoted 8 lines
I tested Intel810fb in kernel 2.5.59 with a success result. MPlayer can use fb to play vcd on my Intel Mainboard now.
Then, I want to test the DVD playback in my SiS mainboard that has a DVD drive installed. So I modify the .config to include SiS Framebuffer support and failed to compile with errors below:
=================
[sniped the build output]
The problem is, that the driver yet not been ported to the new framebuffer layer of 2.5.
The maintainer of the driver 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."
greetz Markus
Signature · 4 lines
Markus Barenhoff - Spannskamp 26 - D-22527 Hamburg - Germany Cell: +49-179-8863351 eMail: [email protected] pgp key: http://www.barenhoff.net/mbarenh.gpg (keyID:0xAE7C7759) FingerPrint: 79 64 AA D9 B7 16 F5 06 6A 88 5F A9 4D 49 45 BB
Quoted 11 lines
Quoted 9 lines
I tested Intel810fb in kernel 2.5.59 with a success result. MPlayer can use fb to play vcd on my Intel Mainboard now.
Then, I want to test the DVD playback in my SiS mainboard that has a DVD drive installed. So I modify the .config to include SiS Framebuffer support and failed to compile with errors below:
=================[sniped the build output]
Quoted 7 lines
The problem is, that the driver yet not been ported to the new framebuffer layer of 2.5.
The maintainer of the driver 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."
Tht is no longer the case. The core api is stable. There might be additions in the future but it is no longer constantly changing.