Date: Fri, 5 Nov 2004 15:42:30 +0900 From: Pyun YongHyeon <yongari@kt-is.co.kr> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-sparc64@freebsd.org Subject: Re: Audio on Ultra 1? Message-ID: <20041105064230.GA16038@kt-is.co.kr> In-Reply-To: <20041105015406.3247a32c.torfinn.ingolfsen@broadpark.no> References: <20041031135102.2f15b595.torfinn.ingolfsen@broadpark.no> <20041104052600.GF11500@kt-is.co.kr> <20041104113255.139691c9.torfinn.ingolfsen@broadpark.no> <20041104105211.GD12606@kt-is.co.kr> <20041105015406.3247a32c.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 05, 2004 at 01:54:06AM +0100, Torfinn Ingolfsen wrote: > On Thu, 4 Nov 2004 19:52:11 +0900 > Pyun YongHyeon <yongari@kt-is.co.kr> wrote: > > > Did you patch against fresh src tree? > > Yes, I cvsup'ed (RELENG_5) before I patched. > > > Strange to me. Would you try the following? > > Ok, I'm using your new patch now (the one regenerated for RELENG_5). > Let's see... No, the same problem as before: > > In file included from ../../../dev/sound/pcm/sound.h:93, > from ../../../dev/sound/sbus/cs4231.c:53: > ../../../dev/sound/pcm/channel.h:69:24: channel_if.h: No such file or > directory../../../dev/sound/sbus/cs4231.c:60:22: mixer_if.h: No such > file or directory mkdep: compile failed > *** Error code 1 > That's really strange to me. The file channel_if.h and mixer_if.h should be created by dependency. If you look the output of "make buildkernel" carefully you may have noticed the following one. ... -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- ... awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/sound/pcm/ac97_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/sound/pcm/channel_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/sound/pcm/feeder_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/sound/pcm/mixer_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -c .... At that time the channel_if.h and mixer_if.h is created by the awk script. Would you try the following? #cd /usr/src/sys/sparc64/conf #config YOUR_CONFIG #cd ../compile/YOUR_CONFIG #make depend Then check whether the channel_if.h and mixer_if.h exist. If there exist the two file, your build environments seems to be corrupted. You may want to recover this. #make cleandir && make cleandir #cd /usr/obj #rm -rf * #cd /usr/src If there exist two files there, I have no idea. In that case, I have to reinstall RELENG_5 on my system. It'll take a couple of days since it's too slow in order to build everything from source. > What am i doing wrong? > I cvsuped from cvsup.no.freebsd.org, could that be it? I don't know. Ah, another possibility. Did you have the following two options in your kernel? options sound options snd_audiocs or if you prefer to play with kernel modules, remove above two options and use kldload(8). #kldload snd_audiocs -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041105064230.GA16038>