天嵌 ARM开发社区

 找回密码
 注册
查看: 2294|回复: 1

qt4.5 demo程序编译出错

[复制链接]
grassboy 发表于 2012-1-17 13:07:04 | 显示全部楼层 |阅读模式
按教程操作的,在qt creator中编译的天嵌提供的demo程序 hello_cn

出现好多错误:

/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `syscall@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `strdup@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `backtrace_symbols@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `clearerr@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `usleep@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `access@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `sleep@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `fgets@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `fstatfs@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `tolower@GLIBC_2.0'
……

类似于这样的很多,是不是GLIBC没有链接上?怎么解决,求救啊。

TQ_guoxixiao 发表于 2012-2-23 10:11:17 | 显示全部楼层
可能是您脚本写的不对,或者嵌入式qt库编译不完整。
请从这两个方面检查一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-5-4 13:59 , Processed in 2.041383 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表