buildkernel error with device snd_hda

2009-09-23 Thread Roy Stuivenberg
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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buildkernel error with device snd_hda

2009-09-23 Thread Ruben de Groot
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-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org