Error encounter when building xorg

Hongze Zhao zhaohongze at
Fri Mar 21 10:16:50 PDT 2014

Hi All,

When building the xorg source code using provided, I encounter
such problem:

/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected 'char *
restrict' but argument is of type 'const char *'
sis_driver.c: In function 'SISMergedPointerMoved':
sis_driver.c:9384:13: error: too few arguments to function
In file included from /home/hongze/build/include/xorg/xf86Cursor.h:6:0,
                 from sis.h:83,
                 from sis_driver.c:50:
/home/hongze/build/include/xorg/mipointer.h:106:1: note: declared here
sis_driver.c: In function 'SiS_GetSetBIOSScratch':
sis_driver.c:14022:8: warning: 'xf86MapVidMem' is deprecated (declared at
sis_driver.c:14035:8: warning: 'xf86UnMapVidMem' is deprecated (declared at
make[2]: *** [sis_driver.lo] Error 1
make[2]: Leaving directory `/home/hongze/src/driver/xf86-video-sis/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hongze/src/driver/xf86-video-sis'
make: *** [all] Error 2 "make " failed on driver/xf86-video-sis error processing:  "driver/xf86-video-sis"

I also find the thread talking about this problem
But it does not have further follow up.

Does anyone have any idea of how to solve it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list