我按照OpenWrt网站上给出的以下步骤设置了OpenWrt构建系统。
sudo apt-get update
sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk zlib1g-dev
git clone https://github.com/openwrt/openwrt.git
git clone -b chaos_calmer git://github.com/openwrt/openwrt.git
cd openwrt ./scripts/feeds update -a ./scripts/feeds install -a
我在配置文件中进行了必要的更改,并运行了make命令。它给出以下错误: make:* world Error 1
有什么解决方案吗?
发布于 2017-04-16 17:14:23
使用以下命令选项可以了解您得到的确切错误
make -j1 V=s有时由于网速较慢(获取openwrt的包源代码时),或者由于RAM可用性较低或配置错误而导致此错误。发布您得到的错误消息块,以了解有关问题的更多信息。
发布于 2018-09-04 18:30:50
请遵循以下前提条件:https://wiki.openwrt.org/doc/howto/buildroot.exigence
请特别查看表“已知先决条件及其相应包的表”。
发布于 2021-08-11 10:04:02
你必须安装gcc和g++的version7,所以试试这个:
sudo apt install gcc-7 g++-7 build-essential
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 7https://stackoverflow.com/questions/42141152
复制相似问题