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:27 PM, Dave Hylands <dhylands@xxxxxxxxx> wrote:
> 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?
>

My bad. Try this:

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

-- 
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