Subject: Re: build failure: pmap
To: Steve Bellovin <>
From: Hisashi T Fujinaka <>
List: current-users
Date: 01/29/2004 14:05:47
On Thu, 29 Jan 2004, Steve Bellovin wrote:

> #   compile  pmap/pmap.o
> /usr/tools/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror    -nostdinc -isystem /usr/netbsd/usr/include  -c    /usr/src/usr.bin/pmap/pmap.c
> /usr/src/usr.bin/pmap/pmap.c: In function `dump_vm_map_entry_regular':
> /usr/src/usr.bin/pmap/pmap.c:326: error: `UVM_MAP_STATIC' undeclared (first use in this function)
> /usr/src/usr.bin/pmap/pmap.c:326: error: (Each undeclared identifier is reported only once
> /usr/src/usr.bin/pmap/pmap.c:326: error: for each function it appears in.)
> /usr/src/usr.bin/pmap/pmap.c:327: error: `UVM_MAP_KMEM' undeclared (first use in this function)
> *** Failed target:  pmap.o
> *** Failed command: /usr/tools/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -nostdinc -isystem /usr/netbsd/usr/include -c /usr/src/usr.bin/pmap/pmap.c
> *** Error code 1
> Stop.
> nbmake: stopped in /usr/src/usr.bin/pmap
> This is on i386 with up-to-the-second source.

You missed my message about cd usr.bin/pmap && make clean && etc, but
now that I did that and tried a build, it stops. I had to actually clean
and then make includes && make dependall in that directory before a
build would complete.

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte