Problem building alsa

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
Subject: Problem building alsa
Vaughn Treude wrote:
> Hello all:
> Quick question - probably I've missed something obvious. I'm trying to build
> the alsa drivers (version 1.01) on a machine running Red Hat 8. (It's a Sony
> notebook, the sound has never worked under Linux, though it works in Windows.
> This new alsa is supposed to handle my SoundMax driver hardware.) The
> library portion built OK, but the "configure" file under the driver directory
> is looking for a file called /usr/src/linux/include/linux/version.h. I
> didn't have the kernel sources on this machine, so I got the CD and installed
> the file kernel-2.4.18-14.src.rpm, then unpacked it as the "linux" directory.
> For some reason there's no version.h file under linux/include/linux, so the
> configure script still doesn't run (yes, I redirected it to
> /usr/redhat/SOURCES/linux, which is the actual place RH puts it.) I suppose
> I need to find a different SRPM to install but I don't have a clue which one.
> Any suggestions? Thanks!


You probably have a /usr/src/linux-2.4.18 directory, or something to
that effect. Make a symbolic link called linux to that directory. As root:

ln -s /usr/src/linux-2.4.18 /usr/src/linux

Check your /usr/src directory to see the correct link target if it is
not linux-2.4.18.

Then, you should be set!

Alan