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

ALSA configure problem



This problem has been mentioned before, but after lots of googling I still can't find the solution.

I have a (minimal) running Sid system now, with kernel 2.6.5. I want to compile ALSA 1.0.4 from source (don't ask me why), so I got all the tar.bz2 files. The libs compile flawlessly, the drivers not. When running ./configure I end up with....

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-1.0.4rc2
checking cross compile... checking for directory with kernel source... /lib/modules/2.6.5/build
checking for kernel version... The file /lib/modules/2.6.5/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

Kernel directory is /usr/src/linux-2.6.5 and is symlinked by /usr/src/linux.
The option --with-kernel=/usr/src/linux-2.6.5 doesn't help in solving the problem.
The file /lib/modules/2.6.5/build/include/linux/version.h doesn't exist.

Anyone with some hints or tips? Thanks.

Hans



Reply to: