From: "redzic fadil" <redzic_fadil@hotmail.com>
To: linux-kernel@vger.kernel.org
Date: Sun, 22 Feb 2004 18:51:39 +0100 [thread overview]
raw)
hello
I hope I don't disturb,
I have tried to compile the hello.c module under kernel 2.6.3.
And I'd like to insert the hello.o module in the kernel.
But this doesn't work with kernel 2.6.3 .
I have compiled this module with kernel 2.4.* and it is well.
Also I cannot include the header file module.h, because I get error
messages.
my module:
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
int initial_module (void)
{
printk("\ninitial module\n");
return (0);
}
void delete_module (void)
{
printk("\ndelete module\n");
}
module_init(initial_module);
module_exit(delete_module);
my Makefile:
CC=gcc
CFLAGS=-isystem /lib/modules/`uname -r`/build/include -O2 -D__KERNEL__
-DMODULE
all: hello.o
If you have any idea please send an E-Mail: redzic_fadil@hotmail.com
thanks
_________________________________________________________________
Die ultimative Fan-Seite für den MSN Messenger http://www.ilovemessenger.de
Emoticons und Hintergründe kostenlos downloaden!
next reply other threads:[~2004-02-22 17:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-22 17:51 redzic fadil [this message]
2004-02-22 18:48 ` Larry Reaves
2004-02-22 20:54 ` No Subject Ludootje
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=BAY8-F58uoHWh7qdDZ700010d93@hotmail.com \
--to=redzic_fadil@hotmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.