[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Circular dependency

From: Stepan Kasal
Subject: Re: Circular dependency
Date: Mon, 27 Nov 2006 19:56:20 +0100
User-agent: Mutt/


On Mon, Nov 27, 2006 at 05:10:46PM +0100, Guillaume Rousse wrote:
> Ralf Wildenhues wrote:
> > * Guillaume Rousse wrote on Thu, Nov 23, 2006 at 04:46:50PM CET:
> >> However, make keep complaining about a circular dependency issue:
> >> make[1]: Circular corelib/ <- Makefile dependency dropped.
> >>
> >> I guess it's because generated makefile has itself a rule triggering
> >> configure again, but I can't find where it's related to
> >> corelib/, neither how to break the loop.
> > 
> > You're providing too little information for me to be able to deduce the
> > loop.  Can you post the whole (and whatever changes you made
> > to Automake, if any)?
> Here it is. I did no special modification tu automake.

The circular dependency is this:

Makefile <-- <-- .depend <-- corelib/ <--
<--  Makefile

* <-- .depend
This is because automake creates from and all
included files.  Your includes .depend.

* .depend <-- corelib/  via the $(OCAMLSOURCES)

You specified the dependency:

   corelib/ <-- Makefile

This is not correct.  You should specify the ultimate primary sources
instead of `Makefile'.  Prehaps `' is enough?

I hope this hint helps you to find a fix.

Have a nice day,
        Stepan Kasal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]