LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 07-08-2004, 11:29 AM   #1
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
alsa driver compilation error


Code:
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:30: ac97_local.h: No such file or directory
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:31: ac97_id.h: No such file or directory
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c: In function `snd_ac97_proc_read_main':
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:79: warning: implicit declaration of function `snd_ac97_get_name'
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:121: `snd_ac97_stereo_enhancements' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:121: (Each undeclared identifier is reported only once
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:121: for each function it appears in.)
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c: In function `snd_ac97_proc_read':
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:296: `AC97_ID_AD1881' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c: In function `snd_ac97_proc_regs_read':
/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.c:359: `AC97_ID_AD1881' undeclared (first use in this function)
make[4]: *** [/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97/ac97_proc.o] Error 1
make[3]: *** [/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci/ac97] Error 2
make[2]: *** [/usr/src/alsa/alsa-driver-1.0.5a/kbuild/../pci] Error 2
make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.5a/kbuild] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7'
make: *** [compile] Error 2
How can I solve this error? I've searched with google and this error turned up no results. With make install following I got some missing directories, those turned up a few results saying it should have been fixed in version 1.0.2 of alsa. I have version 1.0.5a. I have a ac97 chipset soundcard. So what's the problem?
 
Old 07-08-2004, 12:21 PM   #2
davidbalt
Member
 
Registered: Feb 2004
Distribution: Gentoo -- always from stage1
Posts: 85

Rep: Reputation: 15
Sounds like you need to find a version of ALSA that is:

1) correct for your distribution
2) no corrupted (check the md5 signature against the file you have)

I dont' know what kind of Kernel you are running, but I have an AC97 that works "out of the box" without any hassle, and has since 2.4.2.

You might want to try reconfiguring your kernel to support that model of soundcard. If you don't already know how, there are lots of pages on kernel.org about doing just that.
 
Old 07-08-2004, 12:27 PM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by davidbalt
Sounds like you need to find a version of ALSA that is:

1) correct for your distribution
2) no corrupted (check the md5 signature against the file you have)
1) I thought the idea of using source was to make sure it would run on all distributions. Oh well I'll try the debian packages later
2) Not the cause cause I've downloaded that file a couple of times and it always gave this error

Quote:

I dont' know what kind of Kernel you are running, but I have an AC97 that works "out of the box" without any hassle, and has since 2.4.2.

You might want to try reconfiguring your kernel to support that model of soundcard. If you don't already know how, there are lots of pages on kernel.org about doing just that.
kernel 2.6.7. So I only have to add the viaxxx driver and it'll work? thanks for the help!
 
Old 07-08-2004, 12:41 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Try these options
Device Drivers --->
Sound --->
<*> Sound card support
Advanced Linux Sound Architecture --->
<*> Advanced Linux Sound Architecture
<*> Sequencer support
<*> OSS Mixer API
<*> OSS PCM (digital audio) API[*] OSS Sequencer API
PCI devices --->
<*> VIA 82C686A/B, 8233 South Bridge

Say no to everything else in the sound section, OSS menu or whatever and then recompile the kernel. Good luck.
 
Old 07-08-2004, 12:45 PM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Thanks !
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation error with alsa-lib package prem0 Red Hat 2 12-09-2004 03:40 PM
emerge alsa error during compilation, emu1Ok1 kalimdor Linux - Software 4 07-30-2003 07:22 AM
Sound: Alsa driver compilation Blek Linux - Hardware 3 05-18-2003 04:07 PM
ALSA driver compilation Blek Linux - Hardware 0 05-12-2003 10:27 AM
alsa driver error wincrk Linux - Hardware 5 03-22-2003 12:45 AM


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