编译错误-----Kconfig之'endmenu' in different file than 'menu'
来源:互联网 发布:数据采集卡是板卡吗 编辑:程序博客网 时间:2024/06/05 16:12
今天在内核中添加自己的驱动程序,奇怪的是老出现如下问题:
[root@localhost kernel]# make menuconfig
scripts/kconfig/mconf Kconfig
drivers/xxxx/Kconfig:10: 'endmenu' in different file than 'menu'
drivers/xxxx/Kconfig:2: location of the 'menu'
drivers/Kconfig:117: 'endmenu' in different file than 'menu'
drivers/advantech/Kconfig:2: location of the 'menu'
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2
找了老半天,没有发现问题阿,没办法又把其他的Kconfig问价复制粘贴,删除试试,最发现是因为我的Kconfig文件:
menu "XXXXX Device Drivers"
config UNO_DIO_LED
tristate "XXX dio and led"
help
Generic dio led driver.
Used for XXX and OMAP3 SDP.
endmenu
在“endmenu”后面必须要有一个空行,应该是(关键字简析的时候除了匹配问题)
- 编译错误-----Kconfig之'endmenu' in different file than 'menu'
- 编译错误-----Kconfig之'endmenu' in different file than 'menu'
- "An extender can't be in a different UpdatePanel than the control it extends." error really needs debugging information ,错误
- NASM编译错误:nasm: error: more than one input file specified
- 编译错误:configure: error: newly created file is older than distributed files!
- Java 编译,运行错误之 java.lang.UnsupportedClassVersionError: Bad version n umber in .class file
- 内核编译错误 'scripts/kconfig/dochecklxdialog' failed
- linux 编译内核[scripts/kconfig/dochecklxdialog] 错误
- linux 编译内核[scripts/kconfig/dochecklxdialog] 错误
- android编译错误之Duplicate file
- 【xcode】错误之Certificate identity 'iPhone Developer: XXX' appears more than once in the keychain
- "Exception: Python in worker has different version xx than that in driver xxx
- Excel 2007 error Different format than specified by the file extension
- PCH file built from a different branch ((clang-425.0.24)) than the compiler
- 重建控制文件时提示ORA-01189: file is from a different RESETLOGS than previous files
- 内核编译出现错误:[scripts/kconfig/dochecklxdialog] Error 1
- In file included from scripts/kconfig/lxdialog/checklist.c:24:0: scripts/kconfig/lxdialog/dialog.h:3
- Exception: Python in worker has different version 2.7 than that in driver 3.5, PySpark cannot run wi
- HTTP协议 (六) 状态码详解
- uva 532
- HDU 1520 Anniversary party(简单树形dp)
- 系统杂类-----如何让iphone连接电脑不自动跳出“扫描仪和相机向导”
- HTTP协议 (七) Cookie
- 编译错误-----Kconfig之'endmenu' in different file than 'menu'
- org.directwebremoting.extend.MarshallException: Error marshalling
- python脚本中使用中文注释的方法
- 大学生创业为什么会挂掉?——来自2年实际孵化工作的总结
- 【ScrollView】ScrollView属性
- tomcat热部署的实现原理
- 关于学习one step at a time 的English
- 分布式系统开发常见问题-1. session的复制与共享 2. 分布式缓存的设计
- 解决libcrypto.so.0.9.8: cannot open shared object file