Hi everybody
I want to cross compile qt for BBB but i have some Errors :
./configure -release -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/hrmt/compile_qt/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5bbb -extprefix /home/hrmt/compile_qt/qt5BBB -hostprefix /home/hrmt/compile_qt/qt5 -v
Errors :
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -mfloat-abi=hard --sysroot=/home/hrmt/compile_qt/sysroot -O2 -O3 -w -fPIC -I. -I/home/hrmt/Downloads/qt-5.9.7-armhf/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/devices/linux-beagleboard-g++ -o verifyspec.o verifyspec.cpp
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/hrmt/compile_qt/sysroot -Wl,-O1 -fuse-ld=gold -o verifyspec verifyspec.o -lrt -lpthread -ldl
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot open crt1.o: No such file or directory
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot open crti.o: No such file or directory
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot open crtn.o: No such file or directory
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot find -lrt
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot find -lpthread
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot find -ldl
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot find -lm
/home/hrmt/Downloads/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/…/lib/gcc/arm-linux-gnueabihf/7.4.1/…/…/…/…/arm-linux-gnueabihf/bin/ld.gold: error: cannot find -lc
collect2: error: ld returned 1 exit status
Makefile:67: recipe for target ‘verifyspec’ failed
make: *** [verifyspec] Error 1
Note: Also available for Linux: linux-clang linux-icc
ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
what should i do?