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