2018年6月24日 星期日

SDK編譯

1. 安裝toolchain
$ sudo chmod 777 /opt

$ make install-glibc-toolchain
2. arm-none-linux-gnueabi-gcc -v 出現: No such file or directory
$ sudo apt-get install ia32-libs
3. make menuconfig 出現: *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. ***
$ sudo apt-get install libncurses5-dev
4. make menuconfig 出現: /bin/bash: dialog: command not found
$ sudo apt-get install dialog
5. configure: error: GNU M4 1.4 is required
$ sudo apt-get install m4
6. ./bootstrap: 18: ./bootstrap: aclocal: not found
$ sudo apt-get install automake
7. ./bootstrap: 20: ./bootstrap: libtoolize: not found
$ sudo apt-get install libtool
8. *** [flex.info] Error 1
$ sudo apt-get install flex
9. WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site.
$ sudo apt-get install texinfo
10. ../../ylwrap: line 111: yacc: command not found
$ sudo apt-get install bison
11. /bin/sh: 1: lzop: not found
$ sudo apt-get install lzop
12. "mkimage" command not found - U-Boot images will not be built
$ sudo apt-get install uboot-mkimage

沒有留言:

張貼留言