嵌入式爱好者

查看: 6843|回复: 18

求楼主,快帮忙看看,我是 真解决不了。编译ARM-qtopia-free-src-2.2.0的问题

[复制链接]

1

主题

1

帖子

26

积分

扫一扫,手机访问本帖
发表于 2012-3-28 09:49:23 | 显示全部楼层 |阅读模式
  1. In file included from ../include/qmap.h:46:0,
  2.                  from kernel/qmime.h:43,
  3.                  from kernel/qevent.h:45,
  4.                  from kernel/qobject.h:45,
  5.                  from kernel/qwidget.h:43,
  6.                  from kernel/qdesktopwidget.h:40,
  7.                  from kernel/qapplication.h:42,
  8.                  from kernel/qapplication_x11.cpp:64:
  9. ../include/qvaluelist.h:88:13: 错误: ‘ptrdiff_t’不是一个类型名
  10. ../include/qvaluelist.h:164:13: 错误: ‘ptrdiff_t’不是一个类型名
  11. In file included from ../include/qmap.h:46:0,
  12.                  from kernel/qmime.h:43,
  13.                  from kernel/qevent.h:45,
  14.                  from kernel/qobject.h:45,
  15.                  from kernel/qwidget.h:43,
  16.                  from kernel/qdesktopwidget.h:40,
  17.                  from kernel/qapplication.h:42,
  18.                  from kernel/qapplication_x11.cpp:64:
  19. ../include/qvaluelist.h:424:13: 错误: ‘ptrdiff_t’不是一个类型名
  20. In file included from kernel/qmime.h:43:0,
  21.                  from kernel/qevent.h:45,
  22.                  from kernel/qobject.h:45,
  23.                  from kernel/qwidget.h:43,
  24.                  from kernel/qdesktopwidget.h:40,
  25.                  from kernel/qapplication.h:42,
  26.                  from kernel/qapplication_x11.cpp:64:
  27. ../include/qmap.h:107:13: 错误: ‘ptrdiff_t’不是一个类型名
  28. ../include/qmap.h:223:13: 错误: ‘ptrdiff_t’不是一个类型名
  29. In file included from kernel/qmime.h:43:0,
  30.                  from kernel/qevent.h:45,
  31.                  from kernel/qobject.h:45,
  32.                  from kernel/qwidget.h:43,
  33.                  from kernel/qdesktopwidget.h:40,
  34.                  from kernel/qapplication.h:42,
  35.                  from kernel/qapplication_x11.cpp:64:
  36. ../include/qmap.h:604:13: 错误: ‘ptrdiff_t’不是一个类型名
  37. kernel/qapplication_x11.cpp: 在成员函数‘int QApplication::x11ProcessEvent(XEvent*)’中:
  38. kernel/qapplication_x11.cpp:3690:54: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
  39. kernel/qapplication_x11.cpp:3703:54: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
  40. kernel/qapplication_x11.cpp: 在成员函数‘bool QETWidget::translateMouseEvent(const XEvent*)’中:
  41. kernel/qapplication_x11.cpp:4119:30: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
  42. kernel/qapplication_x11.cpp: 在成员函数‘bool QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&, int&, QEvent::Type&, bool)’中:
  43. kernel/qapplication_x11.cpp:5158:8: 警告: 建议显式地使用花括号以避免出现有歧义的‘else’ [-Wparentheses]
  44. kernel/qapplication_x11.cpp:5229:52: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
  45. kernel/qapplication_x11.cpp:5232:52: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
  46. kernel/qapplication_x11.cpp: 在函数‘int isPaintOrScrollDoneEvent(Display*, XEvent*, XPointer)’中:
  47. kernel/qapplication_x11.cpp:5521:34: 警告: 建议在‘||’的操作数中出现的‘&&’前后加上括号 [-Wparentheses]
  48. make[2]: *** [.obj/release-shared-mt/qapplication_x11.o] 错误 1
  49. make[2]:正在离开目录 `/usr/yizhi/qtopia-free-2.2.0/dqt/src'
  50. make[1]: *** [sub-src] 错误 2
  51. make[1]:正在离开目录 `/usr/yizhi/qtopia-free-2.2.0/dqt'
  52. * ---------------------------------------------------------------------------
  53. *
  54. *               ERROR: Building Qtopia Tools has failed.
  55. *
  56. * Please investigate the problem by looking at the error messages in the
  57. * make output.
  58. * The Qtopia tools can be build using the separate buildQtopiaTools script
  59. * which can be found in the qtopia/scripts directory of the package. The
  60. * script is also invoked with the command 'make tools' from the package root
  61. * directory.
  62. *
  63. * On most machines the default configuration options in the script works fine.
  64. * In case this doesn't work the configure parameters in the buildQtopiaTools
  65. * script need to be tweaked to fit the environment/compiler used on the machine
  66. * and then run manually from the cmd line.
  67. *
  68. * Please make sure that the following binaries exist before trying to build
  69. * Qtopia:
  70. *   /usr/yizhi/qtopia-free-2.2.0/qt2/bin/moc
  71. *   /usr/yizhi/qtopia-free-2.2.0/qt2/bin/uic
  72. *   /usr/yizhi/qtopia-free-2.2.0/qt2/bin/qvfb
  73. *   /usr/yizhi/qtopia-free-2.2.0/dqt/bin/lrelease
  74. *   /usr/yizhi/qtopia-free-2.2.0/dqt/bin/lupdate
  75. *
  76. * As a rule, these tools need to be built only once.
  77. *
  78. ******************************************************************************
复制代码
回复

使用道具 举报

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 09:50:12 | 显示全部楼层
找到qmap.h,vi,添加个头文件#include <cstddef>,不行啊,解决不了。

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 10:12:25 | 显示全部楼层
等待中

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 10:31:38 | 显示全部楼层
等待中

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 10:48:12 | 显示全部楼层
........

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 11:10:58 | 显示全部楼层
...............

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 15:37:45 | 显示全部楼层
回复 1# ljc710871968


    dengdai

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 15:53:00 | 显示全部楼层
回复 7# ljc710871968
版主呢

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 15:57:56 | 显示全部楼层
版主

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 16:33:08 | 显示全部楼层
版主

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-28 20:08:20 | 显示全部楼层
回复 10# ljc710871968


  ...........................................................
souljaven 该用户已被删除
发表于 2012-3-29 11:41:26 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
souljaven 该用户已被删除
发表于 2012-3-29 11:42:06 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-29 11:55:32 | 显示全部楼层
回复 13# souljaven
但是怎么改呢
souljaven 该用户已被删除
发表于 2012-3-29 13:43:06 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
souljaven 该用户已被删除
发表于 2012-3-29 13:45:04 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-29 14:25:11 | 显示全部楼层
回复 16# souljaven

谢谢啊。那还记得在哪个地址吗。能告诉我吗
souljaven 该用户已被删除
发表于 2012-3-29 14:28:37 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

1

主题

1

帖子

26

积分

 楼主| 发表于 2012-3-29 14:33:48 | 显示全部楼层
回复 18# souljaven


    谢谢啊,大神
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-6-7 09:39

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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