Hi,

On Sun, 2004-01-25 at 02:24, Christian Tramnitz wrote:
> is the SIS315 driver currently broken?

Hopefully not. :-)

> The webpage still says sis315 is available in CVS but requires a patch, 
> howver from the CVS changelog it seems this is not necessary anymore...

It doesn't require a patch anymore, but it needs sisfb >= 1.6.23 for
correct operation.

> It doesn't compile for me anyways:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src 
> -D_REENTRANT -Wall -O3 -ffast-math -pipe -DFUSION_FAKE 
> -Werror-implicit-function-declaration -c sis315.c -MT sis315.lo -MD -MP 
> -MF .deps/sis315.TPlo  -fPIC -DPIC -o sis315.lo
> sis315.c:159: warning: type defaults to `int' in declaration of `sisfb_info'
> sis315.c:159: error: syntax error before '*' token
> sis315.c: In function `check_sisfb_version':
> sis315.c:161: error: `i' undeclared (first use in this function)
> sis315.c:161: error: (Each undeclared identifier is reported only once
> sis315.c:161: error: for each function it appears in.)
> sis315.c:168: error: `drv' undeclared (first use in this function)
> sis315.c: In function `driver_init_driver':
> sis315.c:214: error: `sisfb_info' undeclared (first use in this function)
> sis315.c:214: error: syntax error before "fbinfo"
> sis315.c:223: error: `SISFB_GET_INFO' undeclared (first use in this 
> function)
> sis315.c:223: error: `fbinfo' undeclared (first use in this function)
> make[3]: *** [sis315.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/DirectFB/gfxdrivers/sis315'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/DirectFB/gfxdrivers'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/DirectFB'
> make: *** [all] Error 2
> 
> 
> Identical results with 2.6.1-mm1 and 2.6.2-rc1-mm2...

It seems like your /usr/include/linux/sisfb.h is very old or broken.

Please try http://www.winischhofer.net/sis/sisfb_patch_2.6.1.diff.gz (I
don't know whether it is already included in one of the kernel versions
you mentioned above) and copy its linux/sisfb.h to /usr/include.

Regards,
Andreas



-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to