From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eumx.net ([91.82.101.43]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1T9tuk-0004c5-1H for openembedded-devel@lists.openembedded.org; Fri, 07 Sep 2012 10:27:46 +0200 Received: from localhost ([127.0.0.1]:44822 helo=eumx.net) by eumx.net with esmtp (Exim 4.72) (envelope-from ) id 1T9tii-0000y7-8f for openembedded-devel@lists.openembedded.org; Fri, 07 Sep 2012 08:15:20 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eumx.net; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=default; bh=YXg+ylYhU6JZUpAW/QslPiRaEYQ=; b=Fp7TYfgwrc62kw5cAM5I/DI/8hv3 684vdm3MYwVnyoobaRFx35n6GGOtjHq8ONB/W04Lstyahxc7xwjjvNSLNHe+MhY5 9bJktuk1Kh6s/ce4PK8RmYN5NeCDEJJzWnslqKimDH7Bz4nDtA2C7BfKyoURgINg nz6cVwUXwDZajx0= Received: from [195.171.99.130] (port=21405 helo=[192.168.0.33]) by eumx.net with esmtpa (Exim 4.72) (envelope-from ) id 1T9tii-0000y3-6T for openembedded-devel@lists.openembedded.org; Fri, 07 Sep 2012 08:15:20 +0000 Message-ID: <5049AD56.8010808@communistcode.co.uk> Date: Fri, 07 Sep 2012 09:16:22 +0100 From: Jack Mitchell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <5048B901.3060103@communistcode.co.uk> <1346943545.2673.198.camel@phil-desktop> <5048BC6D.8080904@communistcode.co.uk> <1346944157.2673.199.camel@phil-desktop> <5048BE25.2070004@communistcode.co.uk> <1346944624.2673.200.camel@phil-desktop> <5048BF04.2000904@communistcode.co.uk> <5048C7D5.70301@communistcode.co.uk> <1346947708.2673.201.camel@phil-desktop> <5048CC32.30705@communistcode.co.uk> <1346948364.2673.203.camel@phil-desktop> <5048D11C.9050108@communistcode.co.uk> In-Reply-To: <5048D11C.9050108@communistcode.co.uk> Subject: Re: Issues building tinyXML X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 08:27:46 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I think this has it cracked now.Phil, note the -fpic, is that in the right place? DESCRIPTION = "A simple, small, C++ XML parser that can be easily integrated into other programs" LICENSE = "zlib" LIC_FILES_CHKSUM = "file://tinyxml.cpp;endline=23;md5=b97285d8fafcc49b761ca785816cc397" SRC_URI = "http://ftp.debian.org/debian/pool/main/t/tinyxml/${PN}_${PV}.orig.tar.gz" SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0" SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593" S = "${WORKDIR}/tinyxml" TINYXML_USE_STL = "YES" do_compile() { oe_runmake LD="${CXX}" ${CXX} -fpic -shared -o lib${PN}.so.0.${PV} \ -Wl,-soname,lib${PN}.so.0 $(ls *.o | grep -v xmltest) } do_install() { install -d -m 0755 ${D}${libdir} install -d -m 0755 ${D}${includedir} install -m 0755 lib${PN}.so.0.${PV} ${D}${libdir} install -m 0644 ${PN}.h tinystr.h ${D}${includedir} (cd ${D}${libdir} ln -s lib${PN}.so.0.${PV} lib${PN}.so.0 ln -s lib${PN}.so.0.${PV} lib${PN}.so ) } [jack@archHP packages-split]$ tree . |-- tinyxml | `-- usr | `-- lib | |-- libtinyxml.so.0 -> libtinyxml.so.0.2.6.2 | `-- libtinyxml.so.0.2.6.2 |-- tinyxml-dbg | `-- usr | |-- lib | `-- src | `-- debug | `-- tinyxml-2.6.2-r0 | `-- tinyxml | |-- tinystr.cpp | |-- tinystr.h | |-- tinyxml.cpp | |-- tinyxmlerror.cpp | |-- tinyxml.h | `-- tinyxmlparser.cpp |-- tinyxml-dev | `-- usr | |-- include | | |-- tinystr.h | | `-- tinyxml.h | `-- lib | `-- libtinyxml.so -> libtinyxml.so.0.2.6.2 |-- tinyxml-doc |-- tinyxml-locale |-- tinyxml.shlibdeps `-- tinyxml-staticdev 17 directories, 12 files -- Jack Mitchell (jack@embed.me.uk) Embedded Systems Engineer http://www.embed.me.uk --