LinuxQuestions.org
Help answer threads with 0 replies.
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 08-12-2006, 01:10 AM   #1
LinToWinWin
Member
 
Registered: Mar 2004
Posts: 40

Rep: Reputation: 15
error compiling alsamixer


Hi,
I have an AMD 64 bit PC with Gigabyte motherboard. Till now, I cant get my sound working. Neither alsa nor the nforce drivers were able to bring up the audio. Recently, I tried to compile the latest alsa driver. I get the following error while compiling alsa utils. Can anyone help me to solve it.


Quote:
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -MT alsamixer.o -MD -MP -MF ".deps/alsamixer.Tpo" -c -o alsamixer.o alsamixer.c; \
then mv -f ".deps/alsamixer.Tpo" ".deps/alsamixer.Po"; else rm -f ".deps/alsamixer.Tpo"; exit 1; fi
gcc -g -O2 -o alsamixer alsamixer.o -lncurses -lasound -lm -ldl -lpthread
alsamixer.o: In function `mixer_update_cbar':
/tmp/alsa/alsa-utils-1.0.12rc2/alsamixer/alsamixer.c:991: undefined reference to `snd_mixer_selem_get_playback_dB'
/tmp/alsa/alsa-utils-1.0.12rc2/alsamixer/alsamixer.c:992: undefined reference to `snd_mixer_selem_get_playback_dB'
/tmp/alsa/alsa-utils-1.0.12rc2/alsamixer/alsamixer.c:1012: undefined reference to `snd_mixer_selem_get_capture_dB'
/tmp/alsa/alsa-utils-1.0.12rc2/alsamixer/alsamixer.c:1013: undefined reference to `snd_mixer_selem_get_capture_dB'
I uninstalled the old library and tried again. But, no use on that... I am clueless of how to make it work.
 
Old 08-12-2006, 04:35 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Let's have the output of "/sbin/lspci -v"
 
Old 08-12-2006, 07:46 PM   #3
LinToWinWin
Member
 
Registered: Mar 2004
Posts: 40

Original Poster
Rep: Reputation: 15
The output of "lspci -v " :

Quote:
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: bus master, 66Mhz, fast devsel, latency 0
Capabilities: [44] #08 [01e0]
Capabilities: [e0] #08 [a800]

00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: 66Mhz, fast devsel

00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: 66Mhz, fast devsel

00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: 66Mhz, fast devsel

00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: bus master, 66Mhz, fast devsel, latency 0

00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: bus master, 66Mhz, fast devsel, latency 0
Capabilities: [44] #00 [00fe]
Capabilities: [fc] #00 [0000]

00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: 66Mhz, fast devsel

00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5000
Flags: 66Mhz, fast devsel

00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2) (prog-if 00 [VGA])
Subsystem: Giga-byte Technology: Unknown device d000
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 225
Memory at 00000000e2000000 (32-bit, non-prefetchable) [size=16M]
Memory at 00000000d0000000 (64-bit, prefetchable) [size=256M]
Memory at 00000000e5000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5001
Flags: bus master, 66Mhz, fast devsel, latency 0
Capabilities: [44] #08 [01e9]
Capabilities: [e0] #08 [a800]

00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
Subsystem: Giga-byte Technology: Unknown device 5001
Flags: bus master, 66Mhz, fast devsel, latency 0

00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
Subsystem: Giga-byte Technology: Unknown device 0264
Flags: 66Mhz, fast devsel, IRQ 10
I/O ports at 1c00 [size=64]
I/O ports at 1c80 [size=64]
Capabilities: [44] Power Management version 2

00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a2)
Subsystem: Giga-byte Technology: Unknown device 0264
Flags: 66Mhz, fast devsel

00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2) (prog-if 10 [OHCI])
Subsystem: Giga-byte Technology: Unknown device 5004
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 193
Memory at 00000000e7108000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2) (prog-if 20 [EHCI])
Subsystem: Giga-byte Technology: Unknown device 5004
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 201
Memory at 00000000e7104000 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] #0a [2098]
Capabilities: [80] Power Management version 2

00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology: Unknown device b000
Flags: bus master, 66Mhz, fast devsel, latency 0
I/O ports at f000 [size=16]
Capabilities: [44] Power Management version 2

00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (prog-if 85 [Master SecO PriO])
Subsystem: Giga-byte Technology: Unknown device b002
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 177
I/O ports at 09f0 [size=8]
I/O ports at 0bf0 [size=4]
I/O ports at 0970 [size=8]
I/O ports at 0b70 [size=4]
I/O ports at d800 [size=16]
Memory at 00000000e7107000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable-
Capabilities: [cc] #08 [a802]

00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (prog-if 85 [Master SecO PriO])
Subsystem: Giga-byte Technology: Unknown device b002
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 185
I/O ports at 09e0 [size=8]
I/O ports at 0be0 [size=4]
I/O ports at 0960 [size=8]
I/O ports at 0b60 [size=4]
I/O ports at c400 [size=16]
Memory at 00000000e7106000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable-
Capabilities: [cc] #08 [a802]

00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2) (prog-if 01 [Subtractive decode])
Flags: bus master, 66Mhz, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: e3000000-e4ffffff
Prefetchable memory behind bridge: e7000000-e70fffff
Capabilities: [b8] #0d [0000]
Capabilities: [8c] #08 [a800]

00:10.1 Class 0403: nVidia Corporation MCP51 High Definition Audio (rev a2)
Subsystem: Giga-byte Technology: Unknown device a102
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 177
Memory at 00000000e7100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [6c] #08 [a802]

00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
Subsystem: Giga-byte Technology: Unknown device e000
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
Memory at 00000000e7105000 (32-bit, non-prefetchable) [size=4K]
I/O ports at b000 [size=8]
Capabilities: [44] Power Management version 2

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] #08 [2101]

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Flags: fast devsel

01:06.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
Subsystem: Linksys: Unknown device 0574
Flags: bus master, medium devsel, latency 64, IRQ 225
I/O ports at a000 [size=256]
Memory at 00000000e4000000 (32-bit, non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [c0] Power Management version 2

01:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: LeadTek Research Inc.: Unknown device 6609
Flags: bus master, medium devsel, latency 32, IRQ 209
Memory at 00000000e7000000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

01:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: LeadTek Research Inc.: Unknown device 6609
Flags: bus master, medium devsel, latency 32, IRQ 209
Memory at 00000000e7001000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

01:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) (prog-if 10 [OHCI])
Subsystem: Giga-byte Technology GA-7VT600-1394 Motherboard
Flags: bus master, stepping, medium devsel, latency 32, IRQ 217
Memory at 00000000e4001000 (32-bit, non-prefetchable) [size=2K]
I/O ports at a400 [size=128]
Capabilities: [50] Power Management version 2
 
Old 08-13-2006, 12:45 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Here are a couple of web pages that relate to your hardware:

http://www.music.columbia.edu/piperm...ly/037526.html
http://blog.drinsama.de/erich/en/lin...01-going-amd64
 
  


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
problem compiling alsamixer LinToWinWin Linux - Hardware 2 05-10-2006 09:29 AM
i get an error ./term.c :95 error conflicting types of tpam when compiling bitchx eveningblush Programming 0 03-30-2006 06:46 AM
Error compiling php 5.1 and also a fantastico error arachn1d Linux - Software 0 02-19-2006 04:52 PM
alsamixer error tombaaaaa Linux - Newbie 1 07-23-2004 07:54 PM
Alsamixer errors sn_ctl_open error(Gentoo) Battousai Linux - Newbie 5 07-22-2004 03:18 PM

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

All times are GMT -5. The time now is 04:44 PM.

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