From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s6.col0.hotmail.com ([65.55.34.144]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S15QQ-0006Mu-SB for openembedded-core@lists.openembedded.org; Sat, 25 Feb 2012 01:23:47 +0100 Received: from COL120-W40 ([65.55.34.137]) by col0-omc3-s6.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 24 Feb 2012 16:15:19 -0800 Message-ID: X-Originating-IP: [70.137.141.9] From: simran singh To: , Date: Fri, 24 Feb 2012 16:15:19 -0800 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 25 Feb 2012 00:15:19.0049 (UTC) FILETIME=[8E7F7F90:01CCF352] Subject: BOTAN crypto library X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2012 00:23:47 -0000 X-Groupsio-MsgNum: 17958 Content-Type: multipart/mixed; boundary="_1ed1f953-ee02-48c3-99e9-b4747e4ff39e_" --_1ed1f953-ee02-48c3-99e9-b4747e4ff39e_ Content-Type: multipart/alternative; boundary="_fd2288e3-3a85-4f8a-8fc6-bb3c559ef695_" --_fd2288e3-3a85-4f8a-8fc6-bb3c559ef695_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I hope this is right place to ask for help regarding this. I am trying to b= uild the Botan crytpo library using system builder. I created a recipe for this and I am getting an error when = I try to $make the library. This is the error I am getting: | /usr/bin/ld: /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder= /build_p4080ds_release/sysroots/ ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) | /usr/bin/ld: /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder= /build_p4080ds_release/sysroots/ ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) | /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080d= s_release/sysroots/ ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong forma= t | collect2: ld returned 1 exit status | make: *** [libbotan-1.10.so.0.1] Error 1 | ERROR: Function do_install failed I am guessing this has to do something with the linking of the libbotan-1.1= 0.so.0.1 file. Please advice. I have attached the recipe that I created Thank you for any help. Simran = --_fd2288e3-3a85-4f8a-8fc6-bb3c559ef695_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

I hope this is right place to ask for help regarding this. = I am trying to build the Botan crytpo library using
system builder. I cr= eated a recipe for this and I am getting an error when I try to $make the l= ibrary.
This is the error I am getting:

| /usr/bin/ld: /home/Simr= an/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sy= sroots/
ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: = 20)
| /usr/bin/ld: /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-system= builder/build_p4080ds_release/sysroots/
ppce500mc-linux/usr/lib/crti.o: = Relocations in generic ELF (EM: 20)
| /home/Simran/Freescale/QorIQ-DPAA-= SDK-20111026-systembuilder/build_p4080ds_release/sysroots/
ppce500mc-lin= ux/usr/lib/crti.o: could not read symbols: File in wrong format
| collec= t2: ld returned 1 exit status
| make: *** [libbotan-1.10.so.0.1] Error 1=
| ERROR: Function do_install failed

I am guessing this has to do= something with the linking of the libbotan-1.10.so.0.1 file. Please advice= . I have attached
the recipe that I created
Thank you for any help.
Simran
= --_fd2288e3-3a85-4f8a-8fc6-bb3c559ef695_-- --_1ed1f953-ee02-48c3-99e9-b4747e4ff39e_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="botan_1.0.bb" REVTQ1JJUFRJT04gPSAiQm90YW4gbGlicmFyeSIKUFIgPSAicjAiClNSQ19VUkkgPSAiZmlsZTov LyR7UE59LSR7UFZ9LnRhci5neiIKCmluaGVyaXQgYXV0b3Rvb2xzCgpTID0gIiR7V09SS0RJUn0i Cgpkb19pbnN0YWxsKCkgewoKCW1rZGlyIC1wICR7RH0vdXNyL2JvdGFuCgljZCBCb3Rhbi0xLjEw LjEKIwlweXRob24gY29uZmlndXJlLnB5IC0tcHJlZml4PSR7RH0vdXNyL2JvdGFuCglweXRob24g Y29uZmlndXJlLnB5CgltYWtlCiMJbWFrZSBpbnN0YWxsCgp9CgpGSUxFU18ke1BOfSArPSAiL3Vz ci9iaW4vYm90YW4iCg== --_1ed1f953-ee02-48c3-99e9-b4747e4ff39e_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s16.col0.hotmail.com ([65.55.34.154]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S29Ni-00073f-Fz; Mon, 27 Feb 2012 23:49:23 +0100 Received: from COL120-W36 ([65.55.34.135]) by col0-omc3-s16.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 27 Feb 2012 14:39:51 -0800 Message-ID: X-Originating-IP: [70.137.142.215] From: simran singh To: , Date: Mon, 27 Feb 2012 14:39:49 -0800 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 27 Feb 2012 22:39:51.0238 (UTC) FILETIME=[B7B22660:01CCF5A0] Subject: Re: [oe] BOTAN crypto library X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 22:49:23 -0000 Content-Type: multipart/alternative; boundary="_b5ac102b-4580-45ea-8930-771cec077aca_" --_b5ac102b-4580-45ea-8930-771cec077aca_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I figured out the solution. Posting here for someone else lost like me. Had to add this line: export LDFLAGS =3D "-L${STAGING_LIBDIR}" From: kyoonn@hotmail.com To: openembedded-core@lists.openembedded.org=3B openembedded-devel@lists.op= enembedded.org Date: Fri=2C 24 Feb 2012 16:15:19 -0800 Subject: [oe] BOTAN crypto library =20 Hello=2C =20 I hope this is right place to ask for help regarding this. I am trying to b= uild the Botan crytpo library using system builder. I created a recipe for this and I am getting an error when = I try to $make the library. This is the error I am getting: =20 | /usr/bin/ld: /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder= /build_p4080ds_release/sysroots/ ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) | /usr/bin/ld: /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder= /build_p4080ds_release/sysroots/ ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) | /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080d= s_release/sysroots/ ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong forma= t | collect2: ld returned 1 exit status | make: *** [libbotan-1.10.so.0.1] Error 1 | ERROR: Function do_install failed =20 I am guessing this has to do something with the linking of the libbotan-1.1= 0.so.0.1 file. Please advice. I have attached the recipe that I created Thank you for any help. =20 Simran =20 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel = = --_b5ac102b-4580-45ea-8930-771cec077aca_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

I figured out the solution. Posting here for someone else lost like me.

Had to add this line:

export LDFLAGS =3D "-L${STAGING_LIBDIR}"





From: kyoonn@hotmail.com
To: openembedde= d-core@lists.openembedded.org=3B openembedded-devel@lists.openembedded.org<= br>Date: Fri=2C 24 Feb 2012 16:15:19 -0800
Subject: [oe] BOTAN crypto li= brary

 
Hello=2C

I hope this is right place to ask f= or help regarding this. I am trying to build the Botan crytpo library using=
system builder. I created a recipe for this and I am getting an error w= hen I try to $make the library.
This is the error I am getting:

= | /usr/bin/ld: /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder= /build_p4080ds_release/sysroots/
ppce500mc-linux/usr/lib/crti.o: Relocat= ions in generic ELF (EM: 20)
| /usr/bin/ld: /home/Simran/Freescale/QorIQ= -DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/
ppce500= mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)
| /home/Sim= ran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/s= ysroots/
ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in= wrong format
| collect2: ld returned 1 exit status
| make: *** [libb= otan-1.10.so.0.1] Error 1
| ERROR: Function do_install failed

I = am guessing this has to do something with the linking of the libbotan-1.10.= so.0.1 file. Please advice. I have attached
the recipe that I createdThank you for any help.

Simran


______= _________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
= --_b5ac102b-4580-45ea-8930-771cec077aca_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz0-f50.google.com ([209.85.210.50]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S2zub-0004rC-2O for openembedded-core@lists.openembedded.org; Thu, 01 Mar 2012 07:54:49 +0100 Received: by dald2 with SMTP id d2so433643dal.9 for ; Wed, 29 Feb 2012 22:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of raj.khem@gmail.com designates 10.68.129.4 as permitted sender) client-ip=10.68.129.4; Authentication-Results: mr.google.com; spf=pass (google.com: domain of raj.khem@gmail.com designates 10.68.129.4 as permitted sender) smtp.mail=raj.khem@gmail.com; dkim=pass header.i=raj.khem@gmail.com Received: from mr.google.com ([10.68.129.4]) by 10.68.129.4 with SMTP id ns4mr16149369pbb.151.1330584378819 (num_hops = 1); Wed, 29 Feb 2012 22:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=CkEPmgRbtNNjHogWBx3GWn+/eZI1Oq5TnYC7Vq8G/UY=; b=aC687dmKOJHOq3/hsOCq7QTQ04q4QnM5kP4B7y/E0B2kK4GM9rbWaQSqLvI6w0W6gs tnAkDMTUVV5V1Q0mBdGvzxWon29H4/aUGKPQtgn1IcxBVhTPx7Qx+Rg3ulZn5SwVjHVV 6CQJzwnF4BP5YRUpAt6DLRgGuh0p9JlTZOGn4= Received: by 10.68.129.4 with SMTP id ns4mr13379681pbb.151.1330584378726; Wed, 29 Feb 2012 22:46:18 -0800 (PST) Received: from [192.168.1.78] (99-57-140-209.lightspeed.sntcca.sbcglobal.net. [99.57.140.209]) by mx.google.com with ESMTPS id w8sm1282322pbo.23.2012.02.29.22.46.16 (version=SSLv3 cipher=OTHER); Wed, 29 Feb 2012 22:46:17 -0800 (PST) Message-ID: <4F4F1B36.7020504@gmail.com> Date: Wed, 29 Feb 2012 22:46:14 -0800 From: Khem Raj User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120224 Thunderbird/11.0 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: In-Reply-To: Subject: Re: BOTAN crypto library X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 06:54:49 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 02/24/2012 04:15 PM, simran singh wrote: > Hello, > > I hope this is right place to ask for help regarding this. I am trying > to build the Botan crytpo library using > system builder. I created a recipe for this and I am getting an error > when I try to $make the library. > This is the error I am getting: > > | /usr/bin/ld: > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/ > ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) > | /usr/bin/ld: > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/ > ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) > | > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/ > ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong format > | collect2: ld returned 1 exit status > | make: *** [libbotan-1.10.so.0.1] Error 1 > | ERROR: Function do_install failed > > I am guessing this has to do something with the linking of the > libbotan-1.10.so.0.1 file. Please advice. I have attached > the recipe that I created > Thank you for any help. so its using your host ld to link target library thats totally broken Does botan's makefile system honor standard variables like LD, CC, CXX etc. ? From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s3.col0.hotmail.com ([65.55.34.141]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S64AD-00051G-Fe for openembedded-core@lists.openembedded.org; Fri, 09 Mar 2012 19:03:37 +0100 Received: from COL120-W1 ([65.55.34.135]) by col0-omc3-s3.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 9 Mar 2012 09:53:50 -0800 Message-ID: X-Originating-IP: [70.137.142.215] From: simran singh To: Date: Fri, 9 Mar 2012 09:53:49 -0800 Importance: Normal In-Reply-To: <4F4F1B36.7020504@gmail.com> References: , <4F4F1B36.7020504@gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 09 Mar 2012 17:53:50.0036 (UTC) FILETIME=[955DC940:01CCFE1D] Subject: Re: BOTAN crypto library X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 18:03:37 -0000 Content-Type: multipart/alternative; boundary="_6dee23e6-a826-48b0-84bf-beca98682f6d_" --_6dee23e6-a826-48b0-84bf-beca98682f6d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Raj=2C Sorry about the late response. I think it was just that my path to the linker was the thing causing the pr= oblem here. However=2C the botan makefile does work with those standard variables. I tried changing these variables inside the botan recipe but I suppose they= were getting written over by the makefile. Thanks. Simran Gill=20 > Date: Wed=2C 29 Feb 2012 22:46:14 -0800 > From: raj.khem@gmail.com > To: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] BOTAN crypto library >=20 > On 02/24/2012 04:15 PM=2C simran singh wrote: > > Hello=2C > >=20 > > I hope this is right place to ask for help regarding this. I am trying > > to build the Botan crytpo library using > > system builder. I created a recipe for this and I am getting an error > > when I try to $make the library. > > This is the error I am getting: > >=20 > > | /usr/bin/ld: > > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p408= 0ds_release/sysroots/ > > ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) > > | /usr/bin/ld: > > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p408= 0ds_release/sysroots/ > > ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20) > > | > > /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p408= 0ds_release/sysroots/ > > ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong f= ormat > > | collect2: ld returned 1 exit status > > | make: *** [libbotan-1.10.so.0.1] Error 1 > > | ERROR: Function do_install failed > >=20 > > I am guessing this has to do something with the linking of the > > libbotan-1.10.so.0.1 file. Please advice. I have attached > > the recipe that I created > > Thank you for any help. >=20 > so its using your host ld to link target library thats totally broken > Does botan's makefile system honor standard variables like LD=2C CC=2C CX= X > etc. ? >=20 >=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core = --_6dee23e6-a826-48b0-84bf-beca98682f6d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Raj=2C
Sorry about the late response.
I think it was just that = my path to the linker was the thing causing the problem here.
However=2C= the botan makefile does work with those standard variables.
I tried cha= nging these variables inside the botan recipe but I suppose they were getti= ng
written over by the makefile.
Thanks.

Simran Gill

<= div>
>=3B Date: Wed=2C 29 Feb 201= 2 22:46:14 -0800
>=3B From: raj.khem@gmail.com
>=3B To: openembed= ded-core@lists.openembedded.org
>=3B Subject: Re: [OE-core] BOTAN cryp= to library
>=3B
>=3B On 02/24/2012 04:15 PM=2C simran singh wrot= e:
>=3B >=3B Hello=2C
>=3B >=3B
>=3B >=3B I hope this= is right place to ask for help regarding this. I am trying
>=3B >= =3B to build the Botan crytpo library using
>=3B >=3B system builder= . I created a recipe for this and I am getting an error
>=3B >=3B wh= en I try to $make the library.
>=3B >=3B This is the error I am gett= ing:
>=3B >=3B
>=3B >=3B | /usr/bin/ld:
>=3B >=3B /ho= me/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_rel= ease/sysroots/
>=3B >=3B ppce500mc-linux/usr/lib/crti.o: Relocations= in generic ELF (EM: 20)
>=3B >=3B | /usr/bin/ld:
>=3B >=3B /= home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_r= elease/sysroots/
>=3B >=3B ppce500mc-linux/usr/lib/crti.o: Relocatio= ns in generic ELF (EM: 20)
>=3B >=3B |
>=3B >=3B /home/Simran= /Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysr= oots/
>=3B >=3B ppce500mc-linux/usr/lib/crti.o: could not read symbo= ls: File in wrong format
>=3B >=3B | collect2: ld returned 1 exit st= atus
>=3B >=3B | make: *** [libbotan-1.10.so.0.1] Error 1
>=3B = >=3B | ERROR: Function do_install failed
>=3B >=3B
>=3B >= =3B I am guessing this has to do something with the linking of the
>= =3B >=3B libbotan-1.10.so.0.1 file. Please advice. I have attached
>= =3B >=3B the recipe that I created
>=3B >=3B Thank you for any hel= p.
>=3B
>=3B so its using your host ld to link target library th= ats totally broken
>=3B Does botan's makefile system honor standard va= riables like LD=2C CC=2C CXX
>=3B etc. ?
>=3B
>=3B
>= =3B _______________________________________________
>=3B Openembedded-= core mailing list
>=3B Openembedded-core@lists.openembedded.org
>= =3B http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
= --_6dee23e6-a826-48b0-84bf-beca98682f6d_--