mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] /usr/bin/ld: cannot find -lQtCore when running host-qt4
Date: Fri, 16 Aug 2013 15:16:57 +0200	[thread overview]
Message-ID: <20130816131657.GH29492@pengutronix.de> (raw)
In-Reply-To: <loom.20130814T223935-655@post.gmane.org>

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

      reply	other threads:[~2013-08-16 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 20:43 Matt
2013-08-16 13:16 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130816131657.GH29492@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox