<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi everyone !<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to cross compile xorg 7.7 and I am having libtool errors when compiling libs, especially with libfixes and libX*<o:p></o:p></p>
<p class="MsoNormal">For some reason, libs that doesn’t have libtool script tlmain.sh v2.4.2 can’t parse its internal dependency_libs correctly and give this error when linking  (see below).<o:p></o:p></p>
<p class="MsoNormal">I have a workaround for the libs using libtool 2.4: I patched ltmain.sh form another library, using ltmain v2.4.2, and everything is fine. But for libs like libXfixes using libtool 2.2.6, I can’t patch ltmain.sh<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here’s an example using package libXfixes-5.0, Using Centos 6.3<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-sysroot=/opt/verint/velix/i686/target --build=i686-pc-linux-gnu --host=i686-unknown-linux-gnu CC=i686-unknown-linux-gnu-gcc AR=i686-unknown-linux-gnu-ar RANLIB=i686-unknown-linux-gnu-ranlib
 LD=i686-unknown-linux-gnu-ld CPP=i686-unknown-linux-gnu-cpp<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">make<o:p></o:p></p>
<p class="MsoNormal">[…]<o:p></o:p></p>
<p class="MsoNormal">  CCLD   libXfixes.la<o:p></o:p></p>
<p class="MsoNormal">libtool: link: warning: library `/opt/verint/velix/i686/target/usr/lib/libX11.la' was moved.<o:p></o:p></p>
<p class="MsoNormal">../libtool: line 6727: cd: =/usr/lib: No such file or directory<o:p></o:p></p>
<p class="MsoNormal">libtool: link: warning: cannot determine absolute directory name of `=/usr/lib'<o:p></o:p></p>
<p class="MsoNormal">/bin/grep: =/usr/lib/libxcb.la: No such file or directory<o:p></o:p></p>
<p class="MsoNormal">/bin/sed: can't read =/usr/lib/libxcb.la: No such file or directory<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What can I do about those libs ?<o:p></o:p></p>
<p class="MsoNormal">Thanks in advance,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Francis Leblanc-Lebeau</span><span style="font-size:9.0pt;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1F497D">Software developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1F497D">Verint Systems Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>

<pre>This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or entity(ies) named above.
If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient),
you may not use, copy, disclose or distribute to anyone this message or any information contained in this message.
If you have received this electronic message in error, please notify us by replying to this e-mail.