Subject: port-pmax/3985: libkvm problems with pmax
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: netbsd-bugs
Date: 08/14/1997 12:38:41
>Number:         3985
>Category:       port-pmax
>Synopsis:       libkvm problems with pmax
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 13 19:50:02 1997
>Last-Modified:
>Originator:     Simon Burge
>Organization:
	IBM Global Services
>Release:        NetBSD-current 970814
>Environment:
System: NetBSD vlad 1.2G NetBSD 1.2G (MONA) #0: Fri Aug 8 23:36:18 EST 1997 simonb@vlad:/usr/src/sys/arch/pmax/compile/MONA pmax


>Description:

        libkvm.old doesn't build after the latest round of kvm changes
        that went through yesterday.  The following occurs part way
        through a 'make build':

cc -O -DLIBC_SCCS -I- -I/usr/src/lib/libkvm.old -Dpmax -fPIC -DPIC -DABICALLS -Werror  -c /usr/src/lib/libkvm.old/../libkvm/kvm_proc.c
/usr/src/lib/libkvm.old/../libkvm/kvm_proc.c: In function `kvm_argv':
/usr/src/lib/libkvm.old/../libkvm/kvm_proc.c:609: structure has no member named `min_uva'
/usr/src/lib/libkvm.old/../libkvm/kvm_proc.c:609: structure has no member named `max_uva'
/usr/src/lib/libkvm.old/../libkvm/kvm_proc.c: In function `kvm_doargv':
/usr/src/lib/libkvm.old/../libkvm/kvm_proc.c:771: structure has no member named `usrstack'
*** Error code 1

Stop.


>How-To-Repeat:
	On a pmax: "cd /usr/src/lib/libkvm.old ; make".
>Fix:
        Don't know.  In src/lib/libkvm, the kvm_mips.c file wasn't
        updated with the latest kvm changes, so that didn't help.  I
        guess the proper fix is to fix the pmax port to use libkvm.
>Audit-Trail:
>Unformatted: