regarding kernel verion mismatch and unresolved symobls in network drivers

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

 



  dear kernel brothers,
                        i added one printk statement innetif_rx
function which is in net/core/dev.c  and i compiled by using gcc -D
__KERNEL__  -DMODULE -I/usr/src/linux-2.4.20-8/include -Wall -O2 dev.c

  it compiled fine but it is showing error kernel version mismath
dev.o is compiled for 2.4.20-8custom but this kernel is 2.4.20-8    
if insmod dev.o is typed
but if insmod -f dev.o is typed , it is showing other errors i.e
unresolved symbols in dev.o

   so please send reply and thanks in advance..............

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