[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Ack!!! Modules!!!
- From: larrys lexis-nexis com (Larry Snyder)
- To: axp-list redhat com
- Subject: Re: Ack!!! Modules!!!
- Date: Mon, 2 Nov 1998 19:55:08 -0500 (EST)
I'm no c programmer, but I'd guess you're missing a few more header
files (like the one that defines printk...). A few more #includes
might be in order.
-ls-
Keith Baker <toaster@cybercom.net> wrote:
> can anyone tell me if this works?
>
> #define MODULE
> #include <linux/module.h>
>
> int init_module(void) {printk("<1>Hello World\n"); return 0;}
> void cleanup_module(void) {printk("<1>Goodbye\n");}
>
> Its from Oriellys book... I am attempting to write a kernel module and
> this was their first example.. it just gives me unresolved symbols for
> printk... Shouldn't this exist? What am I doing :-(
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]