Hi Tapas, On Fri, Aug 20, 2010 at 10:24 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote: > Ya you were right I tried the following this time > gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/ -I > /usr/src/linux-headers-2.6.28-11/include/linux/ -c sample2.c Almost there. why did you modify your original path? Try this: gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/ -I /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c You may still be missing additional paths. -- 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