Re: [Alsa-user] compile problems with ens1370
Brought to you by:
perex
From: Hamish M. <ha...@cl...> - 2005-07-20 23:17:07
|
On Wed, Jul 20, 2005 at 04:13:24PM +0200, Clemens Ladisch wrote: > Hamish Moffatt wrote: > > On Wed, Jul 20, 2005 at 10:01:27AM +0200, Clemens Ladisch wrote: > > > We do if we don't find linux/version.h. Apparently, Debian adds only > > > this file to the kernel source, but not the others. I'll see if I can > > > add more check, probably for linux/autoconf.h. > > > > linux/version.h is in the package linux-kernel-headers, which is a > > standard package in Debian (ie systems will have it installed by > > default). > > But from where would Debian users get autoconf.h for the current > kernel? (configure now checks for this, too.) An autoconf.h is provided by linux-kernel-headers in /usr/include/linux/autoconf.h. It is only provided for use with glibc, rather than intending to match the running kernel. version.h and autoconf.h for pre-packaged kernels are available in the matching package kernel-headers-<version> for each. Then the headers are installed in /usr/src/kernel-headers-<version>. <version> is always the same as `uname -r`. Hence, > apt-get install kernel-headers-`uname -r` ... > ls -l /usr/src/kernel-headers-`uname -r`/include/linux/autoconf.h -rw-r--r-- 1 root root 67094 2005-06-01 09:00 /usr/src/kernel-headers-2.6.8-11-amd64-k8/include/linux/autoconf.h There is also a symlink, /lib/modules/`uname -r`/build -> /usr/src/kernel-headers-`uname -r` which I gather is something of a standard now (?). Hamish -- Hamish Moffatt VK3SB <ha...@de...> <ha...@cl...> |