, "Colin Wood <ender@is.rice.edu>
From: Steven Sartorius <ssartori@cnj.digex.net>
List: port-mac68k
Date: 02/16/1997 02:10:59
>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.
>
>On Sat, 15 Feb 1997, Colin Wood wrote:
>
>> > I built a custom kernal today from sources current as of 2/14. Not
>> > surprisingly, ps (and w) complained when I ran them under the new kernal.
>> > So I went back to ftp.netbsd.org and grabbed what (I thought) were the
>> > current sources for ps (in /pub/NetBSD-current/src/bin -- I think). The
>> > new ps built without a problem but still wouldn't run. Any ideas what
>> > I'm doing wrong? Does it matter what options I've built the kernal
>> > with?? Any help would be appreciated.
>>
>> What kind of message do they give when they "don't run"?
>>
>> One possible fix is that these binaries are dynamically linked against
>> libkvm (although I thought that they weren't) in which case you need to
>> build a new libkvm as well.
Steve
>