Subject: More header oddness info
To: None <current-users@NetBSD.ORG>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: current-users
Date: 07/06/1998 16:29:57
Hi again.

If I go into .../compile/MLB and "touch opt_compat_netbsd.h", I get a clean
kernel compile. If however, I have UVM and PMAP_NEW defined, I get thge
following:

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../..
/arch -I../../../.. -nostdinc -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDIAGNOSTIC -
DCOMPAT_NOMID -DCOMPAT_13 -DCOMPAT_43 -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../
../../ddb/db_command.c
cc1: warnings being treated as errors
../../../../ddb/db_command.c: In function `db_map_print_cmd':
../../../../ddb/db_command.c:309: warning: implicit declaration of function `uvm
_map_printit'
../../../../ddb/db_command.c: In function `db_object_print_cmd':
../../../../ddb/db_command.c:329: warning: implicit declaration of function `uvm
_object_printit'
../../../../ddb/db_command.c: In function `db_page_print_cmd':
../../../../ddb/db_command.c:349: warning: implicit declaration of function `uvm
_page_printit'
*** Error code 1

Stop.

Note that I haven't actually tried running the "clean" non-UVM kernel...
I'll try that later, when I go home. (I'm not into the idea of swapping
in a new kernel, rebooting, and hoping it all goes well, remotely!)

Note also that this is all with a freshly built config, with freshly installed
/usr/src/share/mk and freshly supped (from scratch) source.

-- 
Mason Loring Bliss...mason@acheron.middleboro.ma.us...www.webtrek.com/mason
"In the drowsy dark cave of the mind dreams build their nest with fragments
 dropped from day's caravan."--Rabindranath Tagore...awake ? sleep : dream;