Subject: /bin/csh
To: None <current-users@NetBSD.ORG>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: current-users
Date: 07/10/1997 06:02:52
I am getting the following error compiling current for the last few days.
cc -O -I/usr/src/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -c /usr/src/bin/csh/../../usr.bin/printf/printf.c
cc1: warnings being treated as errors
/usr/src/bin/csh/../../usr.bin/printf/printf.c: In function `progprintf':
/usr/src/bin/csh/../../usr.bin/printf/printf.c:216: warning: implicit declaration of function `warnx'
The problem appears to be that there is a "-I." argument to cc and in
/usr/src/bin/csh there is a header file called err.h which gets used
instead of the one in /usr/include. I'm not sure what the thing to do
here is. It looks like err.h is supposed to be generated but I can't
find any place where it gets generated. I tried removing (renaming)
it but the compile fails on the error "make: don't know how to make
/usr/src/bin/csh/err.h. Stop."
Any ideas?
--
D'Arcy J.M. Cain | Democracy is three wolves
darcy@{druid.net|vex.net} | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
-- http://www.druid.net/darcy --