[coyotos-dev] build error
Jonathan S. Shapiro
shap at eros-os.com
Tue Jun 19 12:24:32 EDT 2007
On Tue, 2007-06-19 at 08:46 -0700, Charles Landau wrote:
> At 11:15 AM -0400 6/19/07, Jonathan S. Shapiro wrote:
> >On Tue, 2007-06-19 at 07:46 -0700, Charles Landau wrote:
> >
> >> The input is from your coyotos source:
> >> coyotos/src/base/idl/builder.idl
> >...
> >> Did that - same error, on the second make command.
> >>
> >> The failing command was:
> >> ../../ccs/capidl/BUILD/capidl -I. -I/home/clandau/coyotos/usr/idl -D
> >> BUILD/h -l c-header builder.idl
> >
> >Very strange, because this is working fine here -- and I just pulled the
> >tree with 'make destructive-sync' to check. Did you run 'make sync' or
> >'make destructive-sync'?
>
> 'make destructive-sync' fixed the problem. Thanks.
Great!
I suspect the problem was as follows:
There *used* to be a local copy of libsherpa in the tree. Probably some
path was catching this location. The problem with running "make sync" is
that it cannot delete things it no longer recognizes, because it is
attempting to minimize rebuild cost by preserving .o files. The problem
with "make destructive-sync" is that it clobbers .o files.
In hindsight, a better solution would be to make "sync" be destructive,
eliminate the destructive-sync target, and rely on ccache to speed the
rebuild process. If I do that, the remaining rebuild cost will be in the
doc tree, and I need to solve that independently in any case.
shap
More information about the coyotos-dev
mailing list