Subject: 19990131 -current build failed (libkvm)
To: None <port-sparc@netbsd.org>
From: Erik E. Fair <fair@clock.org>
List: port-sparc
Date: 01/31/1999 21:31:40
I blasted my /usr/obj today, and tried to rebuild from zero. This was the
result for libkvm:

all ===> libkvm
[...]
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Werror
 -DLIBC_SCCS -nostdinc -idirafter /altroot/usr/include -DUVM -c
/usr/src/lib/lib
kvm/kvm_sparc.c
/usr/src/lib/libkvm/kvm_sparc.c: In function `_kvm_initvtop':
/usr/src/lib/libkvm/kvm_sparc.c:111: `CPU_SUN4U' undeclared (first use in
this f
unction)
/usr/src/lib/libkvm/kvm_sparc.c:111: (Each undeclared identifier is
reported onl
y once
/usr/src/lib/libkvm/kvm_sparc.c:111: for each function it appears in.)
/usr/src/lib/libkvm/kvm_sparc.c: In function `_kvm_kvatop':
/usr/src/lib/libkvm/kvm_sparc.c:152: `CPU_SUN4U' undeclared (first use in
this f
unction)
cc1: warnings being treated as errors
/usr/src/lib/libkvm/kvm_sparc.c:154: warning: implicit declaration of
function `
_kvm_kvatop4u'
/usr/src/lib/libkvm/kvm_sparc.c: At top level:
/usr/src/lib/libkvm/kvm_sparc.c:273: warning: function declaration isn't a
proto
type
/usr/src/lib/libkvm/kvm_sparc.c: In function `_kvm_kvatop4u':
/usr/src/lib/libkvm/kvm_sparc.c:284: structure has no member named `kphys'
/usr/src/lib/libkvm/kvm_sparc.c:296: `MEG' undeclared (first use in this
functio
n)
/usr/src/lib/libkvm/kvm_sparc.c:306: warning: assignment makes pointer from
inte
ger without a cast
/usr/src/lib/libkvm/kvm_sparc.c:307: warning: implicit declaration of
function `
va_to_seg'
/usr/src/lib/libkvm/kvm_sparc.c:307: warning: passing arg 2 of
`_kvm_pa2off' mak
es integer from pointer without a cast
/usr/src/lib/libkvm/kvm_sparc.c:307: warning: cast to pointer from integer
of di
fferent size
/usr/src/lib/libkvm/kvm_sparc.c:308: warning: implicit declaration of
function `
va_to_pte'
/usr/src/lib/libkvm/kvm_sparc.c:309: `TLB_V' undeclared (first use in this
funct
ion)
/usr/src/lib/libkvm/kvm_sparc.c:310: `TLB_PA_MASK' undeclared (first use in
this
 function)
/usr/src/lib/libkvm/kvm_sparc.c:310: `pgofset' undeclared (first use in
this fun
ction)
/usr/src/lib/libkvm/kvm_sparc.c:310: syntax error before `;'
/usr/src/lib/libkvm/kvm_sparc.c:322: syntax error before `_kvm_pa2off'
/usr/src/lib/libkvm/kvm_sparc.c:342: warning: comparison between pointer
and int
eger
/usr/src/lib/libkvm/kvm_sparc.c:342: warning: comparison between pointer
and int
eger
/usr/src/lib/libkvm/kvm_sparc.c:351: warning: return makes integer from
pointer
without a cast
/usr/src/lib/libkvm/kvm_sparc.c:359: syntax error before `int'
/usr/src/lib/libkvm/kvm_sparc.c:373: syntax error at end of input
*** Error code 1

Stop.