LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-22-2003, 12:00 PM   #1
pfizur
LQ Newbie
 
Registered: Feb 2003
Posts: 8

Rep: Reputation: 0
Question ALSA on Debian, Kernel Source is There Alsa dosent see it?


I've used ALSA on many different distros before, but this is my first time with Debian.

I've downloaded the alsa-drivers, lib, tools, and utils (all 0.9.8) files and extracted them.
I run ./configure in alsa-driver-0.9.8 and get the message I've seen other people get upon executing a google search (unfortunately, their posts lead me nowhere).

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.8
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).

Running it with --with-kernel=/usr/src/linux helps none either. The kernel is, I think, fully in /usr/src/linux. uname -a confirmed that I am running the kernel I thought I was, 2.4.18.686

The contents of the /usr/src/linux directory can be seen in this text file: duder.dnsalias.net/UsrSrcLinux.txt (Sorry for leaving on the http, it wont let me post otherwise)

I am trying to get a PCI Ens1371 running on a POS old dell. Why? Cause it's Saturday and I live in South Jersey - what else is there to do?
 
Old 11-22-2003, 12:16 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Hey there,
you need the kernel source for the version you're running, and in order for version.h to exist you need to have configured and built the kernel.

Håkan
 
Old 12-27-2003, 08:11 AM   #3
shack
Member
 
Registered: Dec 2003
Distribution: Debian Sid
Posts: 77

Rep: Reputation: 15
Quote:
Originally posted by hw-tph
Hey there,
you need the kernel source for the version you're running, and in order for version.h to exist you need to have configured and built the kernel.

Håkan
Dammit man, say something that helps!

Debian does not link or install the Linux source code to /usr/src/linux. Instead, it puts it in /usr/src/kernel-{source,headers}-`uname -r`/ (shelltalk). Make sure you have the kernel-headers-2.4.18-686 deb package installed and run the configure script with "--with-kernel=/usr/src/kernel-headers-2.4.18-686". It worked for me.

I did have a problem after running the configure script - the Makefile was unchanged. I didn't notice this on my notebook, but when it didn't work properly on my desktop, I discovered that it was referencing ISAPNP junk that I told configure to disable. The script creates Makefile.conf instead of Makefile. How do I use this?
___
shack
 
Old 12-27-2003, 08:46 AM   #4
shack
Member
 
Registered: Dec 2003
Distribution: Debian Sid
Posts: 77

Rep: Reputation: 15
I decided to try the install instructions for alsa-modules-source. They say that you only need to run "make install", not "make all & make install". That actually worked!
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
HOWTO:Patching new ALSA sources into kernel source for new sound cards detection? deepclutch Debian 1 07-17-2005 11:49 AM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 12:15 AM
alsa-driver-1.0.5.tar.gz or kernel alsa? shanenin Linux - Software 2 05-29-2004 01:47 PM
Debian Sid - ALSA and a stock 2.6.5 kernel UrbanSlayer Debian 8 04-18-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 PM.

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