[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unresolved symbol during insmod
Can you send your .config file?
Regards
Mohanlal
----- Original Message -----
From: "Karthik M" <k_mohanas@xxxxxxxxx>
To: <kernelnewbies@xxxxxxxxxxxx>
Sent: Thursday, May 06, 2004 10:05 PM
Subject: Re: Unresolved symbol during insmod
>
> > >
> > > The command that i used to compile the module was:
> > >
> > > ---snip---
> > > gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c mod.c
> > > -I/lib/modules/`uname -r`/build/include/
> > > ---snap---
> >
> > Try using -O2 while compiling. It should solve your
> > problem.....
> >
> > --
>
> That did not solve the problem .. infact it gave more
> warnings than before :) still not able to insert the
> module ..same unresolved symbols error
>
>
>
> > Hi,
> > Try in the complie option with the following path
> -I
> > /usr/src/linux-2.4.22/include
> > Rgds
> > Anand
>
>
> I had already tried this before ..but with this
> command it gives the message that is present in
> /usr/include/linux/version.h. I dont know why it does
> not take the path "/usr/src/linux-2.4.22/include" that
> i pass to it, but instead it gives the big error
> message present in /usr/include/linux/version.h
>
>
> Still stuck with the same error ..thanx for all the
> help
>
>
> Karthik
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/