[lkml]   [2003]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.0-test3 module compilation
---- Begin Original Message ----
From: <>
Sent: Wed, 20 Aug 2003 18:39:19 +0200 (CEST)
Subject: 2.6.0-test3 module compilation

I am trying to compile a module on 2.6.0-test3 kernel. The makefile i
am using is a pretty normal one :

CFLAGS = -D__KERNEL__ -DMODULE -I/usr/src/linux-2.6.0-test3/include -O
dummy.o: dummy.c

The module i am trying to compile is taken from the kernel itself
(dummy network device driver). The
compilation works flawlessly but when i try to insert the module i get
: invalid module format.
What am i doing wrong because i have modutils and module-init and both
work, since the same module (dummy)
compiled with the kernel itself can be inserted and removed without
the previous error message.
Is there something i should know about the compilation process ? The
kernel-compiled module (dummy.ko) has
about 10 Kbytes and dummy.ko compiled by me has only 2 Kbytes :(

Thank you in advance
---- End Original Message ----

Try to give a look to this "Linux Weekly News" article:

Good luck.



Mandrake Linux 9.1 Kernel 2.6.0-test3 XFS.
Registered BSD User 51101.
Registered Linux User #213309.
Memories..... You are talking about memories.
Rick Deckard. Blade Runner.

Get your Free E-mail at
Get your own Web-based E-mail Service at
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.034 / U:1.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site