Subject: error building sh during make build
To: None <current-users@NetBSD.ORG>
From: Kurt Schreiner <ks@fred.ub.Uni-Mainz.DE>
List: current-users
Date: 04/17/1998 13:49:35
hi,

just got this one:

cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -DSHELL -I. -I/usr/src/bin/sh -c arith.c
cc1: warnings being treated as errors
arith.y:66: warning: function declaration isn't a prototype
arith.y: In function `arith':
arith.y:74: warning: implicit declaration of function `arith_lex_reset'
arith.y: At top level:
arith.y:86: warning: function declaration isn't a prototype
arith.tab.c: In function `yyparse':
arith.tab.c:455: warning: implicit declaration of function `yylex'
*** Error code 1

Stop.

this is on a i386 running current w/ sources supped yesterday after
the sup server update. /etc/mk.conf looks like this:
UVM=yes
PMAP_NEW=yes
YHEADER=yes
USE_EGCS=yes

what am i doing wrong?

-kurt