<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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Ben,<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Thanks for the reply and I have registered with my coreID.<o:p></o:p></p>
<p class="MsoPlainText">I have compiled openssl-1.0.0 and installed at default location /usr/local/ssl/ and can see /usr/local/ssl/lib and /usr/local/ssl/bin directories.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">scons build= powerpc-none-linux-gnuspe \<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp; STRIP=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-strip \<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp; CC=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc \<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; &nbsp;&nbsp;CXX=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-g&#43;&#43;<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; CFLAGS=-I=-I/usr/local/ssl/include \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &nbsp;CXXFLAGS=-I/usr/local/ssl/include \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &nbsp;LINKFLAGS=-L/usr/local/ssl/lib<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">I hit the road either ERROR: Cannot find required openssl/md5.h or ERROR: cannot find fpclassify,tried &#8211;std=gnu99 as well.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt;&gt;&gt;&gt;&gt;&gt;&gt;I think I compiled openssl and placed it in the standard include &amp; library paths for the cross-compiler when using ARM<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Could you provide the paths where you have placed opensssl for ARM.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Prasad Gorja<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">On 03/13/2012 10:05 AM, Gorja Prasad-B37785 wrote:<o:p></o:p></p>
<p class="MsoPlainText">&gt; Some how, my mail got bounced back to me. Please help me!.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Please make sure you are subscribed with the proper email.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; Hi,<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; I am trying to compile&nbsp; tried to compile XORP-1.8.5 for PowerPC.<o:p></o:p></p>
<p class="MsoPlainText">&gt; 1.Compiled openssl-1.0.0 for PowerPC by using command and installed successsfully:<o:p></o:p></p>
<p class="MsoPlainText">&gt; CC=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnus<o:p></o:p></p>
<p class="MsoPlainText">&gt; pe-gcc \ <o:p></o:p></p>
<p class="MsoPlainText">&gt; RANLIB=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-<o:p></o:p></p>
<p class="MsoPlainText">&gt; gnuspe-ranlib \ <o:p></o:p></p>
<p class="MsoPlainText">&gt; AR==$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnu<o:p></o:p></p>
<p class="MsoPlainText">&gt; spe-ar\ Perl Configure&nbsp; --prefix=$(HOME)/openssl-1.0.0 linux-ppc<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; Make<o:p></o:p></p>
<p class="MsoPlainText">&gt; Make install<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; 2. Build XORP-1.8.5 by the following command:<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; scons build= powerpc-none-linux-gnuspe \<o:p></o:p></p>
<p class="MsoPlainText">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STRIP=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-strip \<o:p></o:p></p>
<p class="MsoPlainText">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CC=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc \<o:p></o:p></p>
<p class="MsoPlainText">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p>
<p class="MsoPlainText">&gt; CXX=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnu<o:p></o:p></p>
<p class="MsoPlainText">&gt; spe-g&#43;&#43;<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; It Throws an error that could not find openssl/md5.h and build exited, but I do not see an option of --with-openssl in scons -help or scons -H.<o:p></o:p></p>
<p class="MsoPlainText">&gt; But in step3(cross compilation heading),BUILD_NOTES, it is mentioned that &quot;Build xorp with the cross-compiler, specifying the path to openssl.&quot;<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; I am aware that xorp-1.6 can be compiled by using the command
<o:p></o:p></p>
<p class="MsoPlainText">&gt; xorp-1.6#./Configure --with-openssl=$(HOME)/openssl-1.0.0 --host=
<o:p></o:p></p>
<p class="MsoPlainText">&gt; powerpc-none-linux-gnuspe<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; Please let me know how to set up the path for openssl for XORP-1.8.5 for scons.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">I think I compiled openssl and placed it in the standard include &amp; library paths for the cross-compiler when using ARM.<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">If you patch scons files to allow specifying openssl, please post them for inclusion.&nbsp; Or, maybe someone else on the list knows how to do this...<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Ben<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">Ben Greear &lt;<a href="mailto:greearb@candelatech.com">greearb@candelatech.com</a>&gt;<o:p></o:p></p>
<p class="MsoPlainText">Candela Technologies Inc&nbsp; <a href="http://www.candelatech.com">
http://www.candelatech.com</a><o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">- Prasad Gorja<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>