LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-20-2003, 08:30 AM   #1
ItWillNeverWork
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Where is the Mandrake 9.0 Kernel?


Hi, this maybe a completley silly question to more experienced linux users out there but it is one that this idiot needs answering so i will ask it anyway.

I am trying to install a newer versio of the ALSA driver so i can use some audio applications. I have been following the instuctions of how to install them but I get several problems one of with is this following error:


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


So, my question is, where ARE my kernel sources? I would be thankfull if anyone could help.
 
Old 08-20-2003, 08:35 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Install the package "kernel-source" from Mandrake's CD.
regards,
hfawzy
 
Old 08-20-2003, 09:20 AM   #3
ItWillNeverWork
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
You're a gem, thanks for that. Theres one more question at this point however. There are two versions of the kernel source that I have an optio to install.

kernel-source-2.4.19-16

and

kernel-source-2.4.19-35

I assume that I have to use the version that is actually in use on my system and I also assume that this will be the newer version. But how do I double check what version is actually in use?
 
Old 08-20-2003, 09:23 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
The command:
uname -r



Cool
 
Old 08-20-2003, 09:58 AM   #5
ItWillNeverWork
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thats brilliant, thanks for the help.

I still have a few problems to get help with but I will start a new thread as they are slightly off topic.

Cheers
 
  


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
Mandrake 10.1, & 10.2 kernel and kernel-source match up. raxxal Mandriva 1 03-30-2005 11:57 PM
Mandrake rpm kernel vs. standard kernel lm317t Mandriva 7 01-06-2005 01:08 PM
Can the mandrake 10 2.4 kernel RPMs be used with mandrake 9.2 nitrambass Mandriva 1 06-03-2004 11:27 AM
Downgrading Mandrake 10 kernel to kernel-2.4.22.10mdk-1-1mdk windeath Mandriva 4 05-11-2004 08:21 PM
what's diff between this kernel and that kernel? using mandrake 9.0 sirpelidor Linux - Hardware 2 11-27-2003 11:37 AM

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

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