Problem in compiling a kernel module

Grant Likely grant.likely at secretlab.ca
Tue Mar 13 05:36:43 EST 2007


On 3/12/07, Matthias Fechner <idefix at fechner.net> wrote:
> If I try now to compile to kernel I got the following error message:
> WARNING: drivers/i2c/chips/max6633.o - Section mismatch: reference to
> .init.data: from .text after 'cleanup_module' (at offset 0x196)
> WARNING: drivers/i2c/chips/max6633.o - Section mismatch: reference to
> .init.data: from .text after 'cleanup_module' (at offset 0x1a6)
> WARNING: drivers/i2c/chips/max6633.o - Section mismatch: reference to
> .init.data: from .text after 'cleanup_module' (at offset 0x1da)
> WARNING: drivers/i2c/chips/max6633.o - Section mismatch: reference to
> .init.data: from .text after 'cleanup_module' (at offset 0x1e2)
>
> What does that mean or how can debug or solve the problem?
>

Looks like you're trying to access inital data (which is freed after
module load) from regular code (which is not)

g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-embedded mailing list