欢迎来到天天文库
浏览记录
ID:18400714
大小:87.62 KB
页数:11页
时间:2018-09-17
《初级openwrt编译详细教程》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Openwrt编译入门一、安装openwrt需要的编译环境1.批量命令安装sudoapt-getinstallgccg++binutilspatchbzip2flexbisonmakeautoconfgettexttexinfounzipsharutilssubversionlibncurses5-devncurses-termzlib1g-dev2.单条命令输入sudoapt-getinstallg++sudoapt-getinstalllibncurses5-devsudoapt-getinstallzlib1g-devsudoapt-getinstallbisonsudoapt-
2、getinstallflexsudoapt-getinstallunzipsudoapt-getinstallautoconfsudoapt-getinstallgawksudoapt-getinstallmakesudoapt-getinstallgettextsudoapt-getinstallgccsudoapt-getinstallbinutilssudoapt-getinstallpatchsudoapt-getinstallbzip2sudoapt-getinstalllibz-devsudoapt-getinstallasciidocsudoapt-getinstalls
3、ubversionsudoapt-getinstallgitsudoapt-getinstallsphinxsearchconstructionqualityacceptanceandassessmentRegulation(ProfessionalEdition)(DL/T5210.2-2009~DL/T5210.8-2009);1.9thequalitycheckoutandevaluationofelectricequipmentinstallationengineeringcode(DL/T5161.1-2002~5161.17-2002);1.10thenormsofcons
4、tructionsupervision,theelectricpowerconstructionsupervisionregulationssudoapt-getinstalllibtoolsudoapt-getinstallsphinx-common系统其他软件更新sudoapt-getupdatesudoapt-getinstalllibssl-dev注:不安装上边这个使用makemenuconfig可能出现下边的错误:Checking'working-make'...ok.Checking'case-sensitive-fs'...ok.Checking'getopt'...ok
5、.Checking'fileutils'...ok.Checking'working-gcc'...ok.Checking'working-g++'...ok.Checking'ncurses'...ok.Checking'zlib'...ok.Checking'gawk'...ok.Checking'unzip'...ok.Checking'bzip2'...ok.Checking'perl'...ok.Checking'/usr/bin/python2.7'...ok.Checking'wget'...ok.Checking'git'...ok.Checking'gnutar'..
6、.ok.Checking'svn'...ok.Checking'libssl'...failed.Checking'openssl'...ok.Checking'gnu-find'...ok.Checking'getopt-extended'...ok.Checking'file'...ok.Checking'non-root'...ok.Builddependency:Pleaseinstalltheopenssllibrary(withdevelopmentheaders)Prerequisitecheckfailed.UseFORCE=1tooverride.make:***[t
7、mp/.prereq-build]Error1一、下载源码建议使用subversion(SVN),因为Openwrt主要以svn来维护Openwrt系统的版本。另外,请注意Openwrt中不同的分支版本,一种是最新版但不是最稳定,也就是trunk版,一种是相对稳定的backfire版。constructionqualityacceptanceandassessmentRegulation(ProfessionalEdition)(DL/T521
此文档下载收益归作者所有