mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alisha Nigam <mail_to_alisha@yahoo.com>
To: arjanv@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: TCP/IP stack related prob.
Date: Fri, 11 Apr 2003 01:06:33 -0700 (PDT)	[thread overview]
Message-ID: <20030411080633.36206.qmail@web20106.mail.yahoo.com> (raw)
In-Reply-To: <1050047551.1415.4.camel@laptop.fenrus.com>

hi 
   thanks a lot it compiled. but while inserting
module
with insmod i am getting errors..
   
   mymodule.o was compiler for kernel version 2.4.9-9
while this kernel is version 2.4.18-14.
 
     i am running RedHat-8.0  and  i compile it
including the headers of current running kernel as
mentioned by you only. 
   
   WHAT COULD BE THE PROBLEM ??????

--- Arjan van de Ven <arjanv@redhat.com> wrote:
> On Fri, 2003-04-11 at 09:38, Alisha Nigam wrote:
> 
> >  then compile it 
> >   gcc -c -O -W -Wall -Wstrict-prototypes
> > -Wmissing-prototypes -DMODULE -D__KERNEL__
> -mymodule.o
> > mymodule.c 
> > 
> > 
> >    i am getting a bundle of errors ...... 
> > 
> > 
> > In file included from /usr/include/linux/fs.h:23,
> >                  from
> > /usr/include/linux/capability.h:17,
> >                  from
> /usr/include/linux/binfmts.h:5,
> >                  from
> /usr/include/linux/sched.h:9,
> >                  from
> /usr/include/linux/skbuff.h:19,
> >                  from p10.c:2:
> > /usr/include/linux/string.h:8:2: warning: #warning
> > Using kernel header in userland!
> 
> you are using glibc headers to compile a kernel....
> that's not going to
> work. Add -I/lib/modules/`uname -r`/build/include to
> the gcc commandline
> to use the headers of the currently running kernel..
> 
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

  reply	other threads:[~2003-04-11  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11  7:38 Alisha Nigam
2003-04-11  7:52 ` Arjan van de Ven
2003-04-11  8:06   ` Alisha Nigam [this message]
2003-04-11  8:08   ` Francis Galiegue
2003-04-11  8:34   ` Alisha Nigam

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=20030411080633.36206.qmail@web20106.mail.yahoo.com \
    --to=mail_to_alisha@yahoo.com \
    --cc=arjanv@redhat.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 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®