- Ubuntu
- sudo apt-get update (更新)
- 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 subversion
sudo apt-get install libncurses5-dev
sudo apt-get install ncurses-term
sudo apt-get install zlib1g-dev
sudo apt-get install gawk
sudo apt-get install asciidoc
sudo apt-get install libz-dev
- mkdir openwrt 创建一个openwrt文件夹
- svn co svn://svn.openwrt.org/openwrt/branches/backfire (稳定版)svn co svn://svn.openwrt.org/openwrt/trunk/(最新版)
- /scripts/feeds update -a 更新软件包
./scripts/feeds install -a 安装软件包(如果其中有失败部分,改feeds.conf.default) - (中国镜像,好像luci和xwrt有一个装上就行了)与openwrt.org的源码svn路径仅仅多了一个.cn
svn://svn.openwrt.org.cn/openwrt/branches/backfire
svn://svn.openwrt.org.cn/openwrt/trunk
luci的源码镜像:
svn://svn.openwrt.org.cn/luci/luci/branches
svn://svn.openwrt.org.cn/luci/luci/trunk
- /scripts/feeds update -a 更新软件包
./scripts/feeds install -a 安装软件包
- 在 root 用户下 在根目录执行 sudo chmod -R 777 openwrt 然后再切换到普通用户运行make menuconfig
- 终于进编译界面了。。。。。。
详细解决方案
openwrt 进编译之前的准备
热度:87 发布时间:2024-01-08 23:51:56.0
相关解决方案
- Openwrt 各种重启命令
- openwrt 进编译之前的准备
- missing dependencies for the following libraries:libpthread.so.0.(OpenWRT)
- 外网访问 openwrt 时 ttyd 无内容显示
- openwrt 处理间歇性无法上网(DNS故障)问题
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv
- openwrt 使用quilt制作patch
- openwrt 串口/SSH启动欢迎信息打印
- Openwrt 19.07编译cycletest和glibc出错处理
- openwrt 处理 ssh 暴力破解