LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-25-2005, 12:35 PM   #1
kite10linux
Member
 
Registered: Jul 2005
Posts: 51

Rep: Reputation: 15
ALSA sound - unresolved symbols


Red Hat 9 - new user

Trying to install sound card module (driver) wint insmod, and getting many unresolved symbols. Running 'alsamixer' or 'amixer' gives an error: mixer attach default error, no such file or directory. (or function snd_ctl_open failed for default, no such file or directory). Able to play sound from wav file, able to record and play using old code, but not with Krec. Trying to get record to work with applications with both mic and line-in. To do this, trying to get ALSA installed.

Using /lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_period_elapsed_Ra37852c0
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_get_short_name
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_set_rate
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_tune_hardware
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_format_physical_width_Ra
8edfa41
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_malloc_pages_Re09ac6
4c
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol gameport_unregister_port_R70daab
68
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_mpu401_uart_interrupt_Rff6d4
aa3
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_set_ops_Ra4749142
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_hw_constraint_list_R6d0e c517
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_free_pages_R1e0fd8fd
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_sgbuf_ops_page_Rb73aab40
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_suspend_all_R5e8c93de
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_suspend
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_ioctl_R93246df6
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_limit_hw_rates_Rde0aa442
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_mpu401_uart_new_R301acb8a
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_mixer
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_new_R814f36c7
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol gameport_register_port_R98692e58
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_resume
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_update_bits
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_lib_preallocate_pages_fo r_all_R7f43aff8
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_pcm_hw_constraint_integer_Rc af64b11
/lib/modules/2.4.20-8/kernel/sound/pci/snd-via82xx.o: unresolved symbol snd_ac97_bus


Is someone familiar with these unresolved symbols and knows what needs to be done? Does another module need to be loaded first? Please help.
 
Old 07-26-2005, 09:59 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you need
alsa-lib
alsa-utils
alsa-oss
 
Old 07-27-2005, 01:59 AM   #3
kite10linux
Member
 
Registered: Jul 2005
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks.

I received the unresolved symbols after running 'alsamixer' and also after having installed alsa-lib, alsa-utils, and alsa-driver. I can try to install alsa-oss if it is not on the system. How can I look up what these symbols correspond to, or is there an internet site that might have them? Are some of these symbols from alsa-lib or alsa-utils? Because, I installed those beforehand without incident or error.
 
Old 07-27-2005, 02:22 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you've installed a custom kernel, you'll need to compile the alsa stuff yourself. you can check what libraries something needs, ( or what's missing ), by running ldd on it.
such as:
/usr/lib# ldd libalsatoss.so
libasound.so.2 => /usr/lib/libasound.so.2 (0x40020000)
libm.so.6 => //lib/libm.so.6 (0x400ff000)
libdl.so.2 => //lib/libdl.so.2 (0x40122000)
libpthread.so.0 => //lib/libpthread.so.0 (0x40125000)
libc.so.6 => //lib/libc.so.6 (0x40178000)
//lib/ld-linux.so.2 (0x80000000)
 
Old 07-27-2005, 03:02 AM   #5
kite10linux
Member
 
Registered: Jul 2005
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks.

How can I see what libraries I have installed and what versions they are?
And, can I search at the same time to filter out just particular libraries, such as with | grep libalsa or something like that?

Is there a shell command to cross reference what unresolved symbol corresponds to what library? That way, I can look up the unresolved symbol to see what library it is from.

I would have installed RPMs for the ALSA, but the alsa web site only have source tarballs, and I did not want to spend more time looking for RPMs. I might have found some RPMs. Would that have solved this type of problem? If so, how or why would it have?
 
Old 07-27-2005, 03:10 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
this will do one of the things you want.
find / -type f -name "*alsa*" -print -exec ldd {} \;

your best bet with the symbols is googleing them with what you're having trouble with.
 
  


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
Unresolved symbols Chris McGee Slackware 3 12-28-2004 08:22 AM
Problems installing ALSA - unresolved symbols Abdul Linux - Software 1 01-19-2004 08:49 PM
unresolved symbols lord_clarence Red Hat 1 10-23-2003 09:54 PM
ALSA unresolved symbols StonedZealot Slackware 2 05-02-2003 09:51 PM
alsa and unresolved symbols ava Linux - Software 2 04-07-2003 03:39 AM

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

All times are GMT -5. The time now is 10:52 AM.

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