<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi friends,<div><br></div><div>When compiled <span style="line-height: normal;">bind-9.8.3-P2</span> in dhcp-4.2.4-P1-r0 I encountered some problems. Thank you in advance.</div><div><br></div><div>1 To let the make work I need to add --host=xxx --build=xxx and --with-randomdev=/dev/urandom. Is this a proper solution?</div><div><br></div><div>2 Then I met <i style="line-height: normal;">/bin/sh: ./gen: cannot execute binary file. </i><span style="line-height: normal;">This might because the <i>gen</i> should be generated by host compiler but now it's done by cross compiler. On the Internet it said that it need to change <i>CC </i>into <i>CC_FOR_BUILD </i>in bind-9.8.3-P2/lib/export/dns/Makefile<i>. </i>But </span><i style="line-height: normal;">CC_FOR_BUILD </i><span style="line-height: normal;">is null in my environment.</span><span style="line-height: normal;">&nbsp
 ;So where can I find the right </span><i style="line-height: normal;">CC_FOR_BUILD </i><span style="line-height: normal;">or other</span><span style="line-height: normal;"> host compiler definition?</span></div><div><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>