Hi Tapas, On Fri, Aug 20, 2010 at 10:35 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote: > Ok I did > > gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/ -I > /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c I tried a few other variants and couldn't get them to work either. The only thing I've been able to get is by following the first 4 lessons in the crash course I mentioned earlier. http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming -- 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