Subject: Problems building libkvm.old
To: None <port-pmax@NetBSD.ORG>
From: Erik Bertelsen <erik@sockdev.uni-c.dk>
List: port-pmax
Date: 10/17/1996 14:53:41
The new configuration options kills building of libkvm.old for pmax'es
as shown below. My suggested fix is to add -DMIPS1 to the compiler
call, but this information should really be pulled from the same
source as the similar definition (options directive) for the
kernel build process.

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.

Any better ideas ?

regards
Erik Bertelsen

cc -O -DLIBC_SCCS -I- -I/usr/src/lib/libkvm.old -Dpmax -Werror  -c
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:74: syntax error before
`pt_entry_t'
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c: In function `_kvm_initvtop':
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:109: structure has no member
named `Sysmap'
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:109: structure has no member
named `Sysmap'
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:109: structure has no member
named `Sysmap'
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c: In function `_kvm_kvatop':
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:142: structure has no member
named `Sysmap'
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:153: structure has no member
named `Sysmap'
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:161: `PG_V' undeclared (first
use this function)
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:161: (Each undeclared
identifier is reported only once
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:161: for each function it
appears in.)
/usr/src/lib/libkvm.old/../libkvm/kvm_mips.c:163: `PG_FRAME' undeclared
(first use this function)