You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我的设备是红米AX6s 芯片 Mediatek mt7622 属于ARMv8 arrch64架构
虚拟机为Ubuntu18.04
遇到此错误
$ make menuconfig
make -s -C scripts/config mconf: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/home/huang/openwrt/openwrt-sdk-mediatek-mt7622_gcc-11.2.0_musl.Linux-x86_64/include/toplevel.mk:105: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 1
不管,继续下一步直接make 出现错误信息
make[3]: Entering directory '/home/huang/openwrt/openwrt-sdk-mediatek-mt7622_gcc-11.2.0_musl.Linux-x86_64/scripts/config'
set -e; mkdir -p ./; trap "rm -f ./.mconf-cfg.tmp" EXIT; { /bin/sh mconf-cfg.sh; } > ./.mconf-cfg.tmp; if [ ! -r mconf-cfg ] || ! cmp -s mconf-cfg ./.mconf-cfg.tmp; then true ' UPD mconf-cfg'; mv -f ./.mconf-cfg.tmp mconf-cfg; fi
*
Unable to find the ncurses package.
Install ncurses (ncurses-devel or libncurses-dev
depending on your distribution).
You may also need to install pkg-config to find the
ncurses installed in a non-default location.
Makefile:108: recipe for target 'mconf-cfg' failed
原来是没有安装pkg-config ,安装完之后故障排除。建议安装依赖时加上这一个 还有就是虚拟机的分辨率不能太低,否则无法调出menuconfig
错误信息:
Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
不过总算编译出来了,感谢大佬!
The text was updated successfully, but these errors were encountered:
我的设备是红米AX6s 芯片 Mediatek mt7622 属于ARMv8 arrch64架构
虚拟机为Ubuntu18.04
遇到此错误
$ make menuconfig
make -s -C scripts/config mconf: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/home/huang/openwrt/openwrt-sdk-mediatek-mt7622_gcc-11.2.0_musl.Linux-x86_64/include/toplevel.mk:105: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 1
不管,继续下一步直接make 出现错误信息
make[3]: Entering directory '/home/huang/openwrt/openwrt-sdk-mediatek-mt7622_gcc-11.2.0_musl.Linux-x86_64/scripts/config'
set -e; mkdir -p ./; trap "rm -f ./.mconf-cfg.tmp" EXIT; { /bin/sh mconf-cfg.sh; } > ./.mconf-cfg.tmp; if [ ! -r mconf-cfg ] || ! cmp -s mconf-cfg ./.mconf-cfg.tmp; then true ' UPD mconf-cfg'; mv -f ./.mconf-cfg.tmp mconf-cfg; fi
*
Makefile:108: recipe for target 'mconf-cfg' failed
原来是没有安装pkg-config ,安装完之后故障排除。建议安装依赖时加上这一个
还有就是虚拟机的分辨率不能太低,否则无法调出menuconfig
错误信息:
Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
不过总算编译出来了,感谢大佬!
The text was updated successfully, but these errors were encountered: