LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-29-2005, 10:05 PM   #1
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Alsa driver won't compile


I am trying to get sound working with ALSA.
I have a Sound Blaster Live 24bit card which should work with the CA0106 alsa driver. Note: this is not the same as Sound Blaster Live which uses a different driver.

So I downloaded the CVS package and unpacked into /usr/src/alsacvs
I made sure to install and update all of the packages that were needed or recommended.
I ran autoconf and then
./cvscompile --with-cards=ca0106

But I get this error at the end of the compilation output:

In file included from /usr/src/alsacvs/alsa-driver/acore/timer.c:23:
include/linux/delay.h:43: error: parse error before '(' token
include/linux/delay.h:43: error: parse error before '*' token
make[4]: *** [/usr/src/alsacvs/alsa-driver/acore/timer.o] Error 1
make[3]: *** [/usr/src/alsacvs/alsa-driver/acore] Error 2
make[2]: *** [_module_/usr/src/alsacvs/alsa-driver] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [compile] Error 2

What does it mean?
 
Old 01-29-2005, 10:16 PM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Forgot to mention.
I compiled the kernel with alsa as a module and nothing else to do with sound.

The directions that I have say that I need to turn on soundcore support. Other directions say to do "modinfo soundcore", and if the command returns that I have this module then I don't need to recompile the kernel. But when I run this command it says that I do not have the soundcore module. How do I get it? I have tried "modprobe soundcore" and "modprobe alsa" but it doesn't work.
 
Old 02-15-2005, 08:11 PM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
After much trial and error I finally got it working. I did it by following the directions found here

http://www.linuxquestions.org/questi...ck+10+S+Live+4

and here

http://www.desktop-linux.net/debkernel.htm

I compiled the kernel with sound card support built in.
ALSA, Sequencer support, oss mixer, oss pcm were compiled as modules
and NO OSS

Some other things in the kernel that might have been important (or might not)
Generic driver options:
select only drivers that don't need compile time firmware N
prevent firmware from being built N

Code maturity options:
prompt for development and/or incomplete drivers Y
select only drivers expected to compile cleanly N

Then I removed the alsa-base and alsa-utils using aptitude,
downloaded alsa-drivers, alsa-utils, alsa-tools, alsa-oss, and alsa-lib,
installed these alsa packages following directions mentioned above.

I don't know how much of that was necessary, but like I said it works now.
 
  


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
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 01:15 AM
How to compile new ALSA driver into old kernel? sandin Slackware 4 05-14-2005 06:06 AM
Can't compile Alsa starionwolf Slackware 23 02-18-2005 01:11 PM
Cannot compile alsa driver? It gives an error :( sys7em Slackware 24 10-11-2004 03:50 AM
alsa-driver-1.0.5.tar.gz or kernel alsa? shanenin Linux - Software 2 05-29-2004 02:47 PM


All times are GMT -5. The time now is 10:22 PM.

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