AnsweredAssumed Answered

CROSS COMPILE of QT5

Question asked by Xiaoqiang Yang on Aug 16, 2015
Latest reply on Oct 16, 2015 by sanjeev sharma

Hello all,

 

I am installing Qt5.3.1 for i.MX6 followBuilding QT for i.MX6 ,and my config scripts is as bellow:

$PWD/configure -v \

          -opensource -confirm-license -make libs -device imx6 \

          -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- \

          -sysroot /home/yxq/iMX/L3.0.35_4.1.0_130816_source/ltib/ltib/rootfs  -no-gcc-sysroot \

          -prefix /usr/local/Qt-5.3.1-imx6 \

          -no-pch \

          -opengl es2

But I failed with configure and got these errors:

/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-

gnueabi-g++ -c -fvisibility=hidden fvisibility.c

Symbol visibility control enabled.

/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-

gnueabi-g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c

bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disab

ling it (see QTBUG-36129)."

Symbolic function binding disabled.

DEFAULT_INCDIRS="/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/a

rm-fsl-linux-gnueabi/include/c++/4.6.2

/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/arm-fsl-linux-gnue

abi/include/c++/4.6.2/arm-fsl-linux-gnueabi

Above are only part of errors,after that  are many errors like:

pulseaudio.cpp:42:30: fatal error: pulse/pulseaudio.h: No such file or directory

icu.cpp:42:28: fatal error: unicode/utypes.h: No such file or directory

db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory

ibase.cpp:42:19: fatal error: ibase.h: No such file or directory

and so on......

It seems like the compiler can not find my dynamic libs for ARM, I serched QTBUG-36129 has no help.

How can I do?

 

Thanks in advance!

 

Best Regargs

Xiaoqiang

 

Outcomes