[SWLUG] make annoyance

Mark Summerfield mark at qtrac.eu
Tue Dec 21 11:30:46 UTC 2010


On Tue, 21 Dec 2010 09:59:14 +0000
Dave Cridland <dave at cridland.net> wrote:
> On Tue Dec 21 09:53:22 2010, Mark Summerfield wrote:
> > But recently I've started to use recursive makefiles and _some_ of  
> > them
> > output:
> > 
> > make[3]: warning: -jN forced in submake: disabling jobserver mode.
> > make[3]: warning: jobserver unavailable: using -j1.  Add `+' to  
> > parent make rule.
> 
> There are many problems with recursive makefiles; this is one of them.
> 
> The top-level makefile is running 4 jobs. Each of those jobs, in  
> these cases, is a make all of its own. Make luckily knows this,  
> otherwise each of those makes would be running 4 jobs too - so you'd  
> have 16 jobs - and this would compound down the tree.
> 
> So there's nothing to fix, as such - Make has fixed it for you.

Yes, I realise that. But I'd like to tell it not to tell me!



-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Python 3" - ISBN 0321680561
            http://www.qtrac.eu/py3book.html



More information about the Swlug mailing list