Re: linux/module.h does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux