• 5807阅读
  • 3回复

编译Qtembedded2.3.7的错误 [复制链接]

上一主题 下一主题
离线gqmellow
 
只看楼主 倒序阅读 楼主  发表于: 2006-06-09
/home/roy/Trolltech/qt-2.3.7/include/qwindowsystem_qws.h:229: error: ‘QWSInputMethod’ has not been declared
{standard input}: Assembler messages:
{standard input}:10668: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol `_ZN12QTableHeaderD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK1' can't be equated to undefined symbol `_ZN12QTableHeaderD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK2' can't be equated to undefined symbol `_ZN14QWSSoundClientD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK3' can't be equated to undefined symbol `_ZN14QWSSoundClientD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK4' can't be equated to undefined symbol `_ZN21QIconViewItemLineEditD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK5' can't be equated to undefined symbol `_ZN6QFrameD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK6' can't be equated to undefined symbol `_ZN6QFrameD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK7' can't be equated to undefined symbol `_ZN5QVBoxD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK8' can't be equated to undefined symbol `_ZN7QSliderD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK9' can't be equated to undefined symbol `_ZN7QSliderD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK10' can't be equated to undefined symbol `_ZN12QRadioButtonD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK11' can't be equated to undefined symbol `_ZN12QRadioButtonD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK12' can't be equated to undefined symbol `_ZN10QScrollBarD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK13' can't be equated to undefined symbol `_ZN10QScrollBarD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK14' can't be equated to undefined symbol `_ZN9QCheckBoxD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK15' can't be equated to undefined symbol `_ZN9QCheckBoxD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK16' can't be equated to undefined symbol `_ZN10QColorDragD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK17' can't be equated to undefined symbol `_ZN10QColorDragD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK18' can't be equated to undefined symbol `_ZN21QIconViewItemLineEditD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK19' can't be equated to undefined symbol `_ZN5QVBoxD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK20' can't be equated to undefined symbol `_ZN9QGroupBoxD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK21' can't be equated to undefined symbol `_ZN9QGroupBoxD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK22' can't be equated to undefined symbol `_ZN5QGridD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK23' can't be equated to undefined symbol `_ZN5QGridD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK24' can't be equated to undefined symbol `_ZN5QHBoxD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK25' can't be equated to undefined symbol `_ZN5QHBoxD0Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK26' can't be equated to undefined symbol `_ZN12QProgressBarD1Ev'
{standard input}:10668: Error: Local symbol `.LTHUNK27' can't be equated to undefined symbol `_ZN12QProgressBarD0Ev'
make[1]: *** [allmoc.o] 错误 1
make[1]: Leaving directory `/home/roy/Trolltech/qt-2.3.7/src'
make: *** [sub-src] 错误 2
步骤都是按照之前论坛帖子做得qconfig-qpe.h也拷过来了。
[ 此贴被XChinux在2006-06-09 11:56重新编辑 ]
离线gqmellow
只看该作者 1楼 发表于: 2006-06-09
./configure -debug -qconfig qpe -qvfb -depths 4,8,16,32 -system-jpeg -gif这没问题
make sub-src这时就出现错误了

各位高手帮帮忙吧!
离线shiroki

只看该作者 2楼 发表于: 2006-06-09
直接去看报错的文件229行是什么内容。 是friend class QWSInputMethod吗?
看看qconfig-qpe.h里有没有#define QT_NO_QWS_IM这个宏, 有的话注释掉

另外QTDIR设好了吗
moc和uic是从哪儿来的
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
离线gqmellow
只看该作者 3楼 发表于: 2006-06-22
我重设路径等环境变量,然后又重编译了一次又没有错误了,搞得我一头雾水的。谢谢斑竹回复。
快速回复
限100 字节
 
上一个 下一个