编译 Linux 内核 时出现 Restart config 问题
2024-10-20 16:48:52
scripts/kconfig/conf --silentoldconfig Kconfig
*
* Restart config...
*
*
* Enable the block layer
*
Enable the block layer (BLOCK) [Y/?] y
Support for large (2TB+) block devices and files (LBDAF) [Y/n/?] (NEW) ^Cscripts/kconfig/Makefile:: recipe for target 'silentoldconfig' failed
make[]: *** [silentoldconfig] Interrupt
Makefile:: recipe for target 'silentoldconfig' failed
make[]: *** [silentoldconfig] Interrupt
出现以上问题时,一般是配置内核时,没有指定好架构和编译器。
解决方法:
在配置内核时, 指定好对应的架构和编译器, 在配置完成以后save。
在编译内核时,指定好配置时指定的架构和编译器,make 对应的镜像即可。
范例:
配置时:
make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- menuconfig 编译时:
make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- uImage -j4
最新文章
- 9.openssl ca
- Codeforce - Rock-Paper-Scissors
- 拓扑排序 +Floyd(poj 1094)
- PowerShell remoting中的second-hop问题
- python 利用pop3接收邮件并保存附件
- Xcode文件目录选中变成白色, 解决方案
- Linux Shell编程(5)——shell特殊字符(下)
- IO库 8.3
- 利用Paramiko模块远程连接Linux
- Thinkphp3.2结合phpqrcode生成二维码(含Logo的二维码),附案例
- scrapy爬虫框架教程(二)-- 爬取豆瓣电影TOP250
- Java 基础 JRE和JDK的区别
- JDK动态代理(Proxy)的两种实现方式
- WPF:通过名字找控件
- [原创]如果软件在网络磁盘中或移动磁盘中运行时需要解决 exception C0000006 异常问题
- 原生js实现二级联动下拉列表菜单
- C#/Asp.Net 获取各种Url的方法
- [日常] Apache Order Deny,Allow的用法
- Electron 入门案例1
- SharePoint自动化系列——通过PowerShell创建SharePoint Lists
热门文章
- outlook alias
- vmWare安装centos7之后使用yum安装提示there are on enabled repos(修改yum源)
- 阿里云ECS,Ubuntu Server 16.04安装图形界面远程控制
- vue子组件数据变化同步到父组件中
- Jenkins自动化版本构建
- osgViewer
- RabbitMQ 入门教程(PHP版) 延迟队列,延迟任务
- F5 BIG-IP – Useful SNMP oids to monitor
- Codeforces 1029B. Creating the Contest 动态规划O(nlogn)解法 及 单调队列O(n)解法
- http post 自动变成了options 怎么设置