Re: what this error means

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

 



On Fri, 2003-05-09 at 17:57, Hong Hsu wrote:
> When compiling a device driver, I got the error which said  the 
> /usr/src/linux/include/linux/config.h couldn't find linux/autoconf.h
> 
> However, the autoconf.h is there!    What could be the problem here?

you're using the glibc headers to compile kernel code, that's not going
to work.

Add -I/lib/modules/`uname -r`/build/include to your compiler flags to
point it to kerenl headers.

Attachment: signature.asc
Description: This is a digitally signed message part


[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