From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 20:36:16 2008 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 50FA216A420 for ; Fri, 15 Feb 2008 20:36:16 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (darklight.org.ru [IPv6:2001:470:1f09:aa::dead:c0de]) by mx1.freebsd.org (Postfix) with ESMTP id B541613C4CC for ; Fri, 15 Feb 2008 20:36:15 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@localhost [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id m1FKaD3W025665; Fri, 15 Feb 2008 23:36:13 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.2/8.14.2/Submit) id m1FKaDRM025664; Fri, 15 Feb 2008 23:36:13 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Fri, 15 Feb 2008 23:36:13 +0300 From: Yuri Pankov To: Mon Si Message-ID: <20080215203613.GA91072@darklight.org.ru> References: <20080215173504.145880@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080215173504.145880@gmx.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: buildkernel fails at mkdep sound 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: Fri, 15 Feb 2008 20:36:16 -0000 On Fri, Feb 15, 2008 at 06:35:04PM +0100, Mon Si wrote: > Hi, > > during kernel build (cvsupped half an hour ago, RELENG_7_0) I get the following error: > [root@host /usr/src]# make buildkernel KERNCONF=HOST > [... first part snipped ...] > -------------------------------------------------------------- > >>> stage 3.1: making dependencies > -------------------------------------------------------------- > [... part snipped ...] > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -march=pentium-m -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, > from /usr/src/sys/dev/sound/pci/ich.c:28: > /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory > In file included from /usr/src/sys/dev/sound/pci/ich.c:29: > /usr/src/sys/dev/sound/pcm/ac97.h:91:21: error: ac97_if.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Browsing the source on CVS I found that thes "_if.h"-files do not exist, but there are the corresponding files ending in "_if.m". > > Is this a typo? > > Thanks for clarification, > Simon You are probably using 'device snd_XXXXXX' without including 'device sound' in your config. HTH, Yuri