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. Cannot build QT 5.4.0 for Arm platform, need help!

Cannot build QT 5.4.0 for Arm platform, need help!

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 421 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.
  • D Offline
    D Offline
    devQt93
    wrote on last edited by devQt93
    #1

    Im on compiling QT 5.4.0 for Arm platform and getting this error relative to the compiler:

    arm-2014.05/bin/arm-none-linux-gnueabi-g++ -Wl,-rpath-link=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib -Wl,-O1 -o egl egl.o   -L/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib --sysroot=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -lEGL 
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lEGL
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstdc++
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lm
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lc
    arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s
    /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crtn.o: No such file or directory
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:208: egl] Error 1
    EGL disabled.
    WARNING: Unable to find file .device.vars
    No QPA platform plugin enabled!
     If you really want to build without a QPA platform plugin you must pass
     -no-qpa-platform-guard to configure. Doing this will
     produce a Qt that can not run GUI applications.
     The dependencies needed for xcb to build are listed in
     src/plugins/platforms/xcb/README
    

    The command configuration

    ./configure --prefix=/opt/qt-5.4.0 -v -device linux-arm-sunplus-83xx -device-option CROSS_COMPILE=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/arm-none-linux-gnueabi- -release -sysroot /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -opensource -confirm-license -system-freetype -directfb -largefile -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -no-sse2 -no-pulseaudio -qt-sql-sqlite -no-opengl -no-eglfs -nomake examples -dbus-linked -dbus -qreal float
    

    I have the sdk and qt library already release. Now i want to add some source and into the library and update the version qt to 5.4.0. I have no sure about the "sysroot" folder, so I put it as the application. As the library, it has some file like qconfig.prj qdevice.prj. qfeature.pri and qmodule.pri. Could I able to use those file config and build the source with the "mkspecs" folder release in the sdk?.
    the package "directfb, evdev" is force to have

    JoeCFDJ 1 Reply Last reply
    0
    • D devQt93

      Im on compiling QT 5.4.0 for Arm platform and getting this error relative to the compiler:

      arm-2014.05/bin/arm-none-linux-gnueabi-g++ -Wl,-rpath-link=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib -Wl,-O1 -o egl egl.o   -L/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib --sysroot=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -lEGL 
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lEGL
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstdc++
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lm
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lc
      arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s
      /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crtn.o: No such file or directory
      collect2: error: ld returned 1 exit status
      make: *** [Makefile:208: egl] Error 1
      EGL disabled.
      WARNING: Unable to find file .device.vars
      No QPA platform plugin enabled!
       If you really want to build without a QPA platform plugin you must pass
       -no-qpa-platform-guard to configure. Doing this will
       produce a Qt that can not run GUI applications.
       The dependencies needed for xcb to build are listed in
       src/plugins/platforms/xcb/README
      

      The command configuration

      ./configure --prefix=/opt/qt-5.4.0 -v -device linux-arm-sunplus-83xx -device-option CROSS_COMPILE=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/arm-none-linux-gnueabi- -release -sysroot /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -opensource -confirm-license -system-freetype -directfb -largefile -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -no-sse2 -no-pulseaudio -qt-sql-sqlite -no-opengl -no-eglfs -nomake examples -dbus-linked -dbus -qreal float
      

      I have the sdk and qt library already release. Now i want to add some source and into the library and update the version qt to 5.4.0. I have no sure about the "sysroot" folder, so I put it as the application. As the library, it has some file like qconfig.prj qdevice.prj. qfeature.pri and qmodule.pri. Could I able to use those file config and build the source with the "mkspecs" folder release in the sdk?.
      the package "directfb, evdev" is force to have

      JoeCFDJ Online
      JoeCFDJ Online
      JoeCFD
      wrote on last edited by
      #2

      @devQt93 said in Cannot build QT 5.4.0 for Arm platform, need help!:

      QT 5.4.0

      QT 5.4.0 is too old. Try 5.15.3 or above.

      D 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @devQt93 said in Cannot build QT 5.4.0 for Arm platform, need help!:

        QT 5.4.0

        QT 5.4.0 is too old. Try 5.15.3 or above.

        D Offline
        D Offline
        devQt93
        wrote on last edited by
        #3

        @JoeCFD the qt library release from our supplier has version 5.3.2. I dont expect to change alot in qt platform library as the application already worked well.
        Honestly, I just want to add the feature absolute touch screen handling in evdevmouse

        D 1 Reply Last reply
        0
        • D devQt93

          @JoeCFD the qt library release from our supplier has version 5.3.2. I dont expect to change alot in qt platform library as the application already worked well.
          Honestly, I just want to add the feature absolute touch screen handling in evdevmouse

          D Offline
          D Offline
          devQt93
          wrote on last edited by
          #4

          @devQt93 this post doesnt have any help for a while. I just want to push it on top and take a look for any help.

          1 Reply Last reply
          0
          • D devQt93 marked this topic as a regular topic on

          • Login

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