运行Qt程序时,提示The futex facility returned an unexpected error code.Aborted,无法运行。
请问有人知道怎么回事吗?
离线
已解决,用Tina里面的编译器重新编译就好了。Qt4.8.7。
./configure -verbose \
-prefix /opt/qt4.8.7-t113 \
-opensource \
-confirm-license \
-release -shared \
-embedded arm \
-xplatform qws/linux-arm-gnueabi-g++ \
-depths 4,8,16,32 \
-fast \
-optimized-qmake \
-pch \
-qt-sql-sqlite \
-qt-libjpeg \
-qt-zlib \
-qt-libpng \
-qt-freetype \
-little-endian -host-little-endian \
-no-qt3support \
-no-libtiff -no-libmng \
-no-opengl \
-no-mmx -no-sse -no-sse2 \
-no-3dnow \
-no-openssl \
-no-webkit \
-no-qvfb \
-no-phonon \
-no-nis \
-no-opengl \
-no-openvg \
-no-cups \
-no-glib \
-qt-gfx-transformed \
-no-xcursor -no-xfixes -no-xrandr -no-xrender \
-no-separate-debug-info \
-nomake examples -make tools -nomake docs \
-qt-mouse-tslib \
-I/opt/tslib-t113/include/ \
-L/opt/tslib-t113/lib/
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)
QT_QPA_DEFAULT_PLATFORM = linuxfb
QMAKE_CFLAGS_RELEASE += -O2 -march=armv7-a -lts -fpermissive
QMAKE_CXXFLAGS_RELEASE += -O2 -march=armv7-a -lts -fpermissive
QMAKE_INCDIR += /opt/tslib-t113/include
QMAKE_LIBDIR += /opt/tslib-t113/lib
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++98
# modifications to g++.conf
QMAKE_CC = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc -lts
QMAKE_CXX = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-g++ -lts
QMAKE_LINK = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-g++ -lts
QMAKE_LINK_SHLIB = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-g++ -lts
# modifications to linux.conf
QMAKE_AR = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ar cqs
QMAKE_OBJCOPY = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-objcopy
#QMAKE_STRIP = arm-openwrt-linux-muslgnueabi-strip
QMAKE_STRIP = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-strip
load(qt_config)
离线