天嵌 ARM开发社区

 找回密码
 注册
查看: 2947|回复: 8

请教一个问题

[复制链接]
冰封雪域 发表于 2012-5-29 16:08:34 | 显示全部楼层 |阅读模式
为什么直接make Qte中arm-qtopia-2.2.0里自带的测试程序都会出错呢?
TQ_guoxixiao 发表于 2012-5-29 16:47:03 | 显示全部楼层
神马错误?
 楼主| 冰封雪域 发表于 2012-5-29 16:59:06 | 显示全部楼层
TQ_guoxixiao 发表于 2012-5-29 16:47
神马错误?

所有的有一个共同错误:
/opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot open output file /image/opt/Qtopia/bin/ledtest: No such file or directory
collect2: ld returned 1 exit status
make: *** [/image/opt/Qtopia/bin/ledtest] 错误 1
TQ_guoxixiao 发表于 2012-5-29 17:31:37 | 显示全部楼层
/image/opt/Qtopia/bin/ledtest
这个文件不存在,你检查一下。
honghaoyang 发表于 2012-5-29 17:45:04 | 显示全部楼层
你再按照手册上的内容,仔细的再做几遍!仔细点,再仔细点!
我以前也是不仔细,结果出错了!
 楼主| 冰封雪域 发表于 2012-5-29 20:20:56 | 显示全部楼层
TQ_guoxixiao 发表于 2012-5-29 17:31
/image/opt/Qtopia/bin/ledtest
这个文件不存在,你检查一下。

有可执行文件ledtest
 楼主| 冰封雪域 发表于 2012-5-29 20:22:03 | 显示全部楼层
honghaoyang 发表于 2012-5-29 17:45
你再按照手册上的内容,仔细的再做几遍!仔细点,再仔细点!
我以前也是不仔细,结果出错了!

重新做了好几遍,都不行,太痛苦了。明明是一样的,我编译就是出错。
 楼主| 冰封雪域 发表于 2012-5-29 20:59:45 | 显示全部楼层
本帖最后由 冰封雪域 于 2012-5-29 21:00 编辑
TQ_guoxixiao 发表于 2012-5-29 17:31
/image/opt/Qtopia/bin/ledtest
这个文件不存在,你检查一下。


first.o: In function `first::~first()':
first.cpp: (.text+0xa0): multiple definition of `first::~first()'
first.o:first.cpp: (.text+0xa0): first defined here
版主,这个错误什么意思呢?是在做第一个QT开发程序时遇到的。
TQ_guoxixiao 发表于 2012-5-30 09:23:20 | 显示全部楼层
冰封雪域 发表于 2012-5-29 20:59
first.o: In function `first::~first()':
first.cpp: (.text+0xa0): multiple definition of `first: ...

qtopia的开发比较繁琐,建议学习qt4
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-2 03:15 , Processed in 1.012630 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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