2002-08-30 14:50:02

by Christoph Simon

[permalink] [raw]
Subject: Compile error with SiS support

Hi!

I just tried to compile the kernel 2.4.19 with support for a SiS
graphics card. The related options in .config I've set are:

CONFIG_AGP=y
CONFIG_AGP_VIA=y
CONFIG_AGP_SIS=y
CONFIG_DRM=y
CONFIG_DRM_NEW=y
CONFIG_DRM_SIS=y

After compiling, it seems that sis_main.o has not be included with
drm.o:

drivers/char/drm/drm.o: In function `sis_fb_alloc':
drivers/char/drm/drm.o(.text+0x6d26): undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x6d6d): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x6eb5): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x7386): undefined reference to `sis_free'
make: *** [vmlinux] Error 1

Any easy fix for this?

Thanks,

--
Christoph Simon
[email protected]


2002-08-30 15:07:29

by Alan

[permalink] [raw]
Subject: Re: Compile error with SiS support

On Fri, 2002-08-30 at 15:54, Christoph Simon wrote:
> Hi!
>
> I just tried to compile the kernel 2.4.19 with support for a SiS
> graphics card. The related options in .config I've set are:

You need SIS frame buffer support to use SIS DRM

In theory its possible to split the sis fb driver up but that hasnt been
attempted yet.

2002-08-30 15:18:25

by Christoph Simon

[permalink] [raw]
Subject: Re: Compile error with SiS support

On 30 Aug 2002 16:11:32 +0100
Alan Cox <[email protected]> wrote:

> > I just tried to compile the kernel 2.4.19 with support for a SiS
> > graphics card. The related options in .config I've set are:
>
> You need SIS frame buffer support to use SIS DRM

Thanks for your quick reply. You mean I must select?

Console drivers/Frame-buffer support/SIS acceleration

The help for this option says:

This is the frame buffer device driver for the SiS 630 and 640
Super Socket 7 UMA cards. Specs available at http://www.sis.com.tw.

But this is not my card, which is a SiS 6329.

Thanks again!

I'm not on this list, please CC me.

--
Christoph Simon
[email protected]

2002-08-30 15:51:26

by Alan

[permalink] [raw]
Subject: Re: Compile error with SiS support

On Fri, 2002-08-30 at 16:22, Christoph Simon wrote:
> On 30 Aug 2002 16:11:32 +0100
> But this is not my card, which is a SiS 6329.

On the old 632x stuff 3D isnt supported currently.