[snd_hda] buildkernel fails with latest patches on RELENG_6
Arnaud Boudou
skuld at goddess-gate.com
Mon May 28 16:14:35 UTC 2007
Hello,
When trying to build kernel with snd_hda patches on RELENG_6 sources, I
get build errors :
> awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/sound/pcm/channel_if.m -c ; cc -c -O -pipe -march=prescott -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -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 -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 -ffreestanding -Werror channel_if.c
> cc -c -O -pipe -march=prescott -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -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 -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 -ffreestanding -Werror /usr/src/sys/dev/sound/pcm/dsp.c
> /usr/src/sys/dev/sound/pcm/dsp.c: In function `dsp_clone':
> /usr/src/sys/dev/sound/pcm/dsp.c:1668: warning: 'devtype' might be used uninitialized in this function
> /usr/src/sys/dev/sound/pcm/dsp.c:1669: warning: 'devname' might be used uninitialized in this function
> /usr/src/sys/dev/sound/pcm/dsp.c:1669: warning: 'devsep' might be used uninitialized in this function
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/SKULD.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> root at skuld#
I tried to apply tips provided into README file (reverse patch, remove
files and get a clean source tree), but I still get the same build
error.
I don't know if it's useful in this case, but I'll provided the needed
informations :
> root at skuld# uname -a
> FreeBSD skuld 6.2-STABLE FreeBSD 6.2-STABLE #2: Sat May 26 11:20:16 CEST 2007 root at skuld:/usr/obj/usr/src/sys/SKULD i386
Regards
--
Arnaud Boudou
http://goddess-gate.com/dc2/index.php/fr (français)
http://goddess-gate.com/dc2/index.php/en (anglais)
More information about the freebsd-multimedia
mailing list