Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-10-2004, 01:54 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Kernel source error installing OSS


I'm trying to install OSS for my soundcard and i'm getting that error:

=== Running /usr/lib/oss/bin/soundon ===
Install directory: /usr/lib/oss
Will use /usr/bin/ld for linking.
No /lib/modules/2.6.3-7mdk-i686-up-4GB/build/.config
Cannot use the kbuild method
/lib/modules/2.6.3-7mdk-i686-up-4GB/build/include/linux/version.h does not exist
/usr/src/linux-2.6.3-7mdk-i686-up-4GB/include/linux/version.h does not exist

**** Failed to compile the sndshield module ****

Cannot find the kernel include directory.
Set the KERNELINCLUDE variable and try again if you have the kernel
sources in a nonstandard place.
No sndshield module available.
Building the OSS/Linux module failed.

I'm using Mandrake 10 with kernel "linux-2.6.3-7mdk-i686-up-4GB" cause i've got 1Go ram
I've listed /usr/src :

[jeremy06@localhost src]$ ls
linux@ linux-2.6.3-15mdk/ linux-2.6.3-7mdk/ RPM/
[jeremy06@localhost src]$ cd linux-2.6.3-7mdk
[jeremy06@localhost linux-2.6.3-7mdk]$ ls
[jeremy06@localhost linux-2.6.3-7mdk]$ cd scripts
[jeremy06@localhost scripts]$ ls
kconfig/ lxdialog/
[jeremy06@localhost scripts]$

and /lib/modules :

[root@localhost modules]# ls
2.4.25-2mdk-i686-up-4GB/ 2.6.3-7mdk/ 2.6.3-7mdk-i686-up-4GB/
[root@localhost modules]# cd 2.6.3-7mdk-i686-up-4GB
[root@localhost 2.6.3-7mdk-i686-up-4GB]# ls
kernel/ modules.dep modules.inputmap modules.symbols
modules.alias modules.description modules.isapnpmap modules.usbmap
modules.ccwmap modules.ieee1394map modules.pcimap
[root@localhost 2.6.3-7mdk-i686-up-4GB]#

I can't find any "version.h" file

The sources for my kernel are installed

even in this source installation file there's no "/include/linux/version.h" or "/build/linux/version.h"

Any help greatly appreciated
Old 08-10-2004, 07:20 PM   #2
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 67
In Debian that file comes from the package named linux-kernel-headers perhaps it is similar for Mandrake.


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
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM
apt error, messed up after tried installing kernel-source-2.6.8 microsoft/linux Debian 1 06-17-2005 01:38 AM
Error installing nVidia-driver-missing kernel-source? anemic Debian 6 12-17-2004 12:52 PM
how can i help linux? / open source? / OSS? crm General 2 09-16-2004 12:51 PM
error alsa oss compatibility modules already in kernel jimdaworm Slackware 4 04-11-2004 05:41 AM

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration