module compilation warnings

Andras Simon szajmi at gmail.com
Fri Jul 14 14:33:36 UTC 2006


I'm trying to compile the smc-ultra kernel module (because it's
missing from the kernel in FC5 for some reason) following the
instructions in
http://fedora.redhat.com/docs/release-notes/fc5/release-notes-ISO/#id3098172

This works with no problem for the 2.6.15-something kernel which ships
with FC5, but with the recent 2.6.17-1.2145 kernel I get warnings

WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.text: from .text between 'init_module' (at offset
0xbf) and 'u
ltra_close_card'
WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.data:ultra_device_ids from .text between
'init_module' (at off
set 0x166) and 'ultra_close_card'
WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.text: from .text between 'init_module' (at offset
0x179) and '
ultra_close_card'
WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.data:ultra_device_ids from .text between
'init_module' (at off
set 0x18c) and 'ultra_close_card'
WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.data:ultra_device_ids from .text between
'init_module' (at off
set 0x195) and 'ultra_close_card'
WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.data:ultra_device_ids from .text between
'init_module' (at off
set 0x1b3) and 'ultra_close_card'
WARNING: /opt1/home/simon/kernel/kernel2.6.17_1.2145/smc-ultra.o -
Section mismatch
: reference to .init.text: from .text between 'init_module' (at offset
0x1e6) and '
ultra_close_card'

The module loads and works with no apparent problems, but still. Can
someone shed some light on this?

Thanks,

Andras




More information about the fedora-list mailing list