Configure QT Build error with crti.o and crt1.o no such file or directory
-
Hello, I am now follow QT_build_instructions for deploy QT program to Raspberry PI 3B+ device.
I am refer the below link,
https://github.com/abhiTronix/raspberry-pi-cross-compilers/blob/master/QT_build_instructions.md
and I am follow the instruction, but in Configure QT Build step(STEP 8) there is an error.
cf) Ubuntu 22.04 for host PC, Raspberry PI 3B+ for cross-compile device
the command is
*CROSS_COMPILER_LOCATION=$HOME/rpi-qt/tools/cross-pi-gcc-
../qt-everywhere-src-5.15.2/configure -release -opengl es2 -eglfs -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=$(echo $CROSS_COMPILER_LOCATION)/bin/arm-linux-gnueabihf- -sysroot ~/rpi-qt/sysroot/ -prefix /usr/local/qt5.15 -extprefix ~/rpi-qt/qt5.15 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck -L$HOME/rpi-qt/sysroot/usr/lib/arm-linux-gnueabihf -I$HOME/rpi-qt/sysroot/usr/include/arm-linux-gnueabihf**
and the error is like below(config.log)
(the message is cannot find crti.o crt1.o
Makefile 68: verifyspec ERROR 1)I am trying to some solutions,
-
find crti.o crt1.o (result is below screenshot)
-
install some pkg
sudo apt install gcc-multilib
sudo apt-get install libc-dev
etc. -
PATH / LABRARY_PATH add
export LIBRARY_PATH=/usr/lib/x86-64-linux-gnu:$LIBRARY_PATH
etc.
but all this above method cannot solve the error.
So, is someone can suggest another method or instruction link please?
Thanks for read my questions,
Best Regards,
YCLEE. -