Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 14:10:46 +0200
From:      Ruben de Groot <mail25@bzerk.org>
To:        Roy Stuivenberg <roys1012@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: buildkernel error with device snd_hda
Message-ID:  <20090923121046.GA8843@ei.bzerk.org>
In-Reply-To: <1253707017.23265.6.camel@bsd1012.roycs.nl>
References:  <1253707017.23265.6.camel@bsd1012.roycs.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 23, 2009 at 01:56:57PM +0200, Roy Stuivenberg typed:
> 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'

Do you have "device sound" ?

Ruben


> *** 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.
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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