<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:"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:0cm;
        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;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.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="EN-IN" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US">Hi 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 want to cross compile the ISC DHCP-4.2.3  to armv5b compiler type.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%;text-autospace:
none">
<b>Command 1:<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%;text-autospace:
none">
<span lang="EN-US">[user@nemo dhcp-4.2.3]$</span>./configure --prefix=/home<span lang="EN">/ameen/dhcp-4.2.3/output   CC</span>=/opt/crosstool/armv5b-linux/bin/armv5b-linux-gcc   
<span lang="EN">--enable-debug  --with-srv6-lease-file=/var/db/dhcpd6.leases --with-cli6-lease-file=/var/db/dhclient6.leases --with-srv6-pid-file=/var/run/dhcpd6.pid --with-cli6-pid-file=/var/run/dhclient6.pid --with-relay-pid-file=/var/run/dhcrelay.pid --cache-file=config.cache<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%;text-autospace:
none">
<b><o:p> </o:p></b></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span lang="EN-US"> ./configure command running successfully.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%;text-autospace:
none">
<b><o:p> </o:p></b></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%;text-autospace:
none">
<b>Command 2:<o:p></o:p></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">While issuing make command , its throwing an error which I mentioned below.<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">[user@nemo dhcp-4.2.3]$ make<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Making all in bind<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">make[1]: Entering directory `/home/user/dhcp-4.2.3/bind'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Configuring BIND Export libraries for DHCP.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">configure: WARNING: if you wanted to set the --build type, don't use --host.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">    If a cross compiler is detected then cross compile mode will be used<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">configure: WARNING: using cross tools not prefixed with host triplet<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Building BIND Export libraries - this takes some time.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">building in /home/user/dhcp-4.2.3/bind/bind-9.8.1/lib/export<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/bin/sh: ./gen: cannot execute binary file<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gmake[3]: *** [include/dns/enumtype.h] Error 126<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gmake[2]: *** [subdirs] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">make[1]: *** [all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">make[1]: Leaving directory `/home/user/dhcp-4.2.3/bind'<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"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                I would like to know what would be the reason for this error.I am using ISC DHCP-4.2.3 package.<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">                Please let me know is there any procedure available for cross compiling ISC DHCP-4.2.3.<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">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Ameen S<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</body>
</html>