Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 13:56:57 +0200
From:      Roy Stuivenberg <roys1012@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   buildkernel error with device snd_hda
Message-ID:  <1253707017.23265.6.camel@bsd1012.roycs.nl>

next in thread | raw e-mail | index | archive | help
Hello,

I get this error when I try to make buildkernel, with device snd_hda for
my sound.
When I load it as module in rc.conf it works fine, but I'd rather
compile it in the kernel.
[FreeBSD-7.2-stable]

This is my error :

hdac.o(.data+0x2e8): In function `hdac_audio_undo_trace':
/usr/src/sys/dev/sound/pci/hda/hdac.c:5011: undefined reference to
`pcm_devclass'
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC-ROYCS.
*** Error code 1

And before that there is :  


> hdac.o(.data+0x200): In function `hdac_channel_setformat':
> /usr/src/sys/dev/sound/pci/hda/hdac.c:3359: undefined reference to `channel_init_desc'
> hdac.o(.data+0x208):/usr/src/sys/dev/sound/pci/hda/hdac.c:3360: undefined reference to `channel_setformat_desc'
> hdac.o(.data+0x210):/usr/src/sys/dev/sound/pci/hda/hdac.c:3363: undefined reference to `channel_setspeed_desc'
> hdac.o(.data+0x218):/usr/src/sys/dev/sound/pci/hda/hdac.c:3364: undefined reference to `channel_setblocksize_desc'
> hdac.o(.data+0x220):/usr/src/sys/dev/sound/pci/hda/hdac.c:3364: undefined reference to `channel_setfragments_desc'
> hdac.o(.data+0x228):/usr/src/sys/dev/sound/pci/hda/hdac.c:3365: undefined reference to `channel_trigger_desc'
> hdac.o(.data+0x230):/usr/src/sys/dev/sound/pci/hda/hdac.c:3365: undefined reference to `channel_getptr_desc'
> hdac.o(.data+0x238):/usr/src/sys/dev/sound/pci/hda/hdac.c:3363: undefined reference to `channel_getcaps_desc'
> hdac.o(.data+0x2e8): In function `hdac_audio_undo_trace':

Does anyone know what would solve this?


Regards,

Roy Stuivenberg.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1253707017.23265.6.camel>