天嵌 ARM开发社区

 找回密码
 注册
查看: 1225|回复: 0

又是这种问题,到什么时候是尽头?版主可以帮我看看吗?

[复制链接]
jmis_em 发表于 2013-8-3 22:42:06 | 显示全部楼层 |阅读模式
本帖最后由 jmis_em 于 2013-8-5 20:09 编辑

在Makefeli里我把生产hello那个屏蔽了就可以make通过怎么回事啊?我在做qt,第一个first。只不过名字叫hello
  1. hello.o:hello.cpp:(.text+0x110): first defined here
  2. hello.o: In function `hello::hello(QWidget*, char const*, unsigned int)':
  3. hello.cpp:(.text+0x460): multiple definition of `hello::hello(QWidget*, char const*, unsigned int)'
  4. hello.o:hello.cpp:(.text+0x460): first defined here
  5. moc_hello.o: In function `hello::className() const':
  6. moc_hello.cpp:(.text+0x0): multiple definition of `hello::className() const'
  7. moc_hello.o:moc_hello.cpp:(.text+0x0): first defined here
  8. moc_hello.o: In function `hello::staticMetaObject()':
  9. moc_hello.cpp:(.text+0x40): multiple definition of `hello::staticMetaObject()'
  10. moc_hello.o:moc_hello.cpp:(.text+0x40): first defined here
  11. moc_hello.o:(.bss+0x0): multiple definition of `hello::metaObj'
  12. moc_hello.o:(.bss+0x0): first defined here
  13. moc_hello.o: In function `hello::tr(char const*, char const*)':
  14. moc_hello.cpp:(.text+0x100): multiple definition of `hello::tr(char const*, char const*)'
  15. moc_hello.o:moc_hello.cpp:(.text+0x100): first defined here
  16. moc_hello.o: In function `hello::tr(char const*)':
  17. moc_hello.cpp:(.text+0x140): multiple definition of `hello::tr(char const*)'
  18. moc_hello.o:moc_hello.cpp:(.text+0x140): first defined here
  19. moc_hello.o: In function `hello::initMetaObject()':
  20. moc_hello.cpp:(.text+0x180): multiple definition of `hello::initMetaObject()'
  21. moc_hello.o:moc_hello.cpp:(.text+0x180): first defined here
  22. collect2: ld returned 1 exit status
  23. make: *** [/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/hello] Error 1
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-18 18:36 , Processed in 1.031250 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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