有个问题想请教一下
我是想要将qtopia4移植到mini2440,编译的时候运行下面这个脚本:
!/bin/bash
rm qt-extended-4.4.3 -fr
tar xvzf qt-extended-opensource-src-4.4.3.tar.gz
rm -fr builddir
mkdir builddir
#linux-arm-g++
export PATH=/opt/FriendlyARM/toolschain/4.4.3/bin:$PATH
#export PATH=/usr/local/arm/4.3.2/bin:$PATH
export TOOLSCHAIN=/opt/FriendlyARM/toolschain/4.4.3
#export TOOLSCHAIN=/usr/local/arm/4.3.2
export TB_CC_PREFIX=arm-linux-
#export PKG_CONFIG_PREFIX=$TOOLSCHAIN/arm-linux
export PKG_CONFIG_PREFIX=$TOOLSCHAIN/arm-none-linux-gnueabi
export LC_CTYPE="en_US"
export LANG="en_US"
export LANGUAGE="en_US"
cd /opt/FriendlyARM/mini2440/arm-qtopia-4.4.3/builddir
echo yes | ../qt-extended-4.4.3/configure \
-ui-type mobile \
-xplatform linux-arm-g++ \
-arch arm \
-release \
-clean \
-prefix /opt/Qtopia4.4.3 \
-sound-system oss \
-build-qt \
-no-sxe \
-no-ssl \
-no-v4l2 \
-no-vpn \
-no-phonon \
-no-libamr \
-dynamic-rotation \
-mediaengines cruxus \
-remove-mediaengine gstreamer,helix \
-pictureflow \ -remove-module bluetooth,drm \
-no-dbus \
-no-dbusipc \
-add-displaysize 240x320 \
-extra-qt-embedded-config "-embedded arm -xplatform qws/linux-arm-g++ -no-cups -nomake examples -nomake demos -qt-zlib -qt-libjpeg -qt-libmng -qt-libpng -no-dbus -depths 16,32 -qt-gfx-linuxfb -qt-gfx-transformed -no-gfx-qvfb -no-gfx-vnc -no-gfx-multiscreen -qt-kbd-tty -no-kbd-usb -no-kbd-sl5000 -no-kbd-yopy -no-kbd-vr41xx -no-kbd-qvfb -qt-mouse-tslib -I/usr/local/arm/tslib/tslib/include -L/usr/local/arm/tslib/tslib/lib -no-webkit -no-openssl -no-phonon -no-phonon-backend -no-nas-sound -no-exceptions -svg" \
-extra-qt-config "-no-webkit" \
2>&1 | tee ../qtopiaconfig.log
bin/qbuild 2>&1 | tee ../qtopia4.4.3makelog
bin/qbuild image
但是出现了下面这个错误:
Unhandled arguments:
Usage: configure [ -help ] [ -verbose ] [ -silent | -no-silent ]
[ -release | -debug ]
[ -separate-debug-info | -no-separate-debug-info ]
[ -clean | -no-clean ] [ -profile | -no-profile ]
[ -reduce-exports arg ] [ -little-endian | -big-endian ]
[ -I dir ] [ -L dir ] [ -l lib ] [ -R dir ] [ -D def ]
[ -host-I dir ] [ -host-L dir ] [ -host-l lib ]
[ -host-R dir ] [ -host-D def ] [ -rpath | -no-rpath ]
[ -posix-locks | -flock-locks ]
[ -semtimedop | -no-semtimedop ]
[ -malloc-hook | -no-malloc-hook ]
[ -exceptions | -no-exceptions ] [ -rtti | -no-rtti ]
[ -strict-warnings | -no-strict-warnings ]
[ -error | -no-error ]
[ -ld-optimize-speed | -ld-optimize-memory ]
[ -pkg-config | -no-pkg-config ] [ -force-pkg-config ]
[ -device device ] [ -qvfb ] [ -allow-fail option ]
[ -ui-type ui ] -add-module module -remove-module module
-modules module,module [ -platform host ]
[ -xplatform target ] [ -arch architecture ] [ -sdk dir ]
[ -image dir ] [ -prefix dir ] [ -launch-method method ]
[ -setproc-method method ] [ -singleexec | -shared ]
-add-language lang -remove-language lang -languages lang,lang
[ -iconsize size ] [ -svg-format ext ]
[ -image-extension-order ext,ext ]
[ -add-displaysize ui:size | -displaysizes ui:size,ui:size ]
[ -auto-i18n-fonts | -no-auto-i18n-fonts ]
[ -add-font fontspec ] [ -mount dir:mountpoint ]
[ -dynamic-rotation | -no-dynamic-rotation ]
[ -ssl | -no-ssl ] [ -sxe | -no-sxe ]
[ -sxe-discovery | -no-sxe-discovery ]
[ -sxe-soft-kill | -no-sxe-soft-kill ] [ -dbus | -no-dbus ]
[ -dbusipc | -no-dbusipc ] [ -sound-system ss ]
[ -v4l2 | -no-v4l2 ] -add-phonevendor plugin
-remove-phonevendor plugin -phonevendors plugin,plugin
-add-multiplexer plugin -remove-multiplexer plugin
-multiplexers plugin,plugin [ -vpn | -no-vpn ]
-add-mediaengine engine -remove-mediaengine engine
-mediaengines engine,engine [ -phonon | -no-phonon ]
[ -libamr | -no-libamr ] [ -build-examples | -no-examples ]
[ -pictureflow | -no-pictureflow ] [ -gif | -no-gif ]
[ -glib | -no-glib ] [ -qtopia-sqlite | -system-sqlite ]
[ -script | -no-script ]
[ -extra-qt-embedded-config "-option arg" ]
[ -extra-qt-config "-option arg" ] [ -system-qt | -build-qt ]
[ -force-build-qt ]
Pass -help for a detailed explanation of each option.
gmake: *** [src/build/mkconf/configure] Error 2
./build: line 25: -xplatform: command not found
./build: line 26: -arch: command not found
./build: line 27: -release: command not found
./build: line 28: -clean: command not found
./build: line 29: -prefix: command not found
./build: line 30: -sound-system: command not found
./build: line 31: -build-qt: command not found
./build: line 32: -no-sxe: command not found
./build: line 34: -no-ssl: command not found
./build: line 35: -no-vpn: command not found
./build: line 36: -no-phonon: command not found
./build: line 37: -no-libamr: command not found
./build: line 38: -dynamic-rotation: command not found
./build: line 39: -mediaengines: command not found
./build: line 40: -remove-mediaengine: command not found
./build: line 41: -pictureflow: command not found
./build: line 42: -no-dbus: command not found
./build: line 43: -no-dbusipc: command not found
./build: line 44: -add-displaysize: command not found
./build: line 45: -extra-qt-embedded-config: command not found
./build: line 49: bin/qbuild: No such file or directory
./build: line 50: bin/qbuild: No such file or directory
请问这是什么原因呢?