瑞芯微Rockchip开发者社区
直播中

郑成枝

7年用户 1267经验值
私信 关注
[问答]

ubuntu18交叉编译环境使用make zlmage后报错如何解决

在官方给的ubuntu18交叉编译环境下,未改变任何配置,使用make zlmage后报错:
forlinx@forlinx:~/workspace/allwinner/A40i/bsp/lichee/linux-3.10$ make zImage

scripts/kconfig/conf --silentoldconfig Kconfig
drivers/net/wireless/bcmdhd/Kconfig:50:warning: defaults for choice values not supported
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
/home/forlinx/workspace/allwinner/A40i/bsp/lichee/linux-3.10/scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/home/forlinx/workspace/allwinner/A40i/bsp/lichee/linux-3.10/Makefile:503: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'.  Stop.
请大神帮忙解答一下,为什么会提示无线有问题?这块?如何去解决?




回帖(1)

王茜

2022-1-14 10:17:54
您出现这个问题的原因是,编译之前没有配置环境变量。另外手册中提到的编译内核的方法是
Linux 内核编译
# cd /root/workspace/allwinner/A40i/bsp/lichee/ #根据自己的环境切换
# ./build.sh -m kernel
举报

更多回帖

发帖
×
20
完善资料,
赚取积分