Subject: Re: NetBSD - 1.3
To: None <jonb@metronet.com, phil@cs.wwu.edu>
From: Phil Budne <budd@cs.bu.edu>
List: port-pc532
Date: 10/27/1997 11:12:49
	From: Jon Buller <jonb@metronet.com>

	I was hoping someone could either supply a snapshot,

I was going to try over the weekend but was seeing really bad stuff.
Maybe it's libc, or perhaps it's my local kernel hacks!

	or give
	me a few hints about the problems with the scn driver not
	having TRUE and FALSE defined,

This one was fixed in the CVS repository

	db_machdep.c including a file
	which wanted vm/lock.h which doesn't exist, and this:

remove the include of vm/lock.k from db_machdep.h

	cc  -O2 -msb -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-format -Werror -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DDDB -DKTRACE -DACCOUNTING -DLKM -DCOMPAT_12 -DCOMPAT_43 -DFFS -DNULLFS -DUNION -DMFS -DNFS -DCD9660 -DFDESC -DKERNFS -DPROCFS -DSETUIDSCRIPTS -DFIFO -DNFSSERVER -DGATEWAY -DINET -DPPP_BSDCOMP -DPPP_DEFLATE -DNS381 -DMAXUSERS=8 -D_KERNEL  -c ../../../../arch/pc532/pc532/machdep.c
	In file included from ../../../../arch/pc532/pc532/machdep.c:69:
	../../../../sys/sysctl.h:202: field `e_vm' has incomplete type
	*** Error code 1

	Stop.

move the include of sysctl.h to AFTER the includes of files from vm/

Also in trap.c, replace the several vm/ includes with vm/vm.h


The libc tweaks needed to get close to building
(I think I still got errors in glob13);

machine/profile.h (/sys/arch/pc532/include/profile.h);
	needs __P prototype for "mcount"

Also needing __P prototypes;
	lib/libc/arch/ns32k/gen/__main.c
	lib/libc/arch/ns32k/gen/flt_rounds.c