Subject: Re: Error while doing a "make build"
To: None <jonathan@DSG.Stanford.EDU>
From: maximum entropy <>
List: port-pmax
Date: 06/19/1997 12:46:37
>Date: Tue, 17 Jun 1997 19:02:58 -0700
>From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
>I tried to do a "make build" of -current supped on June 16.
>the mips1/mips3 changes.  Now those are in, `make build' (note: no'-k')
>should work.  (mm, famous last words :)

Here's the result of a make build, supped on June 18:

===> usr.bin/systat
cc -O -I/usr/src/usr.bin/systat/../../usr.bin/vmstat  -Werror  -c vmstat.c
In file included from systat.h:38,
                 from vmstat.c:68:
/usr/include/curses.h:82: syntax error before `37'
/usr/include/curses.h:84: syntax error before `26'
*** Error code 1


Investigation with cc -E shows that the macros PC, K0, and K1 are
being defined elsewhere as 37, 26, and 27 respectively.

Investigation with grep points to /usr/include/mips/reg.h or
/usr/include/mips/regnum.h as the culprit.


entropy -- it's not just a good idea, it's the second law.

This message may refer to a product containing software developed by
Christopher G. Demetriou for the NetBSD Project.