Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 16:15:00 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        ticso@cicely8.cicely.de (Bernd Walter)
Cc:        dmuran@tuad.org (D.A. Muran-de Assereto), freebsd-alpha@FreeBSD.ORG, jhay@FreeBSD.ORG (John Hay)
Subject:   Re: Make buildkernel fails
Message-ID:  <200203091415.g29EF1G79578@zibbi.icomtek.csir.co.za>
In-Reply-To: <20020309105735.GA8817@cicely8.cicely.de> from Bernd Walter at "Mar 9, 2002 11:57:35 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203091415.g29EF1G79578>