mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] /usr/bin/ld: cannot find -lQtCore when running host-qt4
@ 2013-08-14 20:43 Matt
  2013-08-16 13:16 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Matt @ 2013-08-14 20:43 UTC (permalink / raw)
  To: ptxdist

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.


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] /usr/bin/ld: cannot find -lQtCore when running host-qt4
  2013-08-14 20:43 [ptxdist] /usr/bin/ld: cannot find -lQtCore when running host-qt4 Matt
@ 2013-08-16 13:16 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2013-08-16 13:16 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-16 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 20:43 [ptxdist] /usr/bin/ld: cannot find -lQtCore when running host-qt4 Matt
2013-08-16 13:16 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox