编译Openwrt时遇到的问题

4710阅读 0评论2016-08-17 静默梧桐
分类:LINUX

1、虚拟机内存空间不足;若想系统富裕点,虚拟机硬盘设置为40G吧;
2、git版本低,不再被支持;

Please upgrade your git client.
GitHub.com no longer supports git over dumb-http: https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-90-days
Initialized empty Git repository in /home/lvlin/openwrt/openwrt/tmp/dl/odhcp6c-2015-09-04/.git/
error: The requested URL returned error: 403 while accessing   //访问这个url可以得到出错信息

fatal: HTTP request failed
make[3]: *** [/home/lvlin/openwrt/openwrt/dl/odhcp6c-2015-09-04.tar.bz2] Error 128

 网上查到的除了这个原因外,还可能是   系统时间不正确 或者 没有安装curl;
3、编译ltq   UGW提供sdk时出错说, 没有安装lxml

Traceback (most recent call last):
  File "/home/lvjianlin/code/UGW/UGW-7.1-SW-CD/UGW-7.1-SW-CD/Sources/UGW-7.1-GA-RC2/staging_dir/host/bin/merge.py", line 43, in
    from lxml import etree
ImportError: No module named lxml
control.xml: No such file or directory
1077934280:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('control.xml','r')
1077934280:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:

sudo apt-get install libxml2-dev
sudo apt-get install libxslt1-dev
sudo apt-get install python-dev
sudo easy_install lxml

4、提示没有openssl
“Build dependency: Please install the openssl library (with development headers)”

yum -y install openssl-devel
**************************************************

编译相关参考:

上一篇:Wi-Fi Simple Configuration Technical Specification
下一篇:OpenWrt init/Procd启动流程(一)