problem cross compiling libnl

Arnaud Mouiche arnaud.mouiche at invoxia.com
Wed Jan 11 11:13:46 EST 2012


you should 'configure' with CC and LD (and others..) set correctly in 
your environment, not do 'make' with redefining them.

arnaud

On 01/11/2012 03:10 PM, Uday Kiran K wrote:
>
> Hi list
>
> I am trying to cross compile libnl 3.2.3 for powerpc in CentOS5.0.
>
> But after "make install" , when I see /usr/lib folder , libnl*.so's 
> are not generated.
>
> Is it that I am doing something wrong?
>
> How to generate libnl libraries which I am in need for need for 
> hostapd compilation (getting error in hostapd as cannot find -lnl -lgenl)
>
> Following are the steps I followed
>
> 1) sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" 
> include/netlink-local.h && ./configure --host=powerpc 
> CC=powerpc-linux-gnu-gcc  --prefix=/usr
>
> 2) make CC=powerpc-linux-gnu-gcc
>
> 3) make install
>
> -Uday
>
>
>
>
>
> ===============================================================================
> Please refer to http://www.aricent.com/legal/email_disclaimer.html
> for important disclosures regarding this electronic communication.
> ===============================================================================
>
>
> _______________________________________________
> libnl mailing list
> libnl at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libnl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120111/43b52359/attachment.html>


More information about the libnl mailing list