Linux - SoftwareThis 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.
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.
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.
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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)
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.