From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 985DDE00B0B; Tue, 3 Jun 2014 01:58:57 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.212.182 listed in list.dnswl.org] Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B37CEE00985 for ; Tue, 3 Jun 2014 01:58:49 -0700 (PDT) Received: by mail-wi0-f182.google.com with SMTP id r20so6141109wiv.9 for ; Tue, 03 Jun 2014 01:58:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=1liRbs1KAXv8qSh19qDLBNUDXtH727L7jut5qufoedk=; b=G+wqWgB7FE/lkPYmackfizDkViDwmjIxQs18eid1rult+AjGumPQ6WUKZUJSVNlhPM Zzav/tvZ8XNA+TIASzkvtgmc2e4xt3ZZekqPmqG1ds8bey84YW+2oC/iq7v1PFrCvfzL VobSX7GOXonojVlAAxNO+yjA4Rk04J/UBizCOWWfgGWwQJvNosIzR+7ym8hGUO0VPy4M bGNpUuUBE25mqyIELORdZ3WPyHogseMph0QyAhci6dp9dLuf1jaa2Iek1uu0pGwVinF7 73xBh36gdn+sPE2Z8EzX7o9mZOpJOgKbmzVbTIphQsarghjf1HULTs2jCOQMLar60V1a XmoA== X-Gm-Message-State: ALoCoQll8W3CpSZXaLjn3HEbCGQhiWT7VETlZRKGKWSOqWWx0wC16Yj5iAe/IY7E65DY4VTJOdVP X-Received: by 10.180.211.106 with SMTP id nb10mr30785826wic.9.1401785925506; Tue, 03 Jun 2014 01:58:45 -0700 (PDT) Received: from rudolf.localnet (ppp-188-174-55-88.dynamic.mnet-online.de. [188.174.55.88]) by mx.google.com with ESMTPSA id fh5sm39746530wic.9.2014.06.03.01.58.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Jun 2014 01:58:45 -0700 (PDT) From: Thomas Senyk To: meta-freescale@yoctoproject.org Date: Tue, 03 Jun 2014 10:58:43 +0200 Message-ID: <1495726.Gg86YkLkFG@rudolf> Organization: Pelagicore AG User-Agent: KMail/4.13.1 (Linux/3.14.4-1-ARCH; KDE/4.13.1; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Subject: Re: i.MX6 Qt5.3 Cross-Compile 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: Tue, 03 Jun 2014 08:58:57 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sunday, 01 June, 2014 20:06:41 Jay Cady wrote: > Hey, > > Has anyone successfully cross-compiled Qt5.3 for the i.MX6? I'm using a > Wandboard Dual and following this > > tutorial > to do the cross-compile. Unfortunately, whenever I run the make command > after configuring Qt5.3, it results in this error (just then end): > > > moc_qplatformdialoghelper.cpp:(.text+0x8dc): undefined reference to > `QMetaType::hasRegisteredConverterFunction(int, int)' > moc_qplatformdialoghelper.cpp:(.text+0x910): undefined reference to > `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction > const*, int, int)' > .obj/moc_qplatformdialoghelper.o: In function `QMetaTypeId > > >::qt_metatype_id()': > moc_qplatformdialoghelper.cpp:(.text._ZN11QMetaTypeIdI5QListI4QUrlEE14qt_met > atype_idEv[_ZN11QMetaTypeIdI5QListI4QUrlEE14qt_metatype_idEv]+0x130): > undefined reference to `QMetaType::hasRegisteredConverterFunction(int, > int)' > moc_qplatformdialoghelper.cpp:(.text._ZN11QMetaTypeIdI5QListI4QUrlEE14qt_me > tatype_idEv[_ZN11QMetaTypeIdI5QListI4QUrlEE14qt_metatype_idEv]+0x164): > undefined reference to > `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction > const*, int, int)' > .obj/moc_qplatformdialoghelper.o: In function > `QtPrivate::ConverterFunctor, > QtMetaTypePrivate::QSequentialIterableImpl, > QtMetaTypePrivate::QSequentialIterableConvertFunctor > > > >::~ConverterFunctor()': > moc_qplatformdialoghelper.cpp:(.text._ZN9QtPrivate16ConverterFunctorI5QListI > 4QUrlEN17QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterabl > eConvertFunctorIS3_EEED2Ev[_ZN9QtPrivate16ConverterFunctorI5QListI4QUrlEN17Q > tMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterableConvertFu > nctorIS3_EEED5Ev]+0x48): undefined reference to > `QMetaType::unregisterConverterFunction(int, int)' > moc_qplatformdialoghelper.cpp:(.text._ZN9QtPrivate16ConverterFunctorI5QList > I4QUrlEN17QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterab > leConvertFunctorIS3_EEED2Ev[_ZN9QtPrivate16ConverterFunctorI5QListI4QUrlEN17 > QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterableConvertF > unctorIS3_EEED5Ev]+0x15c): undefined reference to > `QMetaType::hasRegisteredConverterFunction(int, int)' > moc_qplatformdialoghelper.cpp:(.text._ZN9QtPrivate16ConverterFunctorI5QList > I4QUrlEN17QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterab > leConvertFunctorIS3_EEED2Ev[_ZN9QtPrivate16ConverterFunctorI5QListI4QUrlEN17 > QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterableConvertF > unctorIS3_EEED5Ev]+0x190): undefined reference to > `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction > const*, int, int)' > collect2: error: ld returned 1 exit status > make[3]: *** [../../lib/libQt5Gui.so.5.3.0] Error 1 > make[3]: Leaving directory > `/home/jay/Downloads/qt-everywhere-opensource-src-5.3.0/qtbase/src/gui' > make[2]: *** [sub-gui-make_first] Error 2 > make[2]: Leaving directory > `/home/jay/Downloads/qt-everywhere-opensource-src-5.3.0/qtbase/src' > make[1]: *** [sub-src-make_first] Error 2 > make[1]: Leaving directory > `/home/jay/Downloads/qt-everywhere-opensource-src-5.3.0/qtbase' > make: *** [module-qtbase-make_first] Error 2 > > I see that others have had this same error with qt5.3. > > These are my build config options: > > ./configure -v -opensource -confirm-license -device imx6 -device-option > CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky > -linux-gnueabi/arm-poky-linux-gnueabi- -sysroot > /home/jay/dora-yocto/build/tmp/sysroots/wandboard-dual -prefix ~/qt5arm > -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-accessibility > -no-dbus -no-icu -no-directfb -evdev -no-fontconfig -no-opengl -opengl es2 > -eglfs -no-glib -no-gtkstyle -no-iconv > -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis > -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql > -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 > -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor > -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr > -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib > > Any ideas what's going on? Have you installed Qt5 in your sysroot? If so consider deleting/moving it and doing a clean build to see if it's any better. > > Thanks, > Jay