Category Archives: linux

Accessing GPIO from Qt5

Qt5 is has many useful classes for handling the filesystem, but I didn’t find anything for handling the GPIOs in an embedded system. You need to handle the GPIO configuration by opening a standard file descriptor and reading/writing from/to with the standard QFile methods. This is just a snippet that shows briefly how to change… Read More: Accessing GPIO from Qt5 »

Skipping incompatible /lib/libpthread.so.0 when searching for /lib/libpthread.so.0

This normally happens when compiling for an arch, say ARM, and try to execute the binary in an x86_64 arch. But in this case, it was not this problem, I was sure that I was compiling and executing for the right places for the right archs. The error was the following: /opt/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /lib/libpthread.so.0… Read More: Skipping incompatible /lib/libpthread.so.0 when searching for /lib/libpthread.so.0 »