Re: insmod

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

 



hi Karthi,
    i hope this will help, atleast it helped me ;-)
    u are getting unresolved symbols, becoz when u make ur module, ur
Makefile( or whatever ) is not able to find
defination of these symbols. This happens when u break a file ( especially
from drivers/ ) and try to compile
outside. There are a few dependencies which u r eluding. Put ur source in
the proper directory ( somewhere under drivers/ ) and make dependecies.

karthik wrote:

> Hi
>
> 1.       I compiled the 8139too.c with the version and include path.
>     But when i tried to insmod it gives
>
> unresolved symbol pci_map_single
> unresolved symbol ioremap
> unresolved symbol pci_unmap_single
>
> when i checked in /proc/ksyms i was able to find the symbol for ioremap
> but not for the other 2 function calls.
> can anyone let me know why this is happening ?
> do i have to recompile the kernel  again for the insmod to work with the
> functions ?
> I am using RH7.1 kernel 2.4.2
>
> 2. can i add my driver as an option to the menuconfig => network drivers
> if i want to recompile my new driver with the kernel ?
>
> Thanks in advance
> nk
>
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> IRC Channel:   irc.openprojects.net / #kernelnewbies
> Web Page:      http://www.kernelnewbies.org/
begin:vcard 
n:Sharma;Anuraag
tel;work:080-2241730 Extn 1316
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:anuraag.sharma@wipro.com
fn:Anuraag Sharma
end:vcard

[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