Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Configure QT Build error with crti.o and crt1.o no such file or directory
QtWS25 Last Chance

Configure QT Build error with crti.o and crt1.o no such file or directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 180 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YCLEE
    wrote on 11 Apr 2024, 08:32 last edited by
    #1

    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)

    Screenshot from 2024-04-11 17-18-24.png

    I am trying to some solutions,

    1. find crti.o crt1.o (result is below screenshot)
      Screenshot from 2024-04-11 17-26-56.png

    2. install some pkg
      sudo apt install gcc-multilib
      sudo apt-get install libc-dev
      etc.

    3. 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.

    1 Reply Last reply
    0

    1/1

    11 Apr 2024, 08:32

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved