openwrt在make menuconfig或者install的时候出现以下错误的解决方法

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

在安装依赖库的时候加上红色的那两个库或者其他库:
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 libssl-dev
sudo apt-get install libssl0.9.8



然后update和install一下:
cd trunk 
./scripts/feeds update -a
./scripts/feeds install -a 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值