LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2004, 08:45 PM   #1
suprropmp
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
Trying to update alsa under 2.6.4


Well I just installed version 2.6.4 of the kernel and I am trying to upgrade the alsa driver but when I run ./configure I get this error:

checking for kernel version... The file /lib/modules/2.6.4-0-default/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).

Anybody know what to do about this?
 
Old 03-28-2004, 09:32 PM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
What distrobution did you use and how did you install the kernel? From source or a package? Which program are you actually trying to configure there? If it was a package, did you install the kernel source as well?

Do what it says:

> checking for kernel version... The file /lib/modules/2.6.4-0-default/build/include/linux/version.h does not exist

so does that file in actuality exist? Do you have the kernel source installed somewhere? Does it exist in a place other than the path above? You could try refreshing your slocate database with "su -c locate -u" and then using "locate version.h" to see if the file exists somewhere.

If it doesn't exist, then I guess you need to:

> Please, install the package with full kernel sources for your distribution

If it does exist, then modify your ./configure with:

> or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

where dir is the path to wherever the kernel source is on your system.
 
Old 03-29-2004, 01:37 AM   #3
suprropmp
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
First off thanks for the detailed response. I used the SUSE Linux 9.0.42 (i586) distro and I installed it from package (both the default and the source). The version.h file does not exist in the directory specified and I wasn't able to find it anywhere else. I don't even know why it would be installed anywhere else because I didn't change the install path for the kernel.

Any idea what "Please, install the package with full kernel sources for your distribution" actually means? I thought the rpms had everything I needed
 
Old 03-29-2004, 02:29 AM   #4
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Normally if you install a kernel as a precompiled package (eg an rpm) rather than compiling it from source yourself, you have to install two packages - one is the kernel binary, and the other is the source code for that kernel (usually a pretty large package). It looks like you've installed the kernel binary but not the correct kernel source code package for that kernel. You'll need to find and install the correct kernel source package in order to compile the alsa drivers and other software.
 
Old 03-29-2004, 03:12 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You are using SuSE 9.0, right? Then you may download and install precompiled alsa-packages from ftp://ftp.suse.com/pub/people/kraxel/ (or one of the mirror). For this procedure you will not need the kernel source.

Last edited by abisko00; 03-29-2004 at 03:13 AM.
 
  


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
No sound after update packages....(including update alsa) Mathsniper Debian 8 11-22-2006 04:43 AM
Alsa not working after 2.6.11 update Oholiab Linux - Hardware 8 06-23-2005 05:07 PM
ALSA not working after update untwisted Slackware 1 10-21-2004 02:31 AM
after alsa update, alsa must be loaded with insmod??? postal26 Slackware 1 05-24-2004 09:15 AM
alsa update how to? neenee Slackware 2 05-04-2003 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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