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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-08-2004, 12:29 PM
|
#1
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
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?
|
|
|
07-08-2004, 01:21 PM
|
#2
|
Member
Registered: Feb 2004
Distribution: Gentoo -- always from stage1
Posts: 85
Rep:
|
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.
|
|
|
07-08-2004, 01:27 PM
|
#3
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Original Poster
Rep:
|
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!
|
|
|
07-08-2004, 01:41 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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.
|
|
|
07-08-2004, 01:45 PM
|
#5
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Original Poster
Rep:
|
Thanks !
|
|
|
All times are GMT -5. The time now is 01:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|