编译的时候提示
ERROR: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
于是就make CONFIG_DEBUG_SECTION_MISMATCH=y 编译下来OK,但是我在根目录.config文件中把CONFIG_DEBUG_SECTION_MISMATCH设置成y , 再编译尽然出了好3个警告,如下
晕,终端被我清掉了,就剩一个,都是关于s3c_ide_set_platdata的。什么意思?
WARNING: arch/arm/plat-samsung/built-in.o(.text+0xb90): Section mismatch in reference from the function s3c_ide_set_platdata() to the function .init.text:s3c_set_platdata()
The function s3c_ide_set_platdata() references
the function __init s3c_set_platdata().
This is often because s3c_ide_set_platdata lacks a __init
annotation or the annotation of s3c_set_platdata is wrong.
|