From: <linuxmodule@altern.org>
To: linux-kernel@vger.kernel.org
Subject: 2.6.0-test3 module compilation
Date: Wed, 20 Aug 2003 18:39:19 +0200 (CEST) [thread overview]
Message-ID: <S261663AbTHTQkp/20030820164045Z+1122@vger.kernel.org> (raw)
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
Snowdog
next reply other threads:[~2003-08-20 16:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-20 16:39 linuxmodule [this message]
2003-08-20 16:54 ` Randy.Dunlap
2003-08-20 17:19 ` Richard B. Johnson
2003-08-20 18:47 ` Sam Ravnborg
2003-08-20 19:06 Jose Luis Alarcon Sanchez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=S261663AbTHTQkp/20030820164045Z+1122@vger.kernel.org \
--to=linuxmodule@altern.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®