RE: regarding kernel verion mismatch and unresolved symobls in network drivers

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

 



I feel you must have must have reconfigured the kernel and the
version.h in the linux source would show 2.4.20-8custom.
You may add the 2.4.20-8custom kernel image in lilo.conf and reboot
it from that. 
insmod would be successful.
or else
before doing "make"
 change the version.h to point to 2.4.20-8 instead of
2.4.20-8custom
Not sure if this helps.

Thanks and Regards
Deepak

-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of Hari Krishna
Sent: Tuesday, January 18, 2005 11:12 PM
To: geetha@xxxxxxxxxxx
Cc: amithk@xxxxxxxxxxx; hiliks@xxxxxxxxxxx; uansari@xxxxxxxxx;
ragh_avan@xxxxxxxxxxxxxx; j.a.k.mouw@xxxxxxxxxxxxxx;
kernelnewbies@xxxxxxxxxxxx
Subject: regarding kernel verion mismatch and unresolved symobls in
network drivers


  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/


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