編譯時出現下列錯誤是交叉編譯的設定錯嗎? 還是少安裝一些程式?
編譯器的版本是arm-linux-gcc 3.4.4 環境是debian
make[1]: Entering directory `/270/qt-2.3.7'
cd src/moc; make
make[2]: Entering directory `/270/qt-2.3.7/src/moc'
g++ -c -I/270/qt-2.3.7/include -Wno-unused -Wno-parentheses -pipe -DQWS -fno-ex ceptions -fno-rtti -O2 -fno-default-inline -Wall -W -DNO_DEBUG -DQT_NO_CODECS -D QT_LITE_UNICODE -I../../include -I../tools -I. -o mocgen.o mocgen.cpp
In file included from /270/qt-2.3.7/include/qgdict.h:43,
from /270/qt-2.3.7/include/qasciidict.h:42,
from moc.y:58:
/270/qt-2.3.7/include/qstring.h: In member function `uchar& QChar::cell()':
/270/qt-2.3.7/include/qstring.h:166: error: cannot bind packed field `((QChar*)t his)->QChar::cl' to `uchar&'
/270/qt-2.3.7/include/qstring.h: In member function `uchar& QChar::row()':
/270/qt-2.3.7/include/qstring.h:167: error: cannot bind packed field `((QChar*)t his)->QChar::rw' to `uchar&'
y.tab.c: In function `int yyparse()':
y.tab.c:3174: warning: label `yyerrlab' defined but not used
y.tab.c:3169: warning: label `yynewerror' defined but not used
mocgen.cpp: At global scope:
mocgen.cpp:3: warning: 'yysccsid' defined but not used
make[2]: *** [mocgen.o] Error 1
make[2]: Leaving directory `/270/qt-2.3.7/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/270/qt-2.3.7'
make: *** [init] Error 2