天嵌 ARM开发社区

 找回密码
 注册
查看: 3950|回复: 4

我在2440开发板上运行Qt4.5程序出现如下错误 不知如何解决?

[复制链接]
terry1119 发表于 2009-9-16 10:52:54 | 显示全部楼层 |阅读模式
本帖最后由 terry1119 于 2009-9-16 11:04 编辑

环境:硬件:TQ2440
         平台:ubuntu9.04 QT4.5-X11 QT4.5-EMBEDDED-X86 QT4.5-EMBEDDED-ARM 都编译成功,都支持QVFB
         ARMLINUX-2.6.13
         目前采用NFS挂载文件系统方式
状态:将X86的hellow在QVFB中间跑一下,没问题 重新交叉编译一下,no error no warning
         在板子上运行./hellow         
          出现如下错误:
         [root@EmbedSky /root]# ./hellow
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
No Qt for Embedded Linux server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
加 -qws
./hellow -qws
出现如下错误:
[root@EmbedSky hellow]# ./hellow -qws
./hellow: relocation error: /mnt/lib/libQtGui.so.4: symbol __floatsisf, version
GCC_3.0 not defined in file libgcc_s.so.1 with link time reference
亚瑟王 发表于 2009-9-16 11:11:34 | 显示全部楼层
库不匹配哦。
 楼主| terry1119 发表于 2009-9-17 08:47:22 | 显示全部楼层
原来是缺少了库文件 我从编译环境中找到了拷贝过去就行了
whesear 发表于 2010-3-18 21:04:36 | 显示全部楼层
3# terry1119


请问一下你是怎么解决这个问题的,我也遇到了同样的问题,困惑中。谢谢了
亚瑟王 发表于 2010-3-19 14:56:34 | 显示全部楼层
你检查一下你的文件系统中的 libgcc_s.so.1 这个库是否存在。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-20 13:51 , Processed in 1.078125 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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