LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 0
Kernel source error installing OSS


HI

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
scripts/
[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
(kernel-2.6.3-7mdk-i686-up-4GB-2.6.3.mdk-1-1mdk)

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, 06:20 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

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


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


All times are GMT -5. The time now is 03:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration