Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2008 23:36:13 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Mon Si <mon.si@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: buildkernel fails at mkdep sound
Message-ID:  <20080215203613.GA91072@darklight.org.ru>
In-Reply-To: <20080215173504.145880@gmx.net>
References:  <20080215173504.145880@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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