I am trying to install two kernel monte, a kernel module which loads/overlays with another bzImage in linux.
When I make the source and insmod the module, I got unresolved symbols.
version: monte-0.3.0
Errors shown:
Waning:kenel-module version mismatch kmonte.o was compiled for kernel version 2.4.18-custom while this kernel is version 2.4.18-14 kmonte.o:unresolved symbol sys_call_table kmonte.o:unresolved symbol pcibios_present kmonte.o:unresolved symbol pcibios_write_config_word kmonte.o:unresolved symbol high_memory kmonte.o:unresolved symbol strncpy_from_user kmonte.o:unresolved symbol free_pages kmonte.o:unresolved symbol pci_root_busses kmonte.o:unresolved symbol pcibios_read_config_word kmonte.o:unresolved symbol printk kmonte.o:unresolved symbol get_zeroed_page kmonte.o: Hint:you are trying to load a module without GPL compatible license and it has unresolved symbols. Contact the module suppliers for assistance, only they can help you.
Then included GPL by MODULE_LICENSE("GPL")
I searched goole for such a problem.But couldnot found useful pointers
I thought it was problem with my kernel and recompiled it.Eventhen a forceble insmod results the above errors.(Except the Hint )
Thanks for the help in advance, Regards, Ravi
--
The views presented in this mail are completely mine. The company is not responsible for whatsoever. ------------------------------------------------------------------------ Ravi Kumar CH Rendezvous On Chip (i) Pvt Ltd Hyderabad, India Ph: +91-40-2335 1214 / 1175 / 1184
ROC home page <http://www.roc.co.in>
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/