--- Dheeraj Reddy <dheeraj@hill.cs.ucr.edu> wrote: > Hello . > I am trying to compile the below code to make a > lkm. but when i do an insmod i get a bunch of errors You didn't tell what errors you get. The 'Unresolved symbol ntohl' error is fixed by including <asm/byteorder.h> in your source. -Ravi. __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/