<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello Raj,<br>Sorry about the late response.<br>I think it was just that my path to the linker was the thing causing the problem here.<br>However, the botan makefile does work with those standard variables.<br>I tried changing these variables inside the botan recipe but I suppose they were getting<br>written over by the makefile.<br>Thanks.<br><br>Simran Gill <br><br><div><div id="ecxSkyDrivePlaceholder"></div>&gt; Date: Wed, 29 Feb 2012 22:46:14 -0800<br>&gt; From: raj.khem@gmail.com<br>&gt; To: openembedded-core@lists.openembedded.org<br>&gt; Subject: Re: [OE-core] BOTAN crypto library<br>&gt; <br>&gt; On 02/24/2012 04:15 PM, simran singh wrote:<br>&gt; &gt; Hello,<br>&gt; &gt; <br>&gt; &gt; I hope this is right place to ask for help regarding this. I am trying<br>&gt; &gt; to build the Botan crytpo library using<br>&gt; &gt; system builder. I created a recipe for this and I am getting an error<br>&gt; &gt; when I try to $make the library.<br>&gt; &gt; This is the error I am getting:<br>&gt; &gt; <br>&gt; &gt; | /usr/bin/ld:<br>&gt; &gt; /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/<br>&gt; &gt; ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)<br>&gt; &gt; | /usr/bin/ld:<br>&gt; &gt; /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/<br>&gt; &gt; ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)<br>&gt; &gt; |<br>&gt; &gt; /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/<br>&gt; &gt; ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong format<br>&gt; &gt; | collect2: ld returned 1 exit status<br>&gt; &gt; | make: *** [libbotan-1.10.so.0.1] Error 1<br>&gt; &gt; | ERROR: Function do_install failed<br>&gt; &gt; <br>&gt; &gt; I am guessing this has to do something with the linking of the<br>&gt; &gt; libbotan-1.10.so.0.1 file. Please advice. I have attached<br>&gt; &gt; the recipe that I created<br>&gt; &gt; Thank you for any help.<br>&gt; <br>&gt; so its using your host ld to link target library thats totally broken<br>&gt; Does botan's makefile system honor standard variables like LD, CC, CXX<br>&gt; etc. ?<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; Openembedded-core mailing list<br>&gt; Openembedded-core@lists.openembedded.org<br>&gt; http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core<br></div>                                               </div></body>
</html>