LinuxQuestions.org
Help answer threads with 0 replies.
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-22-2010, 09:17 PM   #1
j9678
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Rep: Reputation: 0
/usr/src/linux missing !!!


I suppose there should be some files inside /usr/src/

Today, I found that there's no audio output from my Linux PC.
Then I decide to re-install the sound driver by execute
Code:
./configure --with-cards=intel8x0
And it show me this at the end:
Code:
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... The file /usr/src/linux/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).
I go to /usr/src/ and found there's nothing inside. How can it happen !?
 
Old 01-22-2010, 10:02 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Try (using either apt-get or aptitude):
Code:
aptitude install linux-source-$(uname -r)
 
Old 01-22-2010, 10:03 PM   #3
j9678
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 0
problem fixed

don't know why the source file located at a different place.

I just make a symbolic link to that directory

thanks for reading my post
 
  


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
WARNING: Symbol version dump /usr/src/linux-2.6.25/Module.symvers is missing gauravholey Linux - Kernel 2 06-21-2009 01:28 AM
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. Mr_Shameless *BSD 4 05-16-2008 09:43 AM
/usr/src/linux? krackerroot Slackware 6 10-26-2003 03:31 PM
/usr/src/linux missing sanjiv Mandriva 11 10-10-2003 01:03 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM


All times are GMT -5. The time now is 03: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration