From owner-freebsd-sparc64@FreeBSD.ORG Fri Nov 5 06:43:16 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2935816A4CE for ; Fri, 5 Nov 2004 06:43:16 +0000 (GMT) Received: from ns.kt-is.co.kr (ns.kt-is.co.kr [211.218.149.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id B66ED43D1D for ; Fri, 5 Nov 2004 06:43:15 +0000 (GMT) (envelope-from yongari@kt-is.co.kr) Received: from michelle.kt-is.co.kr (ns2.kt-is.co.kr [220.76.118.193]) (authenticated bits=128) by ns.kt-is.co.kr (8.12.10/8.12.10) with ESMTP id iA56goAh024735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 5 Nov 2004 15:42:50 +0900 (KST) Received: from michelle.kt-is.co.kr (localhost.kt-is.co.kr [127.0.0.1]) by michelle.kt-is.co.kr (8.12.10/8.12.10) with ESMTP id iA56gVM2016128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Nov 2004 15:42:31 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Received: (from yongari@localhost) by michelle.kt-is.co.kr (8.12.10/8.12.10/Submit) id iA56gUVi016127; Fri, 5 Nov 2004 15:42:30 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Date: Fri, 5 Nov 2004 15:42:30 +0900 From: Pyun YongHyeon To: Torfinn Ingolfsen Message-ID: <20041105064230.GA16038@kt-is.co.kr> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041105015406.3247a32c.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.4.1i X-Filter-Version: 1.11a (ns.kt-is.co.kr) cc: freebsd-sparc64@freebsd.org Subject: Re: Audio on Ultra 1? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: yongari@kt-is.co.kr List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 06:43:16 -0000 On Fri, Nov 05, 2004 at 01:54:06AM +0100, Torfinn Ingolfsen wrote: > On Thu, 4 Nov 2004 19:52:11 +0900 > Pyun YongHyeon 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