arm-linux的交叉编译环境的建立
2013-06-20 11:53
573 查看
arm-linux的交叉编译环境的建立
http://wiki.ubuntu.org.cn/Crosstool-ng%E5%88%B6%E4%BD%9C%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91%E5%B7%A5%E5%85%B7%E9%93%BE
如果缺少curses.h文件,则安装
curses库
sudo apt-get install libncurses5-dev
./config执行过程中,有可能会提示没有awk,
是缺少其中一个版本,按照提示,安装gawk或者mawk即可
出现以下错误
[INFO ] Installing cross-gdb
[EXTRA] Configuring cross-gdb
[EXTRA] Building cross-gdb
[ERROR] configure: error: expat is missing or unusable
[ERROR] make[2]: *** [configure-gdb] Error 1
[ERROR] make[1]: *** [all] Error 2
[ERROR] \
[ERROR] >>
[ERROR] >> Build failed in step 'Installing cross-gdb'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@177]
[ERROR] >> called from: do_debug[scripts/build/debug.sh@35]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@632]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/usr/local/share/doc/crosstool-ng/ct-ng.1.18.0/B - Known issues.txt'
[ERROR] /
[ERROR] (elapsed: 104:45.51)
[104:47] / make: *** [build] Error 2
则安装libexpat-dev
命令:sudo apt-get install libexpat-dev
http://wiki.ubuntu.org.cn/Crosstool-ng%E5%88%B6%E4%BD%9C%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91%E5%B7%A5%E5%85%B7%E9%93%BE
如果缺少curses.h文件,则安装
curses库
sudo apt-get install libncurses5-dev
./config执行过程中,有可能会提示没有awk,
是缺少其中一个版本,按照提示,安装gawk或者mawk即可
出现以下错误
[INFO ] Installing cross-gdb
[EXTRA] Configuring cross-gdb
[EXTRA] Building cross-gdb
[ERROR] configure: error: expat is missing or unusable
[ERROR] make[2]: *** [configure-gdb] Error 1
[ERROR] make[1]: *** [all] Error 2
[ERROR] \
[ERROR] >>
[ERROR] >> Build failed in step 'Installing cross-gdb'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@177]
[ERROR] >> called from: do_debug[scripts/build/debug.sh@35]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@632]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/usr/local/share/doc/crosstool-ng/ct-ng.1.18.0/B - Known issues.txt'
[ERROR] /
[ERROR] (elapsed: 104:45.51)
[104:47] / make: *** [build] Error 2
则安装libexpat-dev
命令:sudo apt-get install libexpat-dev
相关文章推荐
- 在 Fedora 下建立 ARM-Linux 交叉编译环境
- ubuntun 下使用QTcreator作为IDE建立arm-linux交叉编译环境
- 建立交叉编译环境arm-linux-gcc
- 建立arm-linux-gcc交叉编译环境
- ubuntu12.04建立交叉编译环境,bin/.arm-none-linux-gnueabi-gcc: not found
- ubuntu 10.04 建立交叉编译环境 arm-linux-gcc-4.3.2
- ubuntu12.04 64建立交叉编译环境,bin/.arm-none-linux-gnueabi-gcc: not found(安装 ia32-libs)
- Ubuntu 9.10上建立ARM-Linux交叉编译环境
- 建立arm-linux-gcc交叉编译环境
- 建立交叉编译环境arm-linux-gcc-4.3.2
- linux下arm交叉编译环境的建立
- Ubuntu 9.10上建立ARM-Linux交叉编译环境
- OANET(三):建立arm-linux交叉编译环境
- 建立arm-linux-gcc交叉编译环境
- Ubuntu 9.10上建立ARM-Linux交叉编译环境
- 在 Fedora 下建立 ARM-Linux 交叉编译环境
- arm-linux-gcc-4.4.3交叉编译环境建立
- 建立ARM交叉编译环境 (arm-none-linux-gnueabi-gcc with EABI)
- 建立arm-linux-gcc交叉编译环境
- ubuntu 10.04 建立交叉编译环境 arm-linux-gcc-4.3.2