From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 88372E007F1 for ; Fri, 27 Dec 2013 06:55:08 -0800 (PST) Received: by mail-wg0-f47.google.com with SMTP id n12so8285327wgh.14 for ; Fri, 27 Dec 2013 06:55:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:importance:thread-index:content-language; bh=VekjljwuWU1TuyVBsC0RkjgvpH7pk2ljB6P5WRzpxQs=; b=MkurOObSrEqXZrBxjE50F9jFgff/K1YCTbreYSuivDPcJdgnHX6fQJe1WknnYI4ZAi y2u0dVkyzuTUXcBCkxhTS0Mcriexj/0hWSgkHZByKG2kViobNx6yHS6hXysCooLLdjCz eQ5wjd+olnAazu6PRQWKq/LSgEx/J256prxKtxWyASMf3JBMd+9mSiJgpabKyJCYxE2d jWMOPRwiRIgT7kee/fMzDY+LytIdLpAGcsogl4Gy9GxwRtmLLOF5PboWiDDNxTIy6vPM JUSVU10cwdgxuZka0TjMum8C13bOeSkQrM5gE+daPBpiReXMhjoxYja5NXxAxpdtBlX2 iIiQ== X-Received: by 10.180.78.1 with SMTP id x1mr6809883wiw.9.1388156107203; Fri, 27 Dec 2013 06:55:07 -0800 (PST) Received: from SIMONENB ([5.87.38.194]) by mx.google.com with ESMTPSA id p45sm82463246eeg.1.2013.12.27.06.55.04 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Dec 2013 06:55:06 -0800 (PST) From: "Simone" To: =?iso-8859-1?Q?'Alfonso_Tam=E9s'?= References: <166586A9-3791-4BBC-83CB-C0B02DD6F7BA@mantic.mx> <52AAC624.8020201@gmail.com> <1DE78B99-184A-42FB-B9B5-851C27F9DBAC@mantic.mx> <001501cefda5$f8edac80$eac90580$@gmail.com> <38696BF8-2B2D-41E5-BD7D-B03DFE3FE7E0@mantic.mx> In-Reply-To: <38696BF8-2B2D-41E5-BD7D-B03DFE3FE7E0@mantic.mx> Date: Fri, 27 Dec 2013 15:54:53 +0100 Message-ID: <000001cf0313$9b23f280$d16bd780$@gmail.com> MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Importance: High Thread-Index: AQIn7u1pmbZuWWP/cK1dN/gftOOS/QJb+lpOAWAZlGQB2JOgFQIwoDbSmXgeVmA= Cc: meta-freescale@yoctoproject.org Subject: Re: Qt5 with Yocto X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 14:55:12 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CF031B.FCECC750" Content-Language: it ------=_NextPart_000_0001_01CF031B.FCECC750 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Alfonso, some steps are done. =20 Now the make can complete well. But make install fail, with this error: cannot find -lQt5Designer Here below the last part of the make output: =20 /opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnuea= bi/ arm-poky-linux-gnueabi-g++ -Wl,-rpath-link,/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib --sysroot=3D/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd -Wl,--no-undefined -Wl,-O1 -Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib -Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtbase/lib -shared = -o libqdeclarativeview.so .obj/release-shared/qdeclarativeview_plugin.o .obj/release-shared/moc_qdeclarativeview_plugin.o -L/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib -L/qt-everywhere-opensource-src-5.1.1/qttools/lib -lQt5Designer -L/qt-everywhere-opensource-src-5.1.1/qtbase/lib -L/qt-everywhere-opensource-src-5.1.1/qtquick1/lib -lQt5Declarative -L/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib -lQt5XmlPatterns -lQt5Network -lQt5Sql -L/qt-everywhere-opensource-src-5.1.1/qtscript/lib -lQt5Widgets -lQt5Xml -lQt5Script -lQt5Gui -lQt5Core -lGLESv2 -lEGL = -lGAL -lpthread =20 /opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnuea= bi/ ../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld:= cannot find -lQt5Designer collect2: error: ld returned 1 exit status make[4]: *** [../../../plugins/designer/libqdeclarativeview.so] Error 1 make[4]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins/qdeclarativevie= w' make[3]: *** [sub-qdeclarativeview-install_subtargets] Error 2 make[3]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins' make[2]: *** [sub-plugins-install_subtargets-ordered] Error 2 make[2]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtquick1/src' make[1]: *** [sub-src-install_subtargets] Error 2 make[1]: Leaving directory = `/qt-everywhere-opensource-src-5.1.1/qtquick1' make: *** [module-qtquick1-install_subtargets] Error 2 =20 =20 Any suggestion? Thanks so much! Best regards Simone =20 =20 =20 Da: Alfonso Tam=E9s [mailto:alfonso@mantic.mx]=20 Inviato: venerd=EC 20 dicembre 2013 19:12 A: Simone Cc: meta-freescale@yoctoproject.org Oggetto: Re: [meta-freescale] Qt5 with Yocto Priorit=E0: Alta =20 =20 Hi Simone. =20 is part of the Standard Template Library. I do not now how orthodox this may sound, but try tar czf the contents of your cortex-a9 sysroot located inside your cross toolchain Poky: (xxx because I don=92t remember the exact file names) /opt/poky/xxx/sysroots/cortex-a9xxx =20 Then unpack the contents in your board sysroot (for wandboqard) yocto/build/tmp/sysroots/wandboard-quad =20 This should put headers and libraries that are needed to cross compile = since we are only passing the board sysroot to Qt5=92s configure script. =20 Regards, =20 Alfonso =20 On Dec 20, 2013, at 11:07 AM, Simone > wrote: Hello Alfonso, I tried to cross compile qt5 for imx6qsabresd following the article at http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard= but I have an error during make. I'm able to build with bitbake, but not In this standard way. Below the last part of the build log (after configure, which was = completed successfully). make[3]: Entering directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib' /opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnuea= bi/ arm-poky-linux-gnueabi-g++ -c -pipe -mfloat-abi=3Dsoftfp --sysroot=3D/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad -O2 = -O2 -mfloat-abi=3Dhard -march=3Darmv7-a -mfpu=3Dneon -DLINUX=3D1 = -DEGL_API_FB=3D1 -fvisibility=3Dhidden -fvisibility-inlines-hidden -std=3Dc++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=3D0x050000 -DPCRE_HAVE_CONFIG_H -astDQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/devices/linux-imx6-g++ = -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.1.1 -I../../include/QtCore/5.1.1/QtCore -Iglobal -I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I.moc/release-shared -I/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad/usr/include -o .obj/release-shared/qabstractanimation.o = animation/qabstractanimation.cpp Assembler messages: Fatal error: can't create .obj/release-shared/qabstractanimation.o: Permission denied In file included from ../../include/QtCore/qglobal.h:1:0, from ../../include/QtCore/../../src/corelib/global/qnamespace.h:45, from ../../include/QtCore/qnamespace.h:1, from ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45, from ../../include/QtCore/qobjectdefs.h:1, from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48, from ../../include/QtCore/qobject.h:1, from animation/qabstractanimation.h:45, from animation/qabstractanimation.cpp:146: ../../include/QtCore/../../src/corelib/global/qglobal.h:80:21: fatal = error: algorithm: No such file or directory #include ^ compilation terminated. make[3]: *** [.obj/release-shared/qabstractanimation.o] Error 2 make[3]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib' make[2]: *** [sub-corelib-make_first] Error 2 make[2]: Leaving directory = `/qt-everywhere-opensource-src-5.1.1/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase' make: *** [module-qtbase-make_first] Error 2 Any hints? Thanks Simone -----Messaggio originale----- Da: meta-freescale-bounces@yoctoproject.org [ mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Alfonso = Tam=E9s Inviato: venerd=EC 13 dicembre 2013 12:18 A: koansoftware@gmail.com Cc: meta-freescale@yoctoproject.org Oggetto: Re: [meta-freescale] Qt5 with Yocto Hi Marco, Indeed, I tried repo init and sync the master branch today and it is throwing an error about sources/poky/meta/recipes-support/consolekit/consolekit_0.4.6.bb DEPENDS = or requires virtual/libx11. This while explicit removing X11 in DISTRO_FEATURES_remove. Something got messed up in the last 15 days. I repo synced my yocto_dora directory and tested Qt5_CinematicExperience = and works fine. Can you specify the errors in yocto_dora? Can you bitbake with the -v switch? Regards, Alfonso On Dec 13, 2013, at 2:32 AM, Marco < koansoftware@gmail.com> wrote: Il 13/12/2013 00:19, Alfonso Tam=E9s ha scritto: Marco, The instructions in = http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard= should work for Dora and Master branches. Just remember that master is a moving target and sometimes it can give problems. Right now I am using Master without any problems. Regards, Hi Alfonso that's not true on my side. Unfortunately using master branch there is an error downloading the kernel. OTOH using dora branch there are errors launching the executables on the imx6dlsabresd target. --=20 Marco _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org = https://lists.yoctoproject.org/listinfo/meta-freescale =20 ------=_NextPart_000_0001_01CF031B.FCECC750 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello Alfonso,

some steps are = done.

 

Now the make can complete = well.

But make install fail, with this error: = cannot find -lQt5Designer

Here below the last part of the make = output:

 

/opt/poky/1.5mx6/sysroots/= i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-= g++ = -Wl,-rpath-link,/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib = --sysroot=3D/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd = -Wl,--no-undefined -Wl,-O1 = -Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib = -Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtbase/lib -shared = -o libqdeclarativeview.so .obj/release-shared/qdeclarativeview_plugin.o = .obj/release-shared/moc_qdeclarativeview_plugin.o=A0 = -L/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib = -L/qt-everywhere-opensource-src-5.1.1/qttools/lib -lQt5Designer = -L/qt-everywhere-opensource-src-5.1.1/qtbase/lib = -L/qt-everywhere-opensource-src-5.1.1/qtquick1/lib -lQt5Declarative = -L/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib -lQt5XmlPatterns = -lQt5Network -lQt5Sql -L/qt-everywhere-opensource-src-5.1.1/qtscript/lib = -lQt5Widgets -lQt5Xml -lQt5Script -lQt5Gui -lQt5Core -lGLESv2 -lEGL = -lGAL -lpthread=A0

/opt/poky/1.5mx6/sysroots/= i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-= linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld: cannot find = -lQt5Designer

collect2: error: ld = returned 1 exit status

make[4]: *** = [../../../plugins/designer/libqdeclarativeview.so] Error = 1

make[4]: Leaving = directory = `/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins/qdeclarativevie= w'

make[3]: *** = [sub-qdeclarativeview-install_subtargets] Error = 2

make[3]: Leaving = directory = `/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins'

make[2]: *** = [sub-plugins-install_subtargets-ordered] Error 2

make[2]: Leaving = directory = `/qt-everywhere-opensource-src-5.1.1/qtquick1/src'

<= p class=3DMsoNormal>make[1]: *** = [sub-src-install_subtargets] Error 2

make[1]: Leaving = directory = `/qt-everywhere-opensource-src-5.1.1/qtquick1'

make: *** = [module-qtquick1-install_subtargets] Error 2

 

 

Any suggestion?

Thanks so much!

Best regards

Simone

 

 

 

Da:<= /b> = Alfonso Tam=E9s [mailto:alfonso@mantic.mx]
Inviato: venerd=EC = 20 dicembre 2013 19:12
A: Simone
Cc: = meta-freescale@yoctoproject.org
Oggetto: Re: [meta-freescale] = Qt5 with Yocto
Priorit=E0: = Alta

 

 

Hi = Simone.

 

<algorithm> is part of the Standard Template = Library. I do not now how orthodox this may sound, but try tar czf the = contents of your cortex-a9 sysroot located inside your cross toolchain = Poky: (xxx because I don’t remember the exact file names) = /opt/poky/xxx/sysroots/cortex-a9xxx

 

Then unpack the contents in your board sysroot (for = wandboqard) yocto/build/tmp/sysroots/wandboard-quad

 

This should put headers and libraries that are needed = to cross compile since we are only passing the board sysroot to = Qt5’s configure script.

 

Regards,

 

Alfonso

 

On = Dec 20, 2013, at 11:07 AM, Simone <cjb.sw.nospam@gmail.com> = wrote:



Hello Alfonso,
I tried to cross compile qt5 for = imx6qsabresd following the article at
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on= _Wandboard
but I have an error during make.
I'm able to build = with bitbake, but not In this standard way.
Below the last part of = the build log (after configure, which was = completed
successfully).


make[3]: Entering = directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
= /opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnuea= bi/
arm-poky-linux-gnueabi-g++ -c -pipe = -mfloat-abi=3Dsoftfp
--sysroot=3D/home/alfonso/yocto/build/tmp/sysroot= s/wandboard-quad -O2 -O2
-mfloat-abi=3Dhard -march=3Darmv7-a = -mfpu=3Dneon -DLINUX=3D1 -DEGL_API_FB=3D1
-fvisibility=3Dhidden = -fvisibility-inlines-hidden -std=3Dc++0x -Wall -W
-D_REENTRANT -fPIC = -DQT_NO_XCB -DQT_NO_XKBCOMMON = -DQT_NO_USING_NAMESPACE
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT = -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT = -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS = -DQT_DISABLE_DEPRECATED_BEFORE=3D0x050000
-DPCRE_HAVE_CONFIG_H = -astDQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE = -DQT_NO_DEBUG -I../../mkspecs/devices/linux-imx6-g++ = -I.
-I../../include -I../../include/QtCore = -I../../include/QtCore/5.1.1
-I../../include/QtCore/5.1.1/QtCore = -Iglobal -I../3rdparty/pcre
-I../3rdparty/harfbuzz/src = -I../3rdparty/md5 -I../3rdparty/md4
-I../3rdparty/sha3 = -I.moc/release-shared
-I/home/alfonso/yocto/build/tmp/sysroots/wandboa= rd-quad/usr/include -o
.obj/release-shared/qabstractanimation.o = animation/qabstractanimation.cpp
Assembler messages:
Fatal error: = can't create .obj/release-shared/qabstractanimation.o:
Permission = denied
In file included from = ../../include/QtCore/qglobal.h:1:0,
     &nbs= p;          from
../= ../include/QtCore/../../src/corelib/global/qnamespace.h:45,
 &nbs= p;            = ;  from = ../../include/QtCore/qnamespace.h:1,
     &nb= sp;          from
..= /../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
 &n= bsp;           &nb= sp;  from = ../../include/QtCore/qobjectdefs.h:1,
     &n= bsp;          from
.= ./../include/QtCore/../../src/corelib/kernel/qobject.h:48,
  = ;            =   from = ../../include/QtCore/qobject.h:1,
      =           from = animation/qabstractanimation.h:45,
      = ;          from = animation/qabstractanimation.cpp:146:
../../include/QtCore/../../src/c= orelib/global/qglobal.h:80:21: fatal error:
algorithm: No such file = or directory
#include = <algorithm>
        &nbs= p;           ^
= compilation terminated.
make[3]: *** = [.obj/release-shared/qabstractanimation.o] Error 2
make[3]: Leaving = directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
= make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving = directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src'
make[1]: = *** [sub-src-make_first] Error 2
make[1]: Leaving directory = `/qt-everywhere-opensource-src-5.1.1/qtbase'
make: *** = [module-qtbase-make_first] Error 2


Any hints?
Thanks
Simone


-----Messaggio = originale-----
Da:
meta-freescale-bounces@yoctoproject.org
[
mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Alfonso Tam=E9s
Inviato: venerd=EC 13 = dicembre 2013 12:18
A: koansoftware@gmail.com
Cc: =
meta-freescale@yoctoproject.org
Oggetto: Re: [meta-freescale] Qt5 with = Yocto


Hi Marco,

Indeed, I tried repo init and sync the = master branch today and it is
throwing an error = about
sources/poky/meta/recipes-support/consolekit/consolekit_0.4.6.bb= DEPENDS or
requires virtual/libx11.
This while explicit = removing X11 in
DISTRO_FEATURES_remove.  Something got messed up = in the last 15 days.

I repo synced my yocto_dora directory and = tested Qt5_CinematicExperience and
works fine.

Can you specify = the errors in yocto_dora? Can you bitbake with the = -v
switch?

Regards,

Alfonso


On Dec 13, 2013, at 2:32 = AM, Marco <
koansoftware@gmail.com> = wrote:


Il = 13/12/2013 00:19, Alfonso Tam=E9s ha = scritto:


Marco,

The instructions = in

http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto= _on_Wandboard
should work for Dora and = Master branches.
Just remember that master is a
moving target = and sometimes it can give problems. Right now I am using
Master = without any problems.


Regards,


Hi Alfonso
that's not true on my = side.
Unfortunately using master branch there is an error downloading = the

kernel.

OTOH = using dora branch there are errors launching the executables on = the

imx6dlsabresd = target.


--
Marco


______________________________________= _________
meta-freescale mailing list
meta-freescale@yoctoproje= ct.org
https://l= ists.yoctoproject.org/listinfo/meta-freescale

 

------=_NextPart_000_0001_01CF031B.FCECC750--