页次: 1
运行之后直接报错,下面这个是qt自带的例子,我自己写的qt程序也是报同样的错误
root@TinaLinux:/bin# ./analogclock
The futex facility returned an unexpected error code.Aborted
下面是qt的环境变量
root@TinaLinux:/bin# cat /etc/profile.d/userconfig.sh
#!/bin/sh
export QT_PLUGIN_PATH=/usr/local/Qt5.12.6/plugins
export QT_QPA_PLATFORM=linuxfb
export LD_LIBRARY_PATH=/usr/local/Qt5.12.6/lib
root@TinaLinux:/usr/local# ls
Qt5.12.6 tslib
交叉编译器是 toolchain-sunxi-glibc
t113@t113:~$ arm-openwrt-linux-gcc -v
Reading specs from /home/t113/toolchain-sunxi-glibc/toolchain/bin/../lib/gcc/arm-openwrt-linux-gnueabi/6.4.1/specs
COLLECT_GCC=arm-openwrt-linux-gnueabi-gcc.bin
COLLECT_LTO_WRAPPER=/home/t113/toolchain-sunxi-glibc/toolchain/bin/../libexec/gcc/arm-openwrt-linux-gnueabi/6.4.1/lto-wrapper
Target: arm-openwrt-linux-gnueabi
Configured with: /home/caiyongheng/tina/out/astar-parrot/compile_dir/toolchain/gcc-linaro-6.4-2017.11/configure --with-bugurl=https://dev.openwrt.org/ --with-pkgversion='OpenWrt/Linaro GCC 6.4-2017.11 2017-11' --prefix=/home/caiyongheng/tina/out/astar-parrot/staging_dir/toolchain --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-openwrt-linux-gnueabi --with-gnu-ld --enable-target-optspace --enable-libgomp --disable-libmudflap --disable-multilib --disable-nls --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-gmp=/home/caiyongheng/tina/out/host --with-mpfr=/home/caiyongheng/tina/out/host --with-mpc=/home/caiyongheng/tina/out/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-libssp --enable-__cxa_atexit --with-arch=armv7-a --with-float=hard --with-headers=/home/caiyongheng/tina/out/astar-parrot/staging_dir/toolchain/include --disable-libsanitizer --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/caiyongheng/tina/out/astar-parrot/staging_dir/toolchain/lib --enable-lto --with-libelf=/home/caiyongheng/tina/out/host
Thread model: posix
gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11)
之前也有使用5.12.9,也报这个错误,后面参考编译了5.12.6,就是上面的错误信息。
https://bbs.aw-ol.com/topic/1836/v853%E5%BC%80%E5%8F%91%E6%9D%BF%E8%AF%95%E7%94%A8-%E7%BC%96%E8%AF%91qt%E6%B5%8B%E8%AF%95%E4%B8%8B
求求大伙给看看,是哪里的问题,万分感激!!
页次: 1