Subject: Re: How to build ps
To: Steven Sartorius <ssartori@cnj.digex.net>
From: Colin Wood <ender@is.rice.edu>
List: port-mac68k
Date: 02/16/1997 12:06:08
> >Paul said:
> >Colin is correct - I just checked the Makefile for ps, and ps is
> >dynamically linked with libm and libkvm.
> >
> >So, you'll need to make a new libkvm - but since this is the Mac68K port,
> >you really need to make libkvm.old!!!
> 
> I tried this with no luck.  I got the sources for both libkvm and 
> libkvm.old and built a new libkvm with the Mac specific files in .old.  I 
> installed this new version in /usr/lib and then rebuilt ps -- it still 
> comes up with 'proc size mismatch'.  
> 
> You mentioned that ps is 'dynamically' linked with libkvm; the build I've 
> done is (as far as I can tell) statically linked to libkvm.a.  The new 
> 'make', which I had to build and install in order to compile the new 
> kernal, seems to default to static linking.  I have no idea how to get it 
> to use the shareable version of libkvm.

Doh!  Hmmm...maybe someone on netbsd-current would know the answer to 
this one (unless you simply need to delete you kvm database, i.e. 
/var/db/kvm_netbsd.db, and then do a kvm_mkdb).

Later.

-- 
Colin Wood                                      ender@is.rice.edu
Consultant                                        Rice University
Information Technology Services                       Houston, TX