LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2004, 10:28 PM   #1
Steve9999
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Unhappy Newbie needs help compiling an alsa sound driver


Hello all,

Just got a new computer, a Compaq Presario and installed Red Hat Linux on it. Everything was going perfect...

$ uname -a
$ Linux localhost.localdomain 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux

.... but No sound. Did some research and found out I needed the alsa-driver-1.0.2c.

OK, no problem there. Downloaded it and but when I ran configure, got this at the end of the output: checking for kernel version... The file /lib/modules/2.4.21-4.EL/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).

What flags with the configure script do I need? Where is the /usr/src/linux equivelent for Red Hat?

So far I've tried "--with-redhat=yes" and many more options... not good. And also editing the configure file to point to the /usr/include directory.

Any help would greatly be appreaciated.

Thanks,
Steve
 
Old 02-25-2004, 10:38 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
its still /usr/src/linux, you need to install the kernel sources RPM.
 
Old 02-25-2004, 11:00 PM   #3
Steve9999
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I copied all the source CDs in /usr/src/ linux. There are five directories: EULA, GPL, RPM-GPG-KEY, SRPMS and TRANS.TBL.
 
Old 02-25-2004, 11:12 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You actually need to install the RPM and it'll appear in that directory, not copying the source RPMs.
It should be in one of the installation CDs(not the source CDs), not exactly sure about Redhat Enterprise Linux but the kernel sources RPM should be called something like kernel-source-2.4.21-4.i386.rpm in one of the RPMS directory. Remove all the files you've copied from /usr/src/linux and install the rpm with
Code:
rpm -Uvh <name of the RPM>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error compiling alsa driver 1.0.9b on slackware 10.2 salviadud Slackware 9 11-14-2005 04:36 AM
'make' error compiling alsa driver rickh Debian 3 05-14-2005 12:28 AM
Using ALSA Sound Driver with XMMS? JockVSJock Slackware 18 01-04-2005 03:00 PM
Alsa 1.01 drivers compiling fine, but amixer can't find sound card CestusGW Linux - Hardware 1 02-09-2004 08:36 AM
one newbie question about Alsa driver captainstorm Linux - Newbie 1 10-15-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration