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.....
 
-- 
Regards,
Saifuddin,
saif@odysseytec.com.


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