linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem in compiling a kernel module
@ 2007-03-12 17:00 Matthias Fechner
  2007-03-12 18:36 ` Grant Likely
  0 siblings, 1 reply; 13+ messages in thread
From: Matthias Fechner @ 2007-03-12 17:00 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I'm not sure if this is the right list, so please correct me.

If have written a kernel module to read a I2C chip (it's very basic
now and I try to understand some thinks first so please forgive some
stupid questions).

I copied it to drivers/i2c/chips and added it into the Makefile with
the following line:
obj-m += max6633.o

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?

Best regards,
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-08-08 22:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 17:00 Problem in compiling a kernel module Matthias Fechner
2007-03-12 18:36 ` Grant Likely
2007-03-13  4:30   ` Matthias Fechner
2007-03-13  4:55     ` Grant Likely
2007-03-13 12:55     ` Ben Warren
2007-03-14  4:33       ` Matthias Fechner
2007-03-14  6:54         ` Domen Puncer
2007-03-15  4:27           ` Matthias Fechner
2007-08-07 17:42           ` Fedora 7 on a non FPU system Michael Brian Willis
2007-08-07 19:11             ` Roland Dreier
2007-08-07 19:29             ` Josh Boyer
2007-08-07 21:43             ` Clemens Koller
2007-08-08 22:18               ` Michael Brian Willis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).