<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>> Date: Wed, 29 Feb 2012 22:46:14 -0800<br>> From: raj.khem@gmail.com<br>> To: openembedded-core@lists.openembedded.org<br>> Subject: Re: [OE-core] BOTAN crypto library<br>> <br>> On 02/24/2012 04:15 PM, simran singh wrote:<br>> > Hello,<br>> > <br>> > I hope this is right place to ask for help regarding this. I am trying<br>> > to build the Botan crytpo library using<br>> > system builder. I created a recipe for this and I am getting an error<br>> > when I try to $make the library.<br>> > This is the error I am getting:<br>> > <br>> > | /usr/bin/ld:<br>> > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/<br>> > ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)<br>> > | /usr/bin/ld:<br>> > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/<br>> > ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)<br>> > |<br>> > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/<br>> > ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong format<br>> > | collect2: ld returned 1 exit status<br>> > | make: *** [libbotan-1.10.so.0.1] Error 1<br>> > | ERROR: Function do_install failed<br>> > <br>> > I am guessing this has to do something with the linking of the<br>> > libbotan-1.10.so.0.1 file. Please advice. I have attached<br>> > the recipe that I created<br>> > Thank you for any help.<br>> <br>> so its using your host ld to link target library thats totally broken<br>> Does botan's makefile system honor standard variables like LD, CC, CXX<br>> etc. ?<br>> <br>> <br>> _______________________________________________<br>> Openembedded-core mailing list<br>> Openembedded-core@lists.openembedded.org<br>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core<br></div>                                            </div></body>
</html>