d*******o 发帖数: 5897 | 1 When I compiled linux-2.6.37 with the working .config of linux-2.6.35.22-
generic (Ubuntu 10.10), I first got this:
"
WARNING: modpost: Found 43 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
"
After I did "make CONFIG_DEBUG_SECTION_MISMATCH=y", I got something like
this:
"
WARNING: drivers/video/built-in.o(.devinit.text+0x905): Section mismatch in
reference from the function efifb_probe() to the (unknown reference) .init.
data:(unknown)
The function __devinit efifb_probe() references
a (unknown reference) __initdata (unknown).
If (unknown) is only used by efifb_probe then
annotate (unknown) with a matching annotation.
WARNING: drivers/video/built-in.o(.devinit.text+0x912): Section mismatch in
reference from the function efifb_probe() to the (unknown reference) .init.
data:(unknown)
The function __devinit efifb_probe() references
a (unknown reference) __initdata (unknown).
If (unknown) is only used by efifb_probe then
annotate (unknown) with a matching annotation.
"
How can I fix it? Will this be a serious problem if I just ignore this
warnning?
With many thanks. |
|