arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -D_CONFIG_PXA -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.4.3/mkspecs/qws/linux-arm-g++ -I. -I/usr/local/Trolltech/QtEmbedded-4.4.3/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.4.3/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.4.3/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.4.3/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.4.3/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.4.3/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.4.3/include -I/usr/local/Aria_arm/include -I. -I. -o facetdata.o facetdata.cpp
make: arm-linux-g++: Command not found
make: *** [facetdata.o] Error 127
echo了一下PATH:
echo $PATH
/usr/local/qt-embedded-linux-opensource-src-4.4.3/bin:/usr/local/Trolltech/QtEmbedded-4.4.3-arm-3.4.1/bin:/usr/local/Trolltech/QtEmbedded-4.4.3/bin:/opt/host/armv4l/bin:/usr/local/arm-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/arm/3.3.2/bin:/usr/local/arm/3.4.1/bin:/usr/local/arm/3.3.2/bin
我发现/usr/local/arm-linux/bin目录下有arm-linux-g++ 啊:
cd /usr/local/arm-linux/bin ls
arm-linux-addr2line arm-linux-cpp arm-linux-gcov arm-linux-ranlib
arm-linux-ar arm-linux-g++ arm-linux-ld arm-linux-readelf
arm-linux-as arm-linux-gcc arm-linux-nm arm-linux-size
arm-linux-c++ arm-linux-gcc-3.3.2 arm-linux-objcopy arm-linux-strings
arm-linux-c++filt arm-linux-gccbug arm-linux-objdump arm-linux-strip
小弟是交叉编译的菜鸟,哪位大哥能帮我解决一下,谢谢了:) |
我改了一下PATH,只有/usr/local/arm/3.3.2/bin下有arm-linux-g++时还是有同样的错误:'(
怎么回事啊? |