Subject: Re: Compile problem for gspa
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: current-users
Date: 12/21/1995 12:37:50
> : ===> gspa
> : cc -O -I. -I/usr/sup/netbsd/src/usr.sbin/gspa/gspa -c gspa.c
> : gspa.c:42: y.tab.h: No such file or directory
> : *** Error code 1
> The workaround is, to make depend, at least in that directory, before
> make.
Or apply this patch:
--- OLD/usr.sbin/gspa/gspa/Makefile Thu Jan 1 00:00:00 1970
+++ NEW/usr.sbin/gspa/gspa/Makefile Thu Jan 1 00:00:00 1970
@@ -7,6 +7,8 @@
gsp_inst.c gsp_pseu.c
OBJS+= gsp_gram.o
NOMAN= noman
-CLEANFILES= y.tab.h
+CLEANFILES+= gsp_gram.c y.tab.h
+
+beforedepend: gsp_gram.c
.include <bsd.prog.mk>
I thought I'd send-pred this, but can't find it; I'll check -current
sup and if it hasn't been fixed there, I'll do the send-pr.
der Mouse
mouse@collatz.mcrcim.mcgill.edu