From owner-freebsd-questions@FreeBSD.ORG Wed Sep 23 11:57:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F8EB1065698 for ; Wed, 23 Sep 2009 11:57:19 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 313858FC28 for ; Wed, 23 Sep 2009 11:57:18 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so147479eyf.9 for ; Wed, 23 Sep 2009 04:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=CuPFDypgNPP44hcHbVa2W1mMEpuP1i6AI+hf614R1Vc=; b=fGEUu57Vb9UEOIyWZd8VrxWMvqMMYRBm+CLzr4mDeqOZUXzCqGQTIiEJerFtSQIjJB OsgxOsrmUbRHAoD0+PKojinykZjMp71Grsy3VIGlWrVbRhTSgCkoRsVs+epIO7a0hrXh Nqlu9d1vXvofvvDnY/f2NFUI/vOFejFIy0eQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=L53XIwuvZgVcqzptyKnBuz8BKCU+ILYvLTrU436Y2HPmF9SGBepMTGKShRwVH2j1mC 8lYvKavvHsVkH9R2+XelDiWuRkIShSkj4bJafWDCRnXqh4s5QTfG6c0BLoFzE1vJ0Znx oj95D8jPzSkhOT9MTXUyxYOFGy3qNXW4iNmfo= Received: by 10.211.160.14 with SMTP id m14mr6006637ebo.30.1253707038171; Wed, 23 Sep 2009 04:57:18 -0700 (PDT) Received: from ?192.168.1.125? (ip193-123-210-87.adsl2.static.versatel.nl [87.210.123.193]) by mx.google.com with ESMTPS id 7sm9961eyb.8.2009.09.23.04.57.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Sep 2009 04:57:16 -0700 (PDT) From: Roy Stuivenberg To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 23 Sep 2009 13:56:57 +0200 Message-Id: <1253707017.23265.6.camel@bsd1012.roycs.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: buildkernel error with device snd_hda X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2009 11:57:19 -0000 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.