Qt 构建错误

发布于 2024-07-24 14:30:10 字数 1324 浏览 4 评论 0原文

配置后,

$./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
char*, char)':
../../src/corelib/arch/qatomic_arm.h:125: warning: address requested for
ret',
which is declared register'
global/qlibraryinfo.cpp: In function
void qt_core_init_boilerplate()':
global/qlibraryinfo.cpp:581: __builtin_exit' undeclared (first use this
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
/home/bsalmi/Desktop/qt-embedded-linux-opensource-src-4.5.1/src/corelib'
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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文