<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
you should 'configure' with CC and LD (and others..) set correctly
in your environment, not do 'make' with redefining them.<br>
<br>
arnaud<br>
<br>
On 01/11/2012 03:10 PM, Uday Kiran K wrote:
<blockquote
cite="mid:2AC8A142DDA64B49B60DAF19BE5173C303FEFC3190@GUREXMB02.ASIAN.AD.ARICENT.COM"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered
medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">Hi list<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">I am trying to cross compile
libnl 3.2.3 for powerpc in CentOS5.0.<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">But after "make install" , when I
see /usr/lib folder , libnl*.so's are not generated.<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">Is it that I am doing something
wrong?<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">How to generate libnl libraries
which I am in need for need for hostapd compilation
(getting error in hostapd as cannot find -lnl -lgenl)<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">Following are the steps I
followed<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">1) sed -i
"/^#include.*<stdlib.h>/a\#include <limits.h>"
include/netlink-local.h && ./configure
--host=powerpc CC=powerpc-linux-gnu-gcc --prefix=/usr<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">2) make CC=powerpc-linux-gnu-gcc<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font size="2" face="Courier New"><span
style="font-size: 10pt;">3) make install
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span
style="font-size: 10pt; font-family: Arial;">-Uday<o:p></o:p></span></font></p>
</div>
<br>
<font color="Gray" size="2" face="Arial"><br>
<br>
<br>
===============================================================================<br>
Please refer to
<a class="moz-txt-link-freetext" href="http://www.aricent.com/legal/email_disclaimer.html">http://www.aricent.com/legal/email_disclaimer.html</a><br>
for important disclosures regarding this electronic
communication.<br>
===============================================================================<br>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
libnl mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libnl@lists.infradead.org">libnl@lists.infradead.org</a>
<a class="moz-txt-link-freetext" href="http://lists.infradead.org/mailman/listinfo/libnl">http://lists.infradead.org/mailman/listinfo/libnl</a>
</pre>
</blockquote>
<br>
</body>
</html>