From owner-freebsd-alpha Sat Mar 9 10:37:34 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from tusala.tuad.org (dsl-65-185-104-145.telocity.com [65.185.104.145]) by hub.freebsd.org (Postfix) with ESMTP id 266E437B404 for ; Sat, 9 Mar 2002 10:37:31 -0800 (PST) Received: from [192.168.1.2] (flaumel.internal.tuad.org [192.168.1.2]) by tusala.tuad.org (8.11.6/8.11.5) with ESMTP id g29IavS46066; Sat, 9 Mar 2002 13:36:57 -0500 (EST) (envelope-from dmuran@tuad.org) User-Agent: Microsoft-Entourage/10.0.0.1309 Date: Sat, 09 Mar 2002 13:36:57 -0500 Subject: Re: Make buildkernel fails From: "D.A. Muran-de Assereto" To: John Hay , Bernd Walter Cc: Message-ID: In-Reply-To: <200203091415.g29EF1G79578@zibbi.icomtek.csir.co.za> 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 Yes, sorry, it's -STABLE. The ifdef did it just fine. > > 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