buildkernel fails at mkdep sound
Yuri Pankov
yuri.pankov at gmail.com
Fri Feb 15 20:36:16 UTC 2008
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 at 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
More information about the freebsd-questions
mailing list