Hi Tapas, On Fri, Aug 20, 2010 at 10:09 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote: > Ok I tried > gcc -Wall -DMODULE -D__KERNEL -DLINUX -I > /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c 2 > > Thanks for the help I proceeded a bit and got following errror now > let me know if I have to do some thing more You didn't add the second path I suggested (I realized that you need to remove the asm portion at the end, so also add -I /usr/src//usr/src/linux-headers-2.6.28-11/arch/x86/include -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ