如题:
WARNING: modpost: Found 1 section mismatch(es).
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
解决文法:使用make CONFIG_DEBUG_SECTION_MISMATCH=y,最后得到如下输出:
WARNING: drivers/misc/built-in.o(.data+0x0): Section mismatch in reference from the variable ssc_driver to the function .init.text:ssc_probe()
The variable ssc_driver references
the function __init ssc_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
找出问题,解决。