<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 09/03/2015 17:50, Kfrell wrote:<br>
</div>
<blockquote cite="mid:loom.20150309T171019-54@post.gmane.org"
type="cite">
<pre wrap="">I am using Yocto and I just would like to integrate a new library
in my project.
I create a new recipe named "libxerces" which contains a file
"libxerces-3.1.1.bb". The bb file is quite simple and it is based
on autotools :
DESCRIPTION = "Xerces-c is a validating xml parser written in C++"
HOMEPAGE = <a class="moz-txt-link-rfc2396E" href="http://xerces.apache.org/xerces-c/">"http://xerces.apache.org/xerces-c/"</a>
PRIORITY = "optional"
LICENSE = "MIT"
LIC_FILES_CHKSUM = <a class="moz-txt-link-rfc2396E" href="file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57">"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"</a>
PR = "r1"
SRC_URI =
<a class="moz-txt-link-rfc2396E" href="http://mirror.serversupportforum.de/apache/xerces/c/3/sources/xerces-c-${PV}.tar.gz">"http://mirror.serversupportforum.de/apache/xerces/c/3/sources/xerces-c-${PV}.tar.gz"</a>
SRC_URI[md5sum] = "6a8ec45d83c8cfb1584c5a5345cb51ae"
SRC_URI[sha256sum] =
"a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736"
s="${WORKDIR}/xerces-c-${PV}"
inherit autotools pkgconfig
BBCLASSEXTEND += "native"
I added "libxerces" to my bb image by using IMAGE_INSTALL += " libxerces".
Then, I try to build my image thru bitbake my-image-test and eveything is
done correctly but libxerces returns some errors :
I just would like to create the .ipk package named libxerces in
which .so files should be available.
</pre>
</blockquote>
<br>
This might possibly help. The example I created shows how to build a
package including an autotools generated library<br>
<br>
<a class="moz-txt-link-freetext" href="https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles">https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles</a><br>
<br>
Regards, Alex<br>
<br>
<div style="bottom: auto; left: 287px; right: auto; top: 691px;"
class="translator-theme-default" id="translator-floating-panel">
<div title="Click to translate"
id="translator-floating-panel-button"></div>
</div>
</body>
</html>