I guess it would help if you could send a code snippet showing where you added the printk (and what you added), as well as the "unresolved symbol" errors. K. On Wed, 19 Jan 2005 12:42:17 +0530, Hari Krishna <right2hari@xxxxxxxxx> wrote: > 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/ > > -- There are things known and things unknown, in between lie the Doors -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/