[distcc] help ...

Martin Pool mbp at sourcefrog.net
Thu Mar 10 08:25:52 GMT 2005


jbkim wrote:
> ==> Following is Source Code of the Makefile.
> 
> ################################################################################
> #-------------------------------------------------------------------------------
> # Object directory target
> #-------------------------------------------------------------------------------
> 
> # The object subdirectoy is created if it does not already exist.
> 
> $(TARGETDIR)/exist :
>  @if test ! -f $(TARGETDIR)/exist; then mkdir $(TARGETDIR); fi
>  @echo Building $(TARGETDIR) > $(TARGETDIR)/exist
> ################################################################################
> 
> 
> ==> Above codes are in the Makefile (Makefile.mak).
> 
> ==> Above codes are run smoothly at -J1.
> 
> ==> However, contrary to my expectation, I see following error message
> at -J2, -J3, -J4.... and then, automatically exit from the Makefile.
> 
> make: *** No rule to make target 'M6000\exist', needed by 'M6000.elf'. Stop.
> make: *** Waiting for unfiniswhed jhobs....

So this is really just a bug in your makefile, and not at all related to 
distcc.  Nevertheless... clearly the rule you give above is not matching 
M6000\exist.  Maybe TARGETDIR is not set correctly?  Maybe you need to 
use forward slashes consistently?

Try to reproduce the problem in a smaller case.
-- 
Martin


More information about the distcc mailing list