[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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.....
--
Regards,
Saifuddin,
saif@xxxxxxxxxxxxxxx
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/