* BOTAN crypto library
@ 2012-02-25 0:15 ` simran singh
0 siblings, 0 replies; 6+ messages in thread
From: simran singh @ 2012-02-25 0:15 UTC (permalink / raw)
To: openembedded-core, openembedded-devel
[-- Attachment #1.1: Type: text/plain, Size: 1111 bytes --]
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.
Simran
[-- Attachment #1.2: Type: text/html, Size: 1369 bytes --]
[-- Attachment #2: botan_1.0.bb --]
[-- Type: application/octet-stream, Size: 298 bytes --]
DESCRIPTION = "Botan library"
PR = "r0"
SRC_URI = "file://${PN}-${PV}.tar.gz"
inherit autotools
S = "${WORKDIR}"
do_install() {
mkdir -p ${D}/usr/botan
cd Botan-1.10.1
# python configure.py --prefix=${D}/usr/botan
python configure.py
make
# make install
}
FILES_${PN} += "/usr/bin/botan"
^ permalink raw reply [flat|nested] 6+ messages in thread
* BOTAN crypto library
@ 2012-02-25 0:15 ` simran singh
0 siblings, 0 replies; 6+ messages in thread
From: simran singh @ 2012-02-25 0:15 UTC (permalink / raw)
To: openembedded-core, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
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.
Simran
[-- Attachment #2: botan_1.0.bb --]
[-- Type: application/octet-stream, Size: 298 bytes --]
DESCRIPTION = "Botan library"
PR = "r0"
SRC_URI = "file://${PN}-${PV}.tar.gz"
inherit autotools
S = "${WORKDIR}"
do_install() {
mkdir -p ${D}/usr/botan
cd Botan-1.10.1
# python configure.py --prefix=${D}/usr/botan
python configure.py
make
# make install
}
FILES_${PN} += "/usr/bin/botan"
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe] BOTAN crypto library
2012-02-25 0:15 ` simran singh
@ 2012-02-27 22:39 ` simran singh
-1 siblings, 0 replies; 6+ messages in thread
From: simran singh @ 2012-02-27 22:39 UTC (permalink / raw)
To: openembedded-core, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]
Hello,
I figured out the solution. Posting here for someone else lost like me.
Had to add this line:
export LDFLAGS = "-L${STAGING_LIBDIR}"
From: kyoonn@hotmail.com
To: openembedded-core@lists.openembedded.org; openembedded-devel@lists.openembedded.org
Date: Fri, 24 Feb 2012 16:15:19 -0800
Subject: [oe] BOTAN crypto library
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.
Simran
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: Type: text/html, Size: 2049 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BOTAN crypto library
@ 2012-02-27 22:39 ` simran singh
0 siblings, 0 replies; 6+ messages in thread
From: simran singh @ 2012-02-27 22:39 UTC (permalink / raw)
To: openembedded-core, openembedded-devel
Hello,
I figured out the solution. Posting here for someone else lost like me.
Had to add this line:
export LDFLAGS = "-L${STAGING_LIBDIR}"
From: kyoonn@hotmail.com
To: openembedded-core@lists.openembedded.org; openembedded-devel@lists.openembedded.org
Date: Fri, 24 Feb 2012 16:15:19 -0800
Subject: [oe] BOTAN crypto library
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.
Simran
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BOTAN crypto library
2012-02-25 0:15 ` simran singh
(?)
(?)
@ 2012-03-01 6:46 ` Khem Raj
2012-03-09 17:53 ` simran singh
-1 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2012-03-01 6:46 UTC (permalink / raw)
To: openembedded-core
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. ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BOTAN crypto library
2012-03-01 6:46 ` Khem Raj
@ 2012-03-09 17:53 ` simran singh
0 siblings, 0 replies; 6+ messages in thread
From: simran singh @ 2012-03-09 17:53 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2143 bytes --]
Hello Raj,
Sorry about the late response.
I think it was just that my path to the linker was the thing causing the problem here.
However, 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
> Date: Wed, 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
>
> 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. ?
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[-- Attachment #2: Type: text/html, Size: 2709 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-09 18:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-25 0:15 BOTAN crypto library simran singh
2012-02-25 0:15 ` simran singh
2012-02-27 22:39 ` [oe] " simran singh
2012-02-27 22:39 ` simran singh
2012-03-01 6:46 ` Khem Raj
2012-03-09 17:53 ` simran singh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.