Messages in this thread Patch in this message |  | | | From | Marc-Christian Petersen <> | | Subject | Re: (No subject) | | Date | Mon, 2 Dec 2002 10:21:27 +0100 |
| |
Hi Nadav,
first: a subject would be nice ;)
> I am having some problems with recent kernels. The SIS DRI module since > 2.4.18 through 2.4.20 will not compile ^H ^H ^H Link properly. The Error I > get is undefined reference to sis_free() and sis_malloc(). I believe it has > to do with the dependencies or make file linking with a missing .o file. > The problem occures whenever I try to compile the module into the kernel ( > [*] sis ). > when I try to compile it as a module it fails when I go through "make > modules_install" with the same error. that problem is known for a long time now and has been often discussed but never got a fix into mainstream. Use this.
The patch does 2 simple things.
1. If you select SiS DRI statically it selects SiS Framebuffer also statically 2. Same as above for module.
ciao, Marc
# Patch from: me
diff -Nur linux-2.4.18-wolk-3.3-fullkernel-org/drivers/char/drm/Config.in linux-2.4.18-wolk-3.3-fullkernel/drivers/char/drm/Config.in --- linux-2.4.18-wolk-3.3-fullkernel-org/drivers/char/drm/Config.in Mon Feb 25 20:37:57 2002 +++ linux-2.4.18-wolk-3.3-fullkernel/drivers/char/drm/Config.in Tue Apr 23 19:22:31 2002 @@ -13,3 +13,10 @@ dep_tristate ' Intel 830M' CONFIG_DRM_I830 $CONFIG_AGP dep_tristate ' Matrox g200/g400' CONFIG_DRM_MGA $CONFIG_AGP dep_tristate ' SiS' CONFIG_DRM_SIS $CONFIG_AGP + + if [ "$CONFIG_DRM_SIS" = "y" ]; then + define_bool CONFIG_FB_SIS y + fi + if [ "$CONFIG_DRM_SIS" = "m" ]; then + define_bool CONFIG_FB_SIS m + fi |  |