Hi,Is this new for kernel 2.6? I indeed solved it by running make modules, then make modules_install in the kernel source directory. I used make-kpkg for compiling the kernel and all the modules that were compiled with the kernel were installed and worked. I compiled ALSA on a Woody box with a 2.4.18 kernel and didn't have this problem. Never had to to a make modules; make modules_install.
On Sat, 17 Apr 2004, Hans wrote:
<snip>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 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
usually when you install your kernel, some source files are installed in /lib/modules/2.6.5/ . Normally this happens when you do a 'make modules_install' after the kernel has been compiled. I don't know how you installed your kernel, but version.h definitely should exist there.
Note that /usr/src/linux is something different than /lib/modules/2.6.5/, because the latter is (always) your current kernel.
Greetz, Sebastiaan
But thank anyway, as I have ALSA installed now.
Hans
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]