From alsa-user-owner@alsa.jcu.cz  Fri Jan  8 08:37:10 1999
Received: from nurock.kek.jp (root@nurock.kek.jp [130.87.218.140])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id IAA30772
	for <alsa-user@alsa.jcu.cz>; Fri, 8 Jan 1999 08:35:44 +0100
Received: from nurock.kek.jp (really [127.0.0.1]) by nurock.kek.jp
	via in.smtpd with esmtp (ident sharkey using rfc1413)
	id <m0zyWS8-000TL6C@nurock.kek.jp> (Debian Smail3.2.0.101)
	for <alsa-user@alsa.jcu.cz>; Fri, 8 Jan 1999 16:35:28 +0900 (JST) 
Message-Id: <m0zyWS8-000TL6C@nurock.kek.jp>
To: alsa-user@alsa.jcu.cz
cc: henrik.andersson@data.vattenfall.se
From: sharkey@ale.physics.sunysb.edu
Subject: Re: Compiling problems 
In-reply-to: Your message of "Fri, 08 Jan 1999 08:00:27 +0100."
             <D92552F78A72D2119A5200609709CB2B0348DC@EPOST2> 
Date: Fri, 08 Jan 1999 16:35:24 +0900
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

> Hi, 
> 
> Im trying to compile alsa-driver-0.1.4

That is a very old version.  Please consider upgrading.

> on my Redhat Linux 5.2 system
> with a Gravis Ultrasound Max card. I run into problems when I 
> run ./configure, it starts and goes through some things but stops when it 
> checks for kernel version and cant find a file named:
> 
> /usr/src/linux/Makefile 
> 
> I wonder if someone can tell med what this file does and 
> how I get it into my system. Has it something to do with my
> Redhat system or can I create it myself ??

In order to compile a kernel module you *must* have a complete copy of the
linux kernel source code.  This code is usually installed in /usr/src/linux.

If you do not have a copy of your kernel code installed, you may get a
copy from ftp.kernel.org.  If you have the kernel code in another directory,
you may configure ALSA with:

configure --with-kernel=<directory where your source code is>

such as:

configure --with-kernel=/usr/local/src/linux

or something like that.

Eric

