Error encounter when building xorg

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


Hi All,

When building the xorg source code using build.sh 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
'miPointerSetPosition'
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
/home/hongze/build/include/xorg/xf86_OSproc.h:135)
[-Wdeprecated-declarations]
sis_driver.c:14035:8: warning: 'xf86UnMapVidMem' is deprecated (declared at
/home/hongze/build/include/xorg/xf86_OSproc.h:137)
[-Wdeprecated-declarations]
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
build.sh: "make " failed on driver/xf86-video-sis
build.sh: error processing:  "driver/xf86-video-sis"


I also find the thread talking about this problem
here<http://lists.freedesktop.org/archives/xorg/2013-January/055388.html>.
But it does not have further follow up.

Does anyone have any idea of how to solve it?

Thanks,
Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20140321/19bc4f25/attachment.html>


More information about the xorg mailing list