LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-02-2003, 04:47 PM   #1
theteenager
LQ Newbie
 
Registered: Jul 2003
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
Kernal error while installing ALSA


Hi! I just installed Linux, and am currently trying to install ALSA to get my sound working. But everytime I try running the configure, I get the follow at my last few lines:

checking for directory with kernel source... /lib/modules/2.4.20-18.9/build
checking for kernel version... The file /lib/modules/2.4.20-18.9/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).

It seems that it is able to find where the kernal is, but I don't understand what it means by me having to "install the package with full kernal sources for your distribution". I even tried installing the Kernal Development package, and it still doesn't work. Can someone help?

Thanks
 
Old 07-02-2003, 07:57 PM   #2
netarchy
LQ Newbie
 
Registered: Jun 2003
Location: San Antonio, TX
Distribution: Mandrake/Slackware
Posts: 5

Rep: Reputation: 0
You need to have a copy of your kernel source code in /usr/src/ so that the alsa compilation stage can pull some includes out of it.
In your case you need the kernel source 2.4.20-18.9,
am I right in guessing this is the kernel that came stock with your distro? (eg, redhat, mandrake, gentoo, etc...) if so, you should be able to install the kernel source as a package from one of the cds.
 
Old 07-03-2003, 09:43 AM   #3
theteenager
LQ Newbie
 
Registered: Jul 2003
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
The kernal that came with my linux cd is 2.4.20-8, and then I updated it to 2.4.20-18.9. Included in the Kernal Development package would be the source to 2.4.20-8, so should I upgrade the source to 2.4.20-18.9 as well?
 
Old 07-03-2003, 06:29 PM   #4
netarchy
LQ Newbie
 
Registered: Jun 2003
Location: San Antonio, TX
Distribution: Mandrake/Slackware
Posts: 5

Rep: Reputation: 0
right, you need a copy of the kernel source code for the kernel you are using. Older kernel sources won't work.
 
  


Reply



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
installing alsa 1.0.6a ... weird error steefje Linux - Software 4 10-31-2004 07:53 AM
Error installing Alsa (Error copying pcm_lib.c) Doleo Linux - Software 1 02-25-2004 10:53 AM
Installing new Kernal TheRiddler Debian 5 01-28-2004 06:36 AM
How do i find the correct kernal-module for alsa instalation jah8102 Linux - Hardware 3 01-11-2004 12:02 PM
Error installing NVIDIA kernal driver Pablo32 Linux - Software 4 02-27-2003 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:32 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