Can't compile kernel with snd_RELENG_5_20051022_055.diff

Ales ales.rom at kabelnet.net
Sun Oct 30 09:55:00 PST 2005


Ariff Abdullah wrote:

>On Mon, 24 Oct 2005 21:08:19 +0200
>Ales <ales.rom at kabelnet.net> wrote:
>  
>
>>/usr/src/sys/dev/sound/pcm/sndstat.c: In function `sndstat_uninit':
>>/usr/src/sys/dev/sound/pcm/sndstat.c:364: error: `s' undeclared
>>(first  use in this function)
>>/usr/src/sys/dev/sound/pcm/sndstat.c:364: error: (Each undeclared 
>>identifier is reported only once
>>/usr/src/sys/dev/sound/pcm/sndstat.c:364: error: for each function
>>it  appears in.)
>>/usr/src/sys/dev/sound/pcm/sndstat.c: At top level:
>>/usr/src/sys/dev/sound/pcm/sndstat.c:371: warning: no previous
>>prototype  for 'sndstat_busy'
>>*** Error code 1
>>
>>Stop in /usr/obj/usr/src/sys/GENERIC.
>>*** Error code 1
>>
>>Stop in /usr/src.
>>*** Error code 1
>>
>>Stop in /usr/src.
>>
>>Can anyone help me please?
>>
>>    
>>
>
>Get the one with "RELENG_5_X" (note the _X) instead. You're using
>5.4-RELEASE-pSomething, if I'm not mistaken.
>
>--
>Ariff Abdullah
>MyBSD
>
>http://www.MyBSD.org.my (IPv6/IPv4)
>http://staff.MyBSD.org.my (IPv6/IPv4)
>http://tomoyo.MyBSD.org.my (IPv6/IPv4)
>
>  
>
Works great, thank you.

I have another audio related question. The problem is that I can't 
control master volume in KDE.  (KDE 3.4.0) Actually I can, but with pcm, 
not vol slider. Volume control in the system tray is not affecting the 
sound, because controls volume, not the pcm on this box. Kmix shows pcm, 
speaker, rec as output devices, other 5 are input devices. Is this right?

I hope, that this is not just KDE related problem? Any suggestions?

Ales

%uname -a
FreeBSD romcek.FreeBSD 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Tue Oct 
25 07:11:31 CEST 2005

%dmesg | grep pcm
pcm0: <VIA VT8237> port 0xc400-0xc4ff irq 22 at device 17.5 on pci0
pcm0: <C-Media Electronics CMI9761 AC97 Codec>
pcm0: <VIA DXS Enabled: DXS 4 / SGD 1 / REC 1>

%mixer
Mixer vol      is currently set to  60:60
Mixer pcm      is currently set to  45:45
Mixer speaker  is currently set to  41:41
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer rec      is currently set to   0:0
Mixer line1    is currently set to  75:75


More information about the freebsd-multimedia mailing list