Re: Unresolved symbol during insmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 
> > 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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux