Results 1 to 2 of 2

Thread: While Cross Compiling in Qt getting some errors

  1. #1
    Join Date
    Oct 2017
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default While Cross Compiling in Qt getting some errors

    Hello Everyone,

    I'm building image in wandboard-quad,When Compiling in QT Creator it is showing errors as mentioned below.

    Errors:
    ------
    /opt/poky/1.7.3/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find /lib/libpthread.so.0
    /opt/poky/1.7.3/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find /usr/lib/libpthread_nonshared.a
    collect2: error: ld returned 1 exit status
    make: *** [digitalclock] Error 1
    16:11:17: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project digitalclock (kit: wandboard)
    The kit wandboard has configuration issues which might be the root cause for this problem.
    When executing step "Make"

    Please anyone know the error or faced same issue in past then please help me to resolve the issue?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: While Cross Compiling in Qt getting some errors

    well, the error is simple:
    your target environment does not have libptheasds.so (shared) and libpthread_nonshared.a (static) in the path that it is expect to find it.

    Make sure these libs are indeed in your target environment.
    Then make sure your build has the correct paths to them.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Errors while cross compiling Qt
    By ankit jain in forum Installation and Deployment
    Replies: 0
    Last Post: 13th June 2012, 10:05
  2. Replies: 1
    Last Post: 26th October 2011, 18:31
  3. How to cross-compiling in Qt
    By sanjeet in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 29th April 2011, 18:14
  4. Replies: 0
    Last Post: 9th April 2009, 06:12
  5. cross compiling
    By tommy in forum Installation and Deployment
    Replies: 1
    Last Post: 8th March 2009, 18:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.