Re: Newbie: Unresolved symbol

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

 



Hi Kiran,

You are right, that was the issue. Thanks a lot for the link.

I had managed to resolve the issue a little after I sent the mail, forgot to mention the same to the list here.

Thanks,
Vishwas

--------- Original Message ---------

DATE: Sun, 8 Feb 2004 19:41:59 
From: Kiran Kumar <immidi_kiran@yahoo.com>
To: vishwas.manral@lycos.com
Cc: kernelnewbies@nl.linux.org

>--- vishwas manral <vishwas.manral@lycos.com> wrote:
>> I had built and inserted my kernel module, I wanted
>> to debug and I made some changes. Now after removing
>> the old module I am not able to insert the new
>> module at all.
>> 
>> I am inserting the module in the development machine
>> itself so no version mismatches. I tried adding and
>> removing other modules and that works fine. 
>> 
>> The below seem to be all the symbols I am using in
>> my module. Any hint what I may have accidently
>> removed or deleted or what I am missing would be
>> helpful.
>> 
>> krn_mod.o: unresolved symbol pci_write_config_byte
>> krn_mod.o: unresolved symbol
>> __generic_copy_from_user
>> krn_mod.o: unresolved symbol kmalloc
>> krn_mod.o: unresolved symbol unregister_chrdev
>> krn_mod.o: unresolved symbol register_chrdev
>> krn_mod.o: unresolved symbol pci_read_config_byte
>> krn_mod.o: unresolved symbol pcibios_present
>> krn_mod.o: unresolved symbol pci_read_config_dword
>> krn_mod.o: unresolved symbol __ioremap
>> krn_mod.o: unresolved symbol pci_read_config_word
>> krn_mod.o: unresolved symbol kfree
>> krn_mod.o: unresolved symbol pci_write_config_dword
>> krn_mod.o: unresolved symbol pci_find_device
>> krn_mod.o: unresolved symbol pci_write_config_word
>> krn_mod.o: unresolved symbol printk
>> krn_mod.o: unresolved symbol __generic_copy_to_user
>
>  What kind of symbols does /proc/ksyms have?  Is it
>something like kmalloc_R12345678? If this is the case
>it is a problem because of modversions. Compile your
>code with 
>-include include/linux/modversions.h
>This link has more details.
>http://docs.mandragor.org/files/Operating_systems/Linux/Linux_Device_Drivers_2nd_Edition_en/ch11.html#t3
>
>
>=====
>Regards,
>Kiran Kumar Immidi
>



____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

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