Is it possible to cross compile hostapd for powerpc in CentOS5.0 ?<br><br>I am not able to generate libraries nl and genl by cross compiling libnl.<br><br>-Uday<br><br><div class="gmail_quote">On Wed, Jan 11, 2012 at 4:59 PM, uday kiran <span dir="ltr">&lt;<a href="mailto:kaniki.uday@gmail.com">kaniki.uday@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sriram<br><br>Thanks for the reply . That helps.<br><br>But i got a linker error as below<br><br>cannot find -lnl<br>
cannot find -lnl-genl<br><br>for that I have downloaded libnl3.2.2 and issued the following commands<br>
<br>1) ./configure --host=powerpc CC=powerpc-linux-gnu-gcc<br><br>Output &gt;&gt;&gt; configure: WARNING: If you wanted to set the --build type, don&#39;t use --host.<br>    If a cross compiler is detected then cross compile mode will be used.<br>

checking for a BSD-compatible install... /usr/bin/install -c<br>......<br>....<br><br>2) make CC=powerpc-linux-gnu-gcc<br><br>3) make install &lt;== this step is not creating the libnl libraries in the lib folder which are required for hostapd linking.<br>

<br>Could you please help me sorting it out.<span class="HOEnZb"><font color="#888888"><br><br>-Uday</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Jan 11, 2012 at 3:29 PM, Madhvapathi Sriram <span dir="ltr">&lt;<a href="mailto:Madhvapathi.Sriram@csr.com" target="_blank">Madhvapathi.Sriram@csr.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you have openssl installed on your machine? If not you need to install it.<br>
<br>
If you have one already installed, edit the hostapd Makefile to include it in the CFLAGS<br>
Something like: CFLAGS += -I~/openssl/include<br>
<br>
Hope this helps...<br>
<br>
<br>
<br>
<br>
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom<br>


More information can be found at <a href="http://www.csr.com" target="_blank">www.csr.com</a>. Follow CSR on Twitter at <a href="http://twitter.com/CSR_PLC" target="_blank">http://twitter.com/CSR_PLC</a> and read our blog at <a href="http://www.csr.com/blog" target="_blank">www.csr.com/blog</a><br>


</blockquote></div><br>
</div></div></blockquote></div><br>