From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VAJth-0008FK-MF for ptxdist@pengutronix.de; Fri, 16 Aug 2013 15:16:57 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1VAJth-000062-Kv for ptxdist@pengutronix.de; Fri, 16 Aug 2013 15:16:57 +0200 Date: Fri, 16 Aug 2013 15:16:57 +0200 From: Michael Olbrich Message-ID: <20130816131657.GH29492@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] /usr/bin/ld: cannot find -lQtCore when running host-qt4 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Aug 14, 2013 at 08:43:13PM +0000, Matt wrote: > I'm having this problem after performing my migration. > > "g++ > -L/opt/OSELAS.BSP/OnLive/OSELAS.BSP-OnLive-slab-1/platform-i586-2012.12.0 > > /sysroot-host/lib-Wl,-rpath > > -Wl,/opt/OSELAS.BSP/OnLive/OSELAS.BSP-OnLive-slab-1/platform-i586-2012.12.0 > /sysroot-host/lib > > -Wl,-rpath > > -Wl,/this/is/a/long/path/to/make/host/tools/relocateable/with/chrpath > /when/using/dev/packages > > -fno-exceptions -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/lib -Wl,-rpath,/lib > > -shared -Wl,-soname,libQtXml.so.4 -o libQtXml.so.4.8.5 > > .obj/release-shared-emb-x86_64/qdom.o .obj/release-shared-emb-x86_64 > /qxml.o > > > -L/opt/OSELAS.BSP/OnLive/OSELAS.BSP-OnLive-slab-1/platform-i586-2012.12.0 > /build-host/qt-everywhere-opensource-src-4.8.5-build/lib > > -lQtCore > > -L/opt/OSELAS.BSP/OnLive/OSELAS.BSP-OnLive-slab-1/platform-i586-2012.12.0 > /build-host/qt-everywhere-opensource-src-4.8.5-build/lib > > -lpthread > > /usr/bin/ld: cannot find -lQtCore > > collect2: error: ld returned 1 exit status > > make[2]: *** [../../lib/libQtXml.so.4.8.5] Error 1" > > My original ptxdist was pointed at 4.8.4 but that wasn't available on the > site so I changed the md5sum and version to 4.8.5. I'm not really sure why > the host would even be trying to install this because the target does not > have it selected in my menuconfig. > > I went into host options but that is empty. Is there something I could do to > turn this off? It looks like it is for graphics and my build shouldn't > require anything beyond text so I'm not sure that's needed. There are patches fo 4.8.4 in ptxdist. did you port those to 4.8.5? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de