'hello world' module
Quoted 5 lines · Robert Hancock
Quoted 4 lines · Nick Warne
2.4.31, GCC 3.4.4
Build like:
Quoted 7 lines
Quoted 2 lines
gcc -D__KERNEL__ -I/usr/src/linux/include -DMODULE -Wall -O2 -c
hello.c-o hello.oThat compilation method will not work on 2.6. You have to use the kernel makefiles to build the module. See:
I see. Sorry for the bum steer; I haven't messed about with 2.6.x much in development - I am still [trying to learn] learning 2.4.x.
How do you guys keep up with it all?
Great link, thanks.
Nick
Signature · 2 lines
"When you're chewing on life's gristle, Don't grumble, Give a whistle..."
Quoted 5 lines
I see. Sorry for the bum steer; I haven't messed about with 2.6.x much in development - I am still [trying to learn] learning 2.4.x.
How do you guys keep up with it all?
Either you have the "Wrote The Book" or better capability (sourceforge.net term), or you start all over from scratch - dismiss 2.4 and start with 2.6.
Jan Engelhardt
Signature · 2 lines
| Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen, | Am Fassberg, 37077 Goettingen, www.gwdg.de