198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Mon Nov 01, 2010 7:49 pm Post subject: Kernel: messaggio errore durante compilazione |
|
|
Ho diversi errori che probabilmente non sono gravi, ma di sicuro pregiudicano il corretto funzionamento di tutto, per cui durante la compilazione del kernel mi ritrovo un messaggio che mi dice Code: | WARNING: modpost: Found 44 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y' |
per cui se lancio il comando ottengo diverse indicazioni, che non so come trattare e non vorrei fare altri danni Code: | drivers/pci/pcie/aer/aerdrv_core.c: In function ‘aer_isr’:
drivers/pci/pcie/aer/aerdrv_core.c:756: warning: ‘e_src.id’ may be used uninitialized in this function
drivers/pci/pcie/aer/aerdrv_core.c:756: warning: ‘e_src.status’ may be used uninitialized in this function
WARNING: vmlinux.o(.devinit.text+0x31f2): Section mismatch in reference from the function efifb_probe() to the variable .init.data:efifb_fix
The function __devinit efifb_probe() references
a variable __initdata efifb_fix.
If efifb_fix is only used by efifb_probe then
annotate efifb_fix with a matching annotation.
WARNING: vmlinux.o(.data+0x283e4): Section mismatch in reference from the variable ahci_driver to the function .init.text:ahci_probe()
The variable ahci_driver references
the function __init ahci_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,
WARNING: vmlinux.o(.text+0x31d15f): Section mismatch in reference from the function pcibios_scan_specific_bus() to the function .devinit.text:pci_scan_bus_on_node()
The function pcibios_scan_specific_bus() references
the function __devinit pci_scan_bus_on_node().
This is often because pcibios_scan_specific_bus lacks a __devinit
annotation or the annotation of pci_scan_bus_on_node is wrong.
WARNING: drivers/ata/built-in.o(.data+0xa5c): Section mismatch in reference from the variable ahci_driver to the function .init.text:ahci_probe()
The variable ahci_driver references
the function __init ahci_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, |
Ho letto che potrebbe essere la conseguenza dell'uso di "make oldconfig" e qualcuno addirittura dice di tralasciare, ma nulla a proposito di una soluzione, ammesso esista. |
|