- 积分
- 18
贡献43
飞刀0 FD
注册时间2015-7-9
在线时间7 小时
扫一扫,手机访问本帖
|
编译qt-4.8.5,已经建立好pc版和x86块,编译到arm的时候出现了这个问题
thread/qthread_unix.cpp:124: error: thread-local storage not supported for this target
thread/qthread_unix.cpp: In function `void setCurrentThreadName(pthread_t, const char*)':
thread/qthread_unix.cpp:287: error: `PR_SET_NAME' undeclared (first use this function)
thread/qthread_unix.cpp:287: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[1]: *** [.obj/release-shared-emb-arm/qthread_unix.o] 错误 1
make[1]:正在离开目录 `/usr/local/qt-arm/src/corelib'
make: *** [sub-corelib-make_default-ordered] 错误 2
编译时配置如下
./configure \
-prefix /usr/local/Trolltech/QtEmbedded-4.8.5-arm\
-opensource \
-confirm-license \
-release -shared \
-embedded arm \
-xplatform qws/linux-arm-g++\
-depths 16,18,24\
-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-cups \
-no-glib \
-no-xcursor -no-xfixes -no-xrandr -no-xrender \
-no-separate-debug-info \
-nomake examples -nomake tools -nomake docs \
-qt-mouse-tslib -I/usr/local/tslib/include -L/usr/local/tslib/lib
交叉工具的路径也是设置好了,求大神帮忙解答 |
|