<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:宋体;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
/* Page Definitions */
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Hi
all,<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Is
there any one who has compiled Xgl? I met some problems with the<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>compiling.<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>My
step is following,<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>
$ git-clone git://anongit.freedesktop.org/xorg/xserver<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='margin-left:21.0pt;text-align:left;
text-indent:21.0pt;text-autospace:none'><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'>$ cd xserver<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='margin-left:21.0pt;text-align:left;
text-indent:21.0pt;text-autospace:none'><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'>$./autogen.sh
--prefix=/opt/X11R7 --enable-xgl --enable-xglx<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>--with-mesa-source=/path/to/mesa<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='margin-left:21.0pt;text-align:left;
text-indent:21.0pt;text-autospace:none'><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'>$make<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Then,
I got the error,<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>
extension.c: In function 'DeclareExtensionSecurity':<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>extension.c:234:
error: 'UntrustedProcVector' undeclared (first use in<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>this
function)<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>extension.c:234:
error: (Each undeclared identifier is reported only<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>once<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>extension.c:234:
error: for each function it appears in.)<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>extension.c:235:
error: 'SwappedUntrustedProcVector' undeclared (first<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>use
in this function)<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>I see the function is in “xcsecurity”,
so I add option </span></font><font size=2><span lang=EN-US style='font-size:
10.0pt'>--disable-xcsecurity<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>But another error appeared,<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 face=宋体><span
lang=EN-US style='font-size:10.0pt'>libxgl.a(xglscreen.o): In function
`xglScreenInit':/home/veelion/xserver/hw/xgl/xglscreen.c:155: undefined
reference to `fbSetVisualTypesAndMasks'<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 face=宋体><span
lang=EN-US style='font-size:10.0pt'>:/home/veelion/xserver/hw/xgl/xglscreen.c:182:
undefined reference to `fbSetVisualTypesAndMasks'<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Is
my options for autogen.sh right? Is there any other options to build Xgl?<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>-Veelion<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>