Subject: Re: Problems building libkvm.old
To: Erik Bertelsen <erik@sockdev.uni-c.dk>
From: Michael L. Hitch <mhitch@lightning.oscs.montana.edu>
List: port-pmax
Date: 10/27/1996 11:03:48
On Oct 17,  2:53pm, Erik Bertelsen wrote:
> The problem is that mips/pte.h needes either MIPS1 or MIPS3 defined
> to pull in the right header file to really define pt_entry_t.

  A temporary workaround until the pte namespace collision is fixed would
be to include the mips3 version if MIPS3 is defined, otherwise include
the mips1 version.  The mips3 support needs more work and it's not
likely anyone needs to define MIPS3 unless they are working on mips3
support [which I would like to do if I can find the time].  The kernel
can't compile with both MIPS1 and MIPS3 yet, so this should be safe to
do for the time being.

#ifdef MIPS3
#include <mips/mips3_pte.h>
#else
#include <mips/mips1_pte.h>
#endif

Michael

-- 
Michael L. Hitch			INTERNET:  mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA