PDA

View Full Version : While Cross Compiling in Qt getting some errors



bhargavi
13th November 2017, 05:28
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?

high_flyer
13th November 2017, 10:41
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.