LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-10-2006, 12:12 PM   #1
Agorex
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
kernel-source package


I am using Debian Etch on an ACER laptop and my audio card (Realtek ALC883) doesn`t work. I found at http//ubuntuforums.org/showthread.php?t=202555&page=5 a short how-to. The problem is when I try to ./configure the alsa-driver, it says:

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).


Now I must install kernel-source-2.6.17-2-686 package, but I don`t know from where I can get it. Any ideas?
 
Old 10-10-2006, 01:11 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
aptitude install linux-headers-`uname -r` for just the headers (which is normally all you need).

If you need the full source, aptitude install linux-source-2.6.17. After you untar the source in /usr/src, you'll have to ln -s /usr/src/linux-source-2.6.17 /usr/src/linux. then you need to cp /boot/config-2.6.17-2-686 /usr/src/linux/.config. Then cd /usr/src/linux and make oldconfig. Basically, what this will do is install the kernel source, create a symlink from /usr/src/linux to the kernel source, and then copy the configuration of your running kernel to the kernel tree.

Like I said, I would try just installing the headers first. That usually works.
 
  


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
do kernel headers come with kernel-source package? janos Linux - Kernel 1 05-30-2006 09:38 AM
finding right kernel-source package matthaeus SUSE / openSUSE 2 02-04-2006 10:19 AM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
kernel-source package houston1981 DamnSmallLinux 0 12-01-2004 04:50 AM
what is this kernel source package? vrdhananjay Linux - Newbie 3 09-22-2004 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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