Subject: Re: *_err.c missing under domestic/lib
To: Curt Sampson <curt@portal.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 10/09/1996 14:39:28
On Wed, 9 Oct 1996 08:36:12 -0700 (PDT) 
 Curt Sampson <curt@portal.ca> wrote:

 > It seems that under various directories under domestic/lib I'm
 > getting a make file error about <something>_err.c missing, and make
 > not knowing how to make it. that <something>_err.c is in SRC, and
 > also generally in CLEANFILES. This happens in libkadm, libkrb,
 > libss, and perhaps others I've not tried yet.

You may have a stale .depend file.  I just tried this in my 1.2 tree,
and it worked fine.

Oh, but I see what the problem could be.. kadm_err.c, for example,
should be created when kadm_err.h is ... compile_et generates both
of them.

Ok, I see the lossage, and I'll commit fixes for it soon.  In the mean
time, when this fails, whenever you see <something>_err.h in a
dependency, also add <something>_err.c ... like:

kadm_err.h: ${.CURDIR}/kadm_err.et

becomes:

kadm_err.c kadm_err.h: ${.CURDIR}/kadm_err.et


Oops, sorry 'bout that!

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939