1.SVIP开发环境的搭建及其模块管理

本文详细记录了在Ubuntu环境下搭建SVIP开发环境的过程,包括芯片类型选择、依赖包安装、源列表更新、编译环境配置、uBoot及Linux内核的相关操作。在遇到依赖冲突和编译错误时,提供了问题排查和解决方案,如安装缺失的库,更新系统源等。通过此文,读者可以了解如何成功构建和管理SVIP开发环境。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

/*****************************************************************************************************************

 

                                                       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>网上的一些包更新的步骤,不过对于我的环境是没有用的。

----------------------------------------------------------------

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值