Ubuntu1010安裝arm版本的Qt遇到errorthreadlocalstor
Ubuntu1010安裝arm版本的Qt遇到errorthreadlocalstor
Ubuntu10.10安裝arm版本的Qt遇到error: ;thread-local ;storage ;not ;supported ;for ;this ;target。用arm編譯的時候卻碰到如下錯誤。thread;hread_unix.cpp:117: ;error: ;thread-local ;storage ;not ;supported ;for ;this ;target。make[1]: ;*** ;[.obj/release-shared-emb-arm。hread_unix.o] ;錯誤 ;1。
導讀Ubuntu10.10安裝arm版本的Qt遇到error: ;thread-local ;storage ;not ;supported ;for ;this ;target。用arm編譯的時候卻碰到如下錯誤。thread;hread_unix.cpp:117: ;error: ;thread-local ;storage ;not ;supported ;for ;this ;target。make[1]: ;*** ;[.obj/release-shared-emb-arm。hread_unix.o] ;錯誤 ;1。
系統大全為您提供Ubuntu10.10安裝arm版本的Qt遇到error:?thread-local?storage?not?supported?for?this?target用arm編譯的時候卻碰到如下錯誤:threadhread_unix.cpp:117:?error:?thread-local?storage?not?supported?for?this?targetmake[1]:?***?[.obj/release-shared-emb-armhread_unix.o]?錯誤?1make[1]:正在離開目錄?`/home/softenv/armc/corelib'make:?***?[sub-corelib-make_default-ordered]?錯誤?2#去看了下c/corelib/thread目錄下-rwxr--r--?1?fsp?fsp?20122?2012-03-14?22:01?qthread_unix.cpP*-rw-r--r--?1?fsp?fsp?18695?2012-03-14?22:01?qthread_win.cpp-rw-r--r--?1?fsp?fsp?2684?2012-03-14?22:01?qwaitcondition.h-rw-r--r--?1?fsp?fsp?6163?2012-03-14?22:01?qwaitcondition.qdoc-rw-r--r--?1?fsp?fsp?5730?2012-03-14?22:01?qwaitcondition_symbian.cpp-rw-r--r--?1?fsp?fsp?6094?2012-03-14?22:01?qwaitcondition_unix.cpp-rw-r--r--?1?fsp?fsp?6418?2012-03-14?22:01?qwaitcondition_win.cpp-rw-r--r--?1?fsp?fsp?1259?2012-03-14?22:01?thread.pri#?vi?qthread_unix.cpp打開文件,?發現HAVE_TLS宏打開了才會導致錯誤,關掉該宏后再編譯,?果然通過了。于是就打了如下補丁:110?#define?HAVE_TLS111?#endif112?#if?defined(Q_CC_XLC)?||?defined?(Q_CC_SUN)113?#define?HAVE_TLS114?#endif115116?#ifdef?HAVE_TLS117#?static?__thread?QThreadData?*currentThreadData?=?0;118?#endif???以上就是系統大全給大家介紹的如何使的方法都有一定的了解了吧,好了,如果大家還想了解更多的資訊,那就趕緊點擊系統大全官網吧。??本文來自系統大全http:///如需轉載請注明!推薦:win7純凈版
Ubuntu1010安裝arm版本的Qt遇到errorthreadlocalstor
Ubuntu10.10安裝arm版本的Qt遇到error: ;thread-local ;storage ;not ;supported ;for ;this ;target。用arm編譯的時候卻碰到如下錯誤。thread;hread_unix.cpp:117: ;error: ;thread-local ;storage ;not ;supported ;for ;this ;target。make[1]: ;*** ;[.obj/release-shared-emb-arm。hread_unix.o] ;錯誤 ;1。
為你推薦