MISP版本嵌入式QT编译时出现mips-linux-gcc command not found
2017-01-27 23:36
1006 查看
configure的时候都没什么问题
我的configure是:
./configure -prefix /opt/qt-jz -xplatform qws/linux-mips-g++ -embedded mips
configure顺利的过了,但是当make的时候,出现了mips-linux-gcc :Commond not fount!
我装的是mipsl-linux-gcc ,而且已经交叉编译过了个hello world了。。
make时出现的错误是:
make[1]: Entering directory `/root/Desktop/download/qt-jz/src/corelib'
mips-linux-g++ -c -pipe -mips32 -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-mips-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-mips -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-mips -o .obj/release-shared-emb-mips/qabstractanimation.o animation/qabstractanimation.cpp
make[1]: mips-linux-g++:命令未找到
make[1]: *** [.obj/release-shared-emb-mips/qabstractanimation.o] 错误 127
make[1]: Leaving directory `/root/Desktop/download/qt-jz/src/corelib'
make: *** [sub-corelib-make_default-ordered] 错误 2
检查你的交叉编译工具是否有加到PATH中
另外,如果你要用的是mipsel-linux-g++,修改qws/linux-mips-g++/qmake.conf
将其中的 mips-linux-g++ 改成 mipsel-linux-g++
http://www.supmen.com/nlzxjw26pk.html
我的configure是:
./configure -prefix /opt/qt-jz -xplatform qws/linux-mips-g++ -embedded mips
configure顺利的过了,但是当make的时候,出现了mips-linux-gcc :Commond not fount!
我装的是mipsl-linux-gcc ,而且已经交叉编译过了个hello world了。。
make时出现的错误是:
make[1]: Entering directory `/root/Desktop/download/qt-jz/src/corelib'
mips-linux-g++ -c -pipe -mips32 -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-mips-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-mips -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-mips -o .obj/release-shared-emb-mips/qabstractanimation.o animation/qabstractanimation.cpp
make[1]: mips-linux-g++:命令未找到
make[1]: *** [.obj/release-shared-emb-mips/qabstractanimation.o] 错误 127
make[1]: Leaving directory `/root/Desktop/download/qt-jz/src/corelib'
make: *** [sub-corelib-make_default-ordered] 错误 2
回答: MISP版本嵌入式QT编译时出现mips-linux-gcc command not found
which mips-linux-g++检查你的交叉编译工具是否有加到PATH中
另外,如果你要用的是mipsel-linux-g++,修改qws/linux-mips-g++/qmake.conf
将其中的 mips-linux-g++ 改成 mipsel-linux-g++
http://www.supmen.com/nlzxjw26pk.html
相关文章推荐
- 我在linux主机用arm-linux-gcc编译后,复制到开发板根目录运行,出现/bin/sh: ./hello not found
- qt编译过程中出现错误:arm-linux-g++ could not found
- qt4.8.6版本使用arm-linux-gcc-3.4.5编译问题
- linux 解决Ubuntu编译内核uImage出现问题“mkimage” command not found - U-Boot images will not be built问题
- [27]_make[2]: arm-hisiv300-linux-gcc: Command not found
- linux :make: gcc: Command not found
- mingw编译x264 dll时出现 "make[1]: lib: Command not found"的解决方法
- linux编译glibc和提醒"libc.so.6: version `GLIBC_2.14' not found"系统的glibc版本太低
- 编译mysql4.0时候出现错误提示checking "LinuxThreads"... "Not found"
- make: arm-linux-gcc: Command not found
- 提示错误:arm-linux-gcc: Command not found
- arm-linux-gcc command not found
- linux内核编译时出现“make: arm-linux-gcc:command not found解决
- Linux PATH---ROOT 下arm-linux-gcc command not found
- arm-linux-androideabi-gcc: Command not found
- 提示错误:arm-linux-gcc: Command not found
- [ubuntu 10.04 64bit][android]编译时报错:arm-eabi-gcc command not found
- 编译QTmake:arm-linux-g++:Command not found
- linux内核编译时出现“make: arm-linux-gcc:command not found!!!!!!
- 【嵌入式日常bug】arm-linux-gcc not found