LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-08-2006, 04:48 PM   #1
steveOh
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10/current version
Posts: 3

Rep: Reputation: 0
why can't i find my kernel?


hi guys,

i wanted to install a driver for my wlan card.
the installation progress doesn't find version.h in /lib/modules/2.6.13-15.7-smp/build .

if [ "$LINUX_SRC" = "" ] ; then
LINUX_SRC=/lib/modules/$CUR_RELEASE/build
fi

ask_str "Linux source directory" LINUX_SRC

if [ ! -f $LINUX_SRC/include/linux/version.h ] ; then
$ECHO "Linux source tree $LINUX_SRC is incomplete or missing!"
if [ -d $LINUX_SRC/include/linux ] ; then
$ECHO " The kernel header files are present, but not " \
"the full source code."
fi
$ECHO " See the HOWTO for a list of FTP sites for current" \
"kernel sources."
fail

but in this directory no /include/linux/version.h can be found.

my question is: where is this thing? i can't find my kernel header!

I'm using Suse 10.1 i think!

Last edited by steveOh; 01-08-2006 at 05:03 PM.
 
Old 01-08-2006, 05:21 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Hi and welcome to LQ You need your kernel-sources. Which distro are you using so that we can better tell you where to find it?
 
Old 01-08-2006, 05:25 PM   #3
steveOh
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10/current version
Posts: 3

Original Poster
Rep: Reputation: 0
well, thanks

i'm using novells suse 10.0 with the latest available kernel which should be 2.6.13-15.7 i think.

thanks in advance
 
Old 01-08-2006, 05:29 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
In that case, open YAST and go to Software and then install the kernel-sources package for your kernel version.
 
Old 01-08-2006, 05:35 PM   #5
steveOh
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10/current version
Posts: 3

Original Poster
Rep: Reputation: 0
seems to be working,

thanks for your help!
 
Old 01-20-2006, 09:11 PM   #6
IndianaTux
LQ Newbie
 
Registered: Jan 2006
Location: Jasper, Indiana, USA
Distribution: Linux Mint 16 'Petra' Cinnamon
Posts: 26

Rep: Reputation: 15
Can't find kernel source, can't install in YaST

I am running SUSE 9.1, and I don't have the kernel source. If I do a search in YaST for 'kernel-source', no results are found in any of my repositories or the CD. Any suggestions?
 
Old 01-21-2006, 07:45 PM   #7
dana340
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
Check these guys out..

http://www.kernel.org/pub/linux/kernel/

They have your source, you just neek to know what version your kernel is
 
  


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
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
ISOLinux from Debian etch cannot find kernel image (but kernel is in its place)! Why? *Dark Dragon* Debian 4 11-07-2005 09:54 PM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Where to find a Kernel/Kernel Patch with support for stack sizes >8K Valhalla Linux - Software 2 05-24-2005 05:39 PM
Where is can I find kernel ? rokga Linux - Newbie 4 09-21-2003 09:36 AM

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

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