Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Qt giving the ld error
Qt 6.11 is out! See what's new in the release blog

Qt giving the ld error

Scheduled Pinned Locked Moved India
2 Posts 1 Posters 2.9k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    Nilesh Prakash Kokane
    wrote on last edited by
    #1

    Hi ,

    Based on the url http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard

    bitbake core-image-minimal and bitbake meta-toolchain-qt5

    Both gave me success.

    But after setting the qt creator and running the example clocks code its giving me the ld errors as follows

    09:41:15: Running steps for project clocks...

    09:41:15: Configuration unchanged, skipping qmake step.

    09:41:15: Starting: "/usr/bin/make"

    arm-linux-gnueabi-g++ -o clocks main.o qrc_clocks.o -L/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib -lQt5Quick -lQt5Qml -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lpthread

    /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find /lib/libpthread.so.0 inside

    /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find /usr/lib/libpthread_nonshared.a inside

    collect2: error: ld returned 1 exit status

    make: *** [clocks] Error 1

    09:41:15: The process "/usr/bin/make" exited with code 2.

    Error while building/deploying project clocks (kit: wandboard)

    When executing step 'Make'

    09:41:15: Elapsed time: 00:00.

    I've assuared that the set up in the Configure Qt creators OK , but its still giving the error.

    can you suggest me for that.

    Nilesh Kokane

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nilesh Prakash Kokane
      wrote on last edited by
      #2

      Hi

      I have a final setup of Qt-creator as follows.I ran the script in the /opt/poky/1.6.1/ and opened the qt-creator from the concole. with this settings as below i'm trying to cross-compile the sample clock code

      1. General http://picpaste.com/1-gAmJsS3o.png
      2. Kits http://picpaste.com/2-Y3kFvHIG.png
      3. Qt version http://picpaste.com/3-lwZngysy.png
        4 compiler http://picpaste.com/4-M4y6gJYb.png
      4. Debugger http://picpaste.com/5-DQhrxi6t.png
      5. CMake http://picpaste.com/6-l3FhICDq.png
      6. Build Settings http://picpaste.com/7-4myooBgL.png

      With the settings ,clock code is giving me error[8].

      1. http://picpaste.com/8-kGmTWy3P.png

      14:32:34: Running steps for project clocks...

      14:32:34: Could not start process "/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/bin/make" clean

      Error while building/deploying project clocks (kit: wandboard)

      When executing step 'Make'

      14:32:34: Elapsed time: 00:00.

      Please if you can assist.

      Thanks

      Nilesh Kokane

      1 Reply Last reply
      0

      • Login

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