Qt 构建错误
配置后,
$./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource
我在制作时得到此输出,但无法弄清楚为什么:
../../src/corelib/arch/qatomic_arm.h: In function char q_atomic_swp(volatile 字符*,字符)': ../../src/corelib/arch/qatomic_arm.h:125:警告:请求地址
ret', 这是声明register' global/qlibraryinfo.cpp:在函数
void qt_core_init_boilerplate()'中: global/qlibraryinfo.cpp:581: __builtin_exit' 未声明(首先使用此 功能) global/qlibraryinfo.cpp:581:(每个未声明的标识符仅报告一次 对于它出现的每个函数。) global/qlibraryinfo.cpp:573:警告:语句无效 global/qlibraryinfo.cpp:573:警告:语句无效 global/qlibraryinfo.cpp:574:警告:语句无效 global/qlibraryinfo.cpp:574:警告:语句无效 global/qlibraryinfo.cpp:575:警告:语句无效 global/qlibraryinfo.cpp:576:警告:语句无效 global/qlibraryinfo.cpp:576:警告:语句无效 global/qlibraryinfo.cpp:577:警告:语句无效 global/qlibraryinfo.cpp:578:警告:语句无效 global/qlibraryinfo.cpp:578:警告:语句无效 global/qlibraryinfo.cpp:579:警告:语句无效 global/qlibraryinfo.cpp:580: 警告:语句无效 global/qlibraryinfo.cpp:580: 警告:语句无效 make[1]: *** [.obj/release-shared-emb-arm/qlibraryinfo.o] 错误 1 make[1]:离开目录
/home/bsalmi/Desktop/qt-embedded-linux-opensource-src-4.5.1/src/corelib' make: *** [sub-corelib-make_default-ordered] 错误 2
谁能告诉我可能是什么问题或需要调查什么?
谢谢 布莱斯
After configuring with
$./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource
I get this output when Making and can't figure out why:
../../src/corelib/arch/qatomic_arm.h: In function char q_atomic_swp(volatile
ret',
char*, char)':
../../src/corelib/arch/qatomic_arm.h:125: warning: address requested for
which is declared register'
void qt_core_init_boilerplate()':
global/qlibraryinfo.cpp: In function
global/qlibraryinfo.cpp:581: __builtin_exit' undeclared (first use this
/home/bsalmi/Desktop/qt-embedded-linux-opensource-src-4.5.1/src/corelib'
function)
global/qlibraryinfo.cpp:581: (Each undeclared identifier is reported only once
for each function it appears in.)
global/qlibraryinfo.cpp:573: warning: statement with no effect
global/qlibraryinfo.cpp:573: warning: statement with no effect
global/qlibraryinfo.cpp:574: warning: statement with no effect
global/qlibraryinfo.cpp:574: warning: statement with no effect
global/qlibraryinfo.cpp:575: warning: statement with no effect
global/qlibraryinfo.cpp:576: warning: statement with no effect
global/qlibraryinfo.cpp:576: warning: statement with no effect
global/qlibraryinfo.cpp:577: warning: statement with no effect
global/qlibraryinfo.cpp:578: warning: statement with no effect
global/qlibraryinfo.cpp:578: warning: statement with no effect
global/qlibraryinfo.cpp:579: warning: statement with no effect
global/qlibraryinfo.cpp:580: warning: statement with no effect
global/qlibraryinfo.cpp:580: warning: statement with no effect
make[1]: *** [.obj/release-shared-emb-arm/qlibraryinfo.o] Error 1
make[1]: Leaving directory
make: *** [sub-corelib-make_default-ordered] Error 2
Can anyone tell me what might be the problem or what to look into?
Thank You
Bryce
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 QT 邮件列表中查看此帖子:
http: //lists.trolltech.com/pipermail/qt-embedded-interest/2009-March/000224.html
Check this post out from the QT mailing lists:
http://lists.trolltech.com/pipermail/qt-embedded-interest/2009-March/000224.html