<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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:PMingLiU;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.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;}
 /* Page Definitions */
 @page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</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=ZH-TW link=blue vlink=purple style='text-justify-trim:punctuation'>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Dear All,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>  I’m building my system by
following Current Sysroot Development 1.x. My platform is ARM and I have built
the cross toolchain successfully. I use the toolchain to build everything I
need for my system. After the system can boot up, I use the toolchain to build
a compiler that is directly run on my platform. At first, I thought it’s
OK because when I write some simple program, it can be compiled and run successfully.
But when I tries to build apache (httpd-2.2.9) directly on the board, it fails
at linking stage. The error messages are shown as following<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Making all in support<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make[1]: Entering directory
`/root/httpd-2.2.9/support'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make[2]: Entering directory
`/root/httpd-2.2.9/support'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>/root/httpd-2.2.9/srclib/apr/libtool
--silent --mode=link gcc -g -O2 -pthread<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>     -o htpasswd 
htpasswd.lo   -lm /root/httpd-2.2.9/srclib/pcre/libpcre.la /ro<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>ot/httpd-2.2.9/srclib/apr-util/libaprutil-1.la
/root/httpd-2.2.9/srclib/apr-util<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>/xml/expat/lib/libexpat.la -liconv
/root/httpd-2.2.9/srclib/apr/libapr-1.la -luu<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>id -lm -lcrypt -lpthread -ldl<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>libtool: link: warning: library
`/usr/lib/libiconv.la' was moved.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>libtool: link: warning: library
`/usr/lib/libiconv.la' was moved.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>/usr/bin/ld: .libs/htpasswd: hidden symbol
`__fini_array_end' in .libs/htpasswd<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>is referenced by DSO<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>/usr/bin/ld: final link failed:
Nonrepresentable section on output<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>collect2: ld returned 1 exit status<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make[2]: *** [htpasswd] Error 1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make[2]: Leaving directory
`/root/httpd-2.2.9/support'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make[1]: *** [all-recursive] Error 1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make[1]: Leaving directory
`/root/httpd-2.2.9/support'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>make: *** [all-recursive] Error 1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I have googled on the Internet but I still
don’t have any clue to this issue. Please help.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Thanks a lot in advance.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

</div>

</body>

</html>