Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 1995 15:04:29 -0500
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Andras Olah <olah@cs.utwente.nl>
Cc:        current@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/tcpdump/tcpslice tcpslice.h util.c Makefile gwtm2secs.c search.c tcpslice.1 tcpslice.c 
Message-ID:  <9503092004.AA12528@halloran-eldar.lcs.mit.edu>
In-Reply-To: <9785.794750105@utis156.cs.utwente.nl>
References:  <9785.794750105@utis156.cs.utwente.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 09 Mar 1995 12:55:05 +0100, Andras Olah <olah@cs.utwente.nl> said:

> tcpslice fails to compile because of the lack of version.h. 
> version.h should be automatically generated from ../tcpdump/VERSION.
> This problem only exists when there's an obj tree (thus obj ->
> /usr/obj/usr.sbin/tcpdump/tcpslice).  If the obj link is missing
> then make depend generates the necessary dependency for version.h
> and everything works OK.

> So, what did I screw up?

Looking at your Makefile, I think you have found Yet Another bug in
either bsd.*.mk or the pmake program itself.  (It's one that I think
I've run into in the past.)  The short-term fix is just to add:

beforedepend:	version.h

and maybe to add version.h to the SRCS as well.  (Actually, one one of
these should be necessary but I don't remember which one it is right
now.)

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503092004.AA12528>