Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我踩过的坑 以及编译出错的排除 #10

Open
huangwj55 opened this issue Mar 13, 2022 · 0 comments
Open

我踩过的坑 以及编译出错的排除 #10

huangwj55 opened this issue Mar 13, 2022 · 0 comments

Comments

@huangwj55
Copy link

我的设备是红米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.
不过总算编译出来了,感谢大佬!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant