From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28628 invoked from network); 3 Nov 1998 01:08:20 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 3 Nov 1998 01:08:20 -0000 Received: from lexis-nexis.com (mgate2.lxnx.com [138.12.4.45]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA25566 for ; Mon, 2 Nov 1998 19:55:40 -0500 Received: from ra.lexis-nexis.com by lexis-nexis.com (8.8.8+Sun/8.8.8) with SMTP id TAA15264 for ; Mon, 2 Nov 1998 19:55:09 -0500 (EST) Received: by ra.lexis-nexis.com (SMI-8.6/SMI-SVR4) id TAA26067; Mon, 2 Nov 1998 19:55:09 -0500 From: larrys@lexis-nexis.com (Larry Snyder) Message-Id: <199811030055.TAA26067@ra.lexis-nexis.com> Date: Mon, 2 Nov 1998 19:55:08 -0500 (EST) To: axp-list@redhat.com Subject: Re: Ack!!! Modules!!! In-Reply-To: X-Mailer: Ishmail 1.3.2-970721-sol MIME-Version: 1.0 Content-Type: text/plain 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 wrote: > can anyone tell me if this works? > > #define MODULE > #include > > 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