From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1T9eza-00067h-CL for openembedded-devel@lists.openembedded.org; Thu, 06 Sep 2012 18:31:46 +0200 Received: from elite.brightsigndigital.co.uk ([81.142.160.137] helo=[172.30.1.145]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1T9enc-0005Z8-2z for openembedded-devel@lists.openembedded.org; Thu, 06 Sep 2012 18:19:24 +0200 From: Phil Blundell To: openembedded-devel@lists.openembedded.org Date: Thu, 06 Sep 2012 17:19:23 +0100 In-Reply-To: <5048CC32.30705@communistcode.co.uk> 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> X-Mailer: Evolution 3.0.2- Message-ID: <1346948364.2673.203.camel@phil-desktop> Mime-Version: 1.0 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: Thu, 06 Sep 2012 16:31:46 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2012-09-06 at 17:15 +0100, Jack Mitchell wrote: > 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) You need to get -fpic into ${CXXFLAGS} and/or ${CFLAGS} so that it's used to build the individual objects as well. > FILES_${PN} = "libtinyxml.so.0.${PV}}" That should be ${libdir}/lib${PN}.so.0, with fewer }s on the end. The name of the file you ship needs to match the soname that you give it, or at least be symlinked to that name. p.