Subject: Re: How to build ps
To: Allen Briggs <port-mac68k@NetBSD.ORG>
From: Steven Sartorius <ssartori@cnj.digex.net>
List: port-mac68k
Date: 02/17/1997 12:55:47
Allen said:
>On Feb 02, 1997 at 06:28:44AM -0800, Paul Goyette wrote:
>> Did you cd to libkvm.old and do a make clean, make depend, make, and make
>> install?  That's the way it normally gets built.  (In other words,
>> libkvm.old is _not_ built in the libkvm directory at all.)
>
>Actually, the step before this one is to install the new include
>files...  libkvm must be compiled with the same header files that the
>kernel was compiled with.  Otherwise, re-compiling libkvm will be for
>naught.
>
>-allen
>
>-- 
>              Allen Briggs - end killing - briggs@macbsd.com
>
I grabbed the include tar from NetBSD-current and diff'ed that against my 
current /usr/include -- no real changes.  I also diff'ed the include 
files from .../arch/mac68k/include against /usr/include/machine and 
.../arch/m68k/include against /usr/include/m68k and made the necessary 
updates.  I then rebuilt ps with, unfortunately, the same negative 
result.  I'm starting to run out of ideas. 

 FYI, my machine is a C610 with full '040.  The kernal I'm building is 
essentially GENERIC with a few of the file system options tossed out 
(e.g. I have no interest in an MS-DOS file system).  The only hack I've 
introduced is a line in machdep.c  (originally suggested by Erik 
Bertelsen) that explicity tells the kernal where the internal video is.  

The kernal itself seems to run fine except when I shutdown -- then is 
hangs and I have to drop down into the debugger and call boot.

Thanks,

Steve