<div dir="ltr"><div dir="ltr"><div>Hi All,</div><div><br></div><div>When building the xorg source code using build.sh provided, I encounter such problem:</div><div><br></div><div><div>/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected 'char * restrict' but argument is of type 'const char *'</div>
<div>sis_driver.c: In function 'SISMergedPointerMoved':</div><div>sis_driver.c:9384:13: <font color="#ff0000">error</font>: too few arguments to function 'miPointerSetPosition'</div><div>In file included from /home/hongze/build/include/xorg/xf86Cursor.h:6:0,</div>
<div>                 from sis.h:83,</div><div>                 from sis_driver.c:50:</div><div>/home/hongze/build/include/xorg/mipointer.h:106:1: note: declared here</div><div>sis_driver.c: In function 'SiS_GetSetBIOSScratch':</div>
<div>sis_driver.c:14022:8: warning: 'xf86MapVidMem' is deprecated (declared at /home/hongze/build/include/xorg/xf86_OSproc.h:135) [-Wdeprecated-declarations]</div><div>sis_driver.c:14035:8: warning: 'xf86UnMapVidMem' is deprecated (declared at /home/hongze/build/include/xorg/xf86_OSproc.h:137) [-Wdeprecated-declarations]</div>
<div>make[2]: *** [sis_driver.lo] <font color="#ff0000">Error </font>1</div><div>make[2]: Leaving directory `/home/hongze/src/driver/xf86-video-sis/src'</div><div>make[1]: *** [all-recursive] <font color="#ff0000">Error </font>1</div>
<div>make[1]: Leaving directory `/home/hongze/src/driver/xf86-video-sis'</div><div>make: *** [all] Error 2</div><div>build.sh: "make " failed on driver/xf86-video-sis</div><div>build.sh: error processing:  "driver/xf86-video-sis"</div>
<div><br></div></div><div><br></div><div>I also find the thread talking about this problem <a href="http://lists.freedesktop.org/archives/xorg/2013-January/055388.html">here</a>. But it does not have further follow up.</div>
<div><br></div><div>Does anyone have any idea of how to solve it?</div><div><br></div><div>Thanks,</div><div>Randy</div></div>
</div>