Subject: Re: csh build error
To: None <current-users@NetBSD.ORG>
From: Christos Zoulas <>
List: current-users
Date: 08/02/1997 14:58:37
In article <> (Paul Goyette) writes:
>From sources supped just this morning (Sat, 2nd August), I get the
>following error while making bin/csh:
>cc -O -I/home/paul/src/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS  
>-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -c 
>cc1: warnings being treated as errors
>/home/paul/src/bin/csh/../../usr.bin/printf/printf.c: In function `progprintf':
>/home/paul/src/bin/csh/../../usr.bin/printf/printf.c:216: warning: implicit 
>declaration of function `warnx'
>*** Error code 1
>It appears that the definition of warnx occurs within a #ifdef SHELL/#endif
>pair, and SHELL is not defined for csh.

This is because there are stale files in bin/csh/

I'll offer the standard recipe:

The ordering is based on cost; after each step, you can retry the make.

make cleandir in csh
make install new make rules
make && make install in usr.bin/make
make includes
make libs
call for help