因為學校專題需要所以必須使用到這方面的東西
請各位大哥大姐幫幫我
我的linux 為 ubuntu 10.04 版本
arm-linux-gcc-3.3.2 這是我的cross compiler版本
目前使用到
tmake-1.11
qt-x11-2.3.2
qt-embedded-2.3.7
尚未使用
qtopia-free-1.7.0
因為為初學者所以就照著網路上的資料弄
編譯後出現下面的訊息,當然裡面包含著錯誤訊息
發生這種錯誤我也不知道如何解決,請大家幫幫我
kerker@lab:/usr/QT_arm/qt-2.3.7$ cp /usr/QT_arm/qt-2.3.2/bin/uic ./bin
kerker@lab:/usr/QT_arm/qt-2.3.7$ ./configure -xplatform linux-arm-g++ -shared -qconfig local -qvfb -depths 4,8,16,32 -gif -system-jpeg
This is the Qt/Embedded Free Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL).
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
yes
Building on: linux-x86-g++-shared
Building for: linux-arm-g++-shared
Thread support..................... no
Configuration...................... qconfig-local.h
Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
kerker@lab:/usr/QT_arm/qt-2.3.7$ make
make[1]: Entering directory `/usr/QT_arm/qt-2.3.7'
cd src/moc; make
make[2]: Entering directory `/usr/QT_arm/qt-2.3.7/src/moc'
g++ -c -I/usr/QT_arm/qt-2.3.7/include -Wno-unused -Wno-parentheses -pipe -DQWS -fno-exceptions -fno-rtti -O2 -fno-default-inline -Wall -W -DNO_DEBUG -DQT_NO_CODECS -DQT_LITE_UNICODE -I../../include -I../tools -I. -o mocgen.o mocgen.cpp
In file included from /usr/QT_arm/qt-2.3.7/include/qglobal.h:465,
from /usr/QT_arm/qt-2.3.7/include/qcollection.h:42,
from /usr/QT_arm/qt-2.3.7/include/qglist.h:42,
from /usr/QT_arm/qt-2.3.7/include/qlist.h:42,
from moc.y:57:
/usr/QT_arm/qt-2.3.7/include/qconfig.h:9:65: error: missing binary operator before token "("
moc.y: In function ‘int main(int, char**)’:
moc.y:1272: warning: deprecated conversion from string constant to ‘char*’
moc.y:1290: warning: deprecated conversion from string constant to ‘char*’
moc.y:1300: warning: deprecated conversion from string constant to ‘char*’
moc.y:1319: warning: deprecated conversion from string constant to ‘char*’
moc.y:1323: warning: deprecated conversion from string constant to ‘char*’
moc.y: In function ‘void generateClass()’:
moc.y:2613: warning: deprecated conversion from string constant to ‘char*’
moc.y:2615: warning: deprecated conversion from string constant to ‘char*’
moc.y:2616: warning: deprecated conversion from string constant to ‘char*’
moc.y:2617: warning: deprecated conversion from string constant to ‘char*’
moc.y:2653: warning: format not a string literal and no format arguments
moc.y:2654: warning: format not a string literal and no format arguments
moc.y:2756: warning: deprecated conversion from string constant to ‘char*’
moc.y:2761: warning: deprecated conversion from string constant to ‘char*’
y.tab.c: In function ‘int yyparse()’:
y.tab.c:3126: warning: suggest parentheses around assignment used as truth value
moc.y:522: warning: deprecated conversion from string constant to ‘char*’
moc.y:524: warning: deprecated conversion from string constant to ‘char*’
moc.y:525: warning: deprecated conversion from string constant to ‘char*’
moc.y:526: warning: deprecated conversion from string constant to ‘char*’
moc.y:533: warning: deprecated conversion from string constant to ‘char*’
moc.y:551: warning: deprecated conversion from string constant to ‘char*’
moc.y:552: warning: deprecated conversion from string constant to ‘char*’
moc.y:564: warning: deprecated conversion from string constant to ‘char*’
moc.y:565: warning: deprecated conversion from string constant to ‘char*’
moc.y:566: warning: deprecated conversion from string constant to ‘char*’
moc.y:567: warning: deprecated conversion from string constant to ‘char*’
moc.y:568: warning: deprecated conversion from string constant to ‘char*’
moc.y:569: warning: deprecated conversion from string constant to ‘char*’
moc.y:570: warning: deprecated conversion from string constant to ‘char*’
moc.y:571: warning: deprecated conversion from string constant to ‘char*’
moc.y:572: warning: deprecated conversion from string constant to ‘char*’
moc.y:588: warning: deprecated conversion from string constant to ‘char*’
moc.y:589: warning: deprecated conversion from string constant to ‘char*’
moc.y:634: warning: deprecated conversion from string constant to ‘char*’
moc.y:638: warning: deprecated conversion from string constant to ‘char*’
moc.y:650: warning: deprecated conversion from string constant to ‘char*’
moc.y:670: warning: deprecated conversion from string constant to ‘char*’
moc.y:713: warning: deprecated conversion from string constant to ‘char*’
moc.y:729: warning: deprecated conversion from string constant to ‘char*’
moc.y:738: warning: deprecated conversion from string constant to ‘char*’
moc.y:739: warning: deprecated conversion from string constant to ‘char*’
y.tab.c:3169: warning: label ‘yynewerror’ defined but not used
y.tab.c:3174: warning: label ‘yyerrlab’ 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 `/usr/QT_arm/qt-2.3.7/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/QT_arm/qt-2.3.7'
make: *** [init] Error 2