编译qtopia-core-free-4.3.0 arm-linux-gcc 4.3出错!!!!!!!!!

内核编译和嵌入式产品的设计与开发
回复
davalop
帖子: 7
注册时间: 2009-03-09 9:15
送出感谢: 0
接收感谢: 0

编译qtopia-core-free-4.3.0 arm-linux-gcc 4.3出错!!!!!!!!!

#1

帖子 davalop » 2009-03-09 11:26

sonsun@sonsun-desktop:~/qtopia-core-opensource-src-4.3.0$ make
cd src/tools/moc/ && make -f Makefile
make[1]: 正在进入目录 `/home/sonsun/qtopia-core-opensource-src-4.3.0/src/tools/moc'
g++ -c -pipe -fno-exceptions -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/qws/linux-x86-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared-emb-arm -o release-shared/moc.o moc.cpp
In file included from ../../../include/QtCore/qchar.h:1,
from ../../../include/QtCore/../../src/corelib/tools/qstring.h:27,
from ../../../include/QtCore/qstring.h:1,
from ../../../include/QtCore/QString:1,
from symbols.h:28,
from parser.h:28,
from moc.h:27,
from moc.cpp:24:
../../../include/QtCore/../../src/corelib/tools/qchar.h:39: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:40: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:219: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:220: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:221: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:322: 警告: 忽略函数返回类型的类型限定
In file included from ../../../include/QtCore/qbytearray.h:1,
from ../../../include/QtCore/../../src/corelib/tools/qstring.h:28,
from ../../../include/QtCore/qstring.h:1,
from ../../../include/QtCore/QString:1,
from symbols.h:28,
from parser.h:28,
from moc.h:27,
from moc.cpp:24:
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:131: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:132: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:134: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:333: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:335: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:337: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:378: 警告: 忽略函数返回类型的类型限定
In file included from ../../../include/QtCore/qstring.h:1,
from ../../../include/QtCore/QString:1,
from symbols.h:28,
from parser.h:28,
from moc.h:27,
from moc.cpp:24:
../../../include/QtCore/../../src/corelib/tools/qstring.h:774: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qstring.h:775: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qstring.h:776: 警告: 忽略函数返回类型的类型限定
g++ -c -pipe -fno-exceptions -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/qws/linux-x86-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared-emb-arm -o release-shared/preprocessor.o preprocessor.cpp
In file included from ../../../include/QtCore/qchar.h:1,
from ../../../include/QtCore/../../src/corelib/tools/qstring.h:27,
from ../../../include/QtCore/qstring.h:1,
from ../../../include/QtCore/QString:1,
from symbols.h:28,
from parser.h:28,
from preprocessor.h:27,
from preprocessor.cpp:24:
../../../include/QtCore/../../src/corelib/tools/qchar.h:39: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:40: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:219: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:220: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:221: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qchar.h:322: 警告: 忽略函数返回类型的类型限定
In file included from ../../../include/QtCore/qbytearray.h:1,
from ../../../include/QtCore/../../src/corelib/tools/qstring.h:28,
from ../../../include/QtCore/qstring.h:1,
from ../../../include/QtCore/QString:1,
from symbols.h:28,
from parser.h:28,
from preprocessor.h:27,
from preprocessor.cpp:24:
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:131: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:132: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:134: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:333: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:335: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:337: 警告: 忽略函数返回类型的类型限定
../../../include/QtCore/../../src/corelib/tools/qbytearray.h:378: 警告: 忽略函数返回类型的类型限定
In file included from ../../../include/QtCore/qstring.h:1,
from ../../../include
tanglek
帖子: 2
注册时间: 2009-01-09 18:40
送出感谢: 0
接收感谢: 0

Re: 编译qtopia-core-free-4.3.0 arm-linux-gcc 4.3出错!!!!!!!!!

#2

帖子 tanglek » 2009-08-25 18:13

我也遇到了这个问题,楼主解决了吗?
回复

回到 “内核及嵌入式开发”