Checking out files from the git repository...
Cloning into 'linux-firmware-f404336ba808cbd57547196e13367079a23b822c'...
fatal: unable to access '
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/': Could not resolve host: git.kernel.org
make[3]: *** [/home/winux/openwrt/trunk/dl/linux-firmware-2015-03-20-f404336ba808cbd57547196e13367079a23b822c.tar.bz2] Error 128
make[3]: Leaving directory `/home/winux/openwrt/trunk/package/kernel/mac80211'
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory `/home/winux/openwrt/trunk'
make[1]: *** [/home/winux/openwrt/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/winux/openwrt/trunk'
make: *** [world] Error 2
fatal: unable to access '
make[3]: *** [/home/winux/openwrt/trunk/dl/linux-firmware-2015-03-20-f404336ba808cbd57547196e13367079a23b822c.tar.bz2] Error 128
make[3]: Leaving directory `/home/winux/openwrt/trunk/package/kernel/mac80211'
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory `/home/winux/openwrt/trunk'
make[1]: *** [/home/winux/openwrt/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/winux/openwrt/trunk'
make: *** [world] Error 2
在安装依赖库的时候加上红色的那两个库或者其他库:
1). 安装 SVN 工具
sudo apt-get install subversion
2). 安装 git 工具
sudo apt-get install git-core
3). 依次安装依赖的库文件
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install binutils
sudo apt-get install patch
sudo apt-get install bzip2
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install make
sudo apt-get install autoconf
sudo apt-get install gettext
sudo apt-get install texinfo
sudo apt-get install unzip
sudo apt-get install sharutils
sudo apt-get install ncurses-term
sudo apt-get install zlib1g-dev
sudo apt-get install libncurses5-dev
sudo apt-get install gawk sudo apt-get install subversion
sudo apt-get install libz-dev
sudo apt-get install libz-dev
sudo apt-get install libssl-dev
sudo apt-get install libssl0.9.8
sudo apt-get install libssl0.9.8
然后update和install一下:
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a