Subject: Re: Problems building libkvm.old
To: Erik Bertelsen <erik@sockdev.uni-c.dk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-pmax
Date: 10/17/1996 08:06:08
On Thu, 17 Oct 1996 14:53:41 +0200 (MET DST)
Erik Bertelsen <erik@sockdev.uni-c.dk> wrote:
> 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 ?
Actually, probably the best option is to fix the namespace collisions
between the two pte descriptions ... That way, mips1_pte.h and mips3_pte.h
can both be included unconditionally.
>
> 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)
>
>
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939