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

Re: autoconf.h file missing Kernel-2.6.15?



Marco wrote:
Wackojacko ha scritto:
Marco wrote:
Hi all,
I have installed Debian Etch on my computer.

I have compiled my custom kernel with the linux-source-2.6.15 package, but
now when I install the HSFMODEM driver I get this error message:

WARNING: missing file
/lib/modules/2.6.15/build/include/linux/autoconf.h
The cause of this is usually a missing or unconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

What did I forget on my kernel configuration?

Could you help me?
Thanks

Marco

You need a symbolic link from the build directory to your source.

ln -s /usr/src/linux-source-2.6.15 /lib/modules/2.6.15/build
Hi Wackojacko,
I have already the symbolic link from the build directory to my linux source
# uname -r
2.6.15
# ls -lah /lib/modules/2.6.15/build
lrwxrwxrwx 1 root root 28 2006-05-17 22:31 /lib/modules/2.6.15/build -> /usr/src/linux-source-2.6.15

The problem is that in my linux-source-2.6.15 directory the autoconf.h file DON'T exist! :-(
# updatedb
# locate autoconf.h
/usr/include/asm-i486/autoconf.h
/usr/include/asm-x86_64/autoconf.h
/usr/include/linux/autoconf.h

should do the trick I think.

HTH

Wackojacko
Any idea?
Thanks
Marco

Strange I have 2.6.16 sources installed (debian package) and this file exists in /usr/src/linux-source-2.6.16/include/linux/autoconf.h.

Have you already built a kernel from the sources, and are you running that kernel at the moment?

Otherwise I'm not sure.

Sorry

Wackojacko



Reply to: