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

Re: ALSA configure problem



Hi,

On Sat, 17 Apr 2004, Hans wrote:

> 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....
>
<snip>
> 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


--

English written by Dutch people is easily recognized by the improper use of 'In principle ...'

The software box said 'Requires Windows 95 or better', so I installed Linux.

Als Pacman in de jaren '80 de kinderen zo had be?nvloed zouden nu veel jongeren rondrennen
in donkere zalen terwijl ze pillen eten en luisteren naar monotone electronische muziek.
(Kristian Wilson, Nintendo, 1989)




Reply to: