From owner-freebsd-alpha Sat Mar 9 6:16: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id E537537B400; Sat, 9 Mar 2002 06:15:58 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g29EF1G79578; Sat, 9 Mar 2002 16:15:01 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200203091415.g29EF1G79578@zibbi.icomtek.csir.co.za> Subject: Re: Make buildkernel fails In-Reply-To: <20020309105735.GA8817@cicely8.cicely.de> from Bernd Walter at "Mar 9, 2002 11:57:35 am" To: ticso@cicely8.cicely.de (Bernd Walter) Date: Sat, 9 Mar 2002 16:15:00 +0200 (SAT) Cc: dmuran@tuad.org (D.A. Muran-de Assereto), freebsd-alpha@FreeBSD.ORG, jhay@FreeBSD.ORG (John Hay) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > I cvsup'ed with the intent of picking up the openssl fix, and now my kernel > > builds fail in the make depend phase: > > > > /usr/src/sys/isa/sio.c:44: puc.h: No such file or directory > > mkdep: compile failed > > *** Error code 1 > > > > I've cvsup'ed twi ce since getting the error in the hopes that the file had > > been commmitted. I deleted /usr/obj and did the whole thing over. I deleted > > sio.c and cvsup'ed a new copy...still the same error. > > > > What's puc.h and where do I get it? > > PUC stands for PCI "Universal" Communications. > These are PCI based serial interfaces. > > I asume you are running -stable? Oops, that is something that I missed. On -current this isn't a problem because sio.c is split up and the sio-puc glue is in sio_puc.c and as such it doesn't even get compiled on an Alpha. On -stable sio is not split up and all the interface glue is in there. But because the puc device is only defined in files.i386 and files.pc98, the Alphas don't get a puc.h in the compile directory. Can you try adding an ifdef __i386__ around the include puc.h? Something like this in sys/isa/sio.c: #ifdef __i386__ #include "puc.h" #endif Alpha people is that the best way to do it? In theory puc should be able to compile and run on Alphas except that Alpha is missing bus_space_subregion() and bus_space_unmap(). I'm not subscribed to -alpha, so please keep me on the distribution list. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message