/*****************************************************************************************************************
Document Author : ELvins Fu
Digtal technology park, A3 -06 , shenzhen, China
*************************************************************************************************************/
1.初始状态
ubuntu@sky:~/work/VINETIC/OpenWrt-SDK-SVIP-2.6-be-7.0.6-for-Linux-i686$ ls
active_config docs LICENSE package toolchain
BSDmakefile feeds.conf Makefile rules.mk tools
config feeds.conf.default OpenWrt-Buildroot-lantiq-for-mips_r2-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2 scripts version
Config.in include OpenWrt-Downloads-lantiq-for-mips_r2-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2 target
dl lantiq other_config_path tmp
2.芯片类型
ubuntu@sky:~/work/VINETIC/OpenWrt-SDK-SVIP-2.6-be-7.0.6-for-Linux-i686$ ./scripts/ltq_change_environment.sh switch
[0] Abort
[1] ./config/lantiq/easy336_svip
choice[0-1?]: 1
Apply config ./config/lantiq/easy336_svip
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... failed.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.
Build dependency: Please install the subversion client.
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-build] Error 1
------------------------------------------------------------------------------------------------------------------------
解决办法:
解压openwrt包编译出错:
Build dependency: Please install the GNU C++ Compiler (g++).
Build dependency: Please install ncurses. (Missing libncurses.so or ncurses.h)
Build dependency: Please install zlib. (Missing libz.so or zlib.h)
Build dependency: Please install GNU awk. www.2cto.com
Build dependency: Please install flex.
Build dependency: Please install patch.
Build dependency: Please install git (git-core).
Build dependency: Please install the subversion client.
安装编译openwrt须要的包:
sudo apt-get install libncurses5-dev zlib1g-dev gawk flex patch git-core g++ subversion
ubuntu@sky:~/work/VINETIC/OpenWrt-SDK-SVIP-2.6-be-7.0.6-for-Linux-i686$ sudo apt-get install subversion
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
sqlitebrowser : Depends: libsqlite3-0 (>= 3.7.3) but 3.7.2-1ubuntu0.1 is to be installed
subversion : Depends: libsvn1 (= 1.6.17dfsg-3ubuntu3.5) but it is not going to be installed
Depends: libapr1 (>= 1.2.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ubuntu@sky:~/work/VINETIC/OpenWrt-SDK-SVIP-2.6-be-7.0.6-for-Linux-i686$ ls
1>网上的一些包更新的步骤,不过对于我的环境是没有用的。
----------------------------------------------------------------