[Development] Setup QT creator for developing QT apps on wandboard-Error

Nilesh Kokane nilesh.kokane at mindastoneridge.com
Tue Jul 29 06:46:55 CEST 2014


Hello ,


referring to
http://wiki.wandboard.org/index.php/Setup_QT_creator_for_developing_QT_apps_on_wandboard#Build_and_Deploy_application_in_QT_Creator

to set up the Qt creator with the following configuration and i'm facing 2
errors

Build & Run :-

compiler settings:yocto-arm-gcc
compiler path :/opt/poky/1.6.1/sysroots/i686-pokysdk-linux/usr/bin/arm
-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++

Qt versions:-

Version Name:Qt 5.1.1 (build)

/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/bin


Kits:
Name: i.mx6
Device type: Generic Linux Device
Device:wandboard-solo
sysroot:/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo
Compiler:yocto-arm-gcc
Debugger :System GDB at /usr/bin/gdb
Qt version :Qt 5.1.1 (build)
Qt mkspec:linux-arm-gnueabi-g++


Manage:
Name:wandboard-solo
Authentication type :password
Host Name:minda-HP-dx2480-MT-VP562PA
SSH port:22
usearname:root
Password:



1)With that when i tried to test  the device with the ethernet connection
i'm getting the following error


Error:
Connecting to host...
SSH connection failure: Connection refused

Device test failed.


2)The second error is that even a simple default Qt console app program is
generating the ld error as follows.But native compiled version gives a
success.

usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libz.so.1, needed by
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so,
not found (try using -rpath or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libicui18n.so.51, needed by
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so,
not found (try using -rpath or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libicuuc.so.51, needed by
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so,
not found (try using -rpath or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: ld-linux-armhf.so.3, needed by
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so,
not found (try using -rpath or -rpath-link)
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_getStandardName_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucol_close_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucol_strcoll_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_getMaxCharSize_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `u_strToLower_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `uncompress'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_getAvailableName_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucol_open_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `compress2'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_toUnicode_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucol_getAttribute_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_close_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `u_errorName_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucol_setAttribute_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_countAliases_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_getDefaultName_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_compareNames_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_open_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ures_open_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_setSubstChars_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucol_getSortKey_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_fromUnicode_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_getAlias_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ures_getStringByKey_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ucnv_countAvailable_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `ures_close_51'
/home/minda/bin/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/build/lib/libQt5Core.so:
undefined reference to `u_strToUpper_51'
collect2: error: ld returned 1 exit status
make: *** [untitled6] Error 1
17:40:35: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project untitled6 (kit: i.mx6)
When executing step 'Make'
17:40:35: Elapsed time: 00:01.


Can you please let me know if some steps are erroneous or missing.

Thanks
Nilesh Kokane

-- 
“The contents of this e-mail message and any attachments are confidential 
and are intended solely for addressee. The information may also be legally 
privileged. This transmission is sent in trust, for the sole purpose of 
delivery to the intended recipient. If you have received this transmission 
in error, any use, reproduction or dissemination of this transmission is 
strictly prohibited. If you are not the intended recipient, please 
immediately notify the sender by reply e-mail or phone and delete this 
message and its attachments, if any.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140729/779b6334/attachment.html>


More information about the Development mailing list