> Am 26.03.2014 um 12:01 schrieb "Frank Tkalcevic" > <fr...@franksworkshop.com.au>: > > I've just tried to add a library to one of the submakefile. The first time > I tried to make, my files compiled, but with errors. I fixed a few errors, > recompiled and NOTHING! For next 3 hours I moved my files, renamed them, > created a subdirectory, delete extraneous commands from the submakefile, but > nothing. I would just get output like. > > > > $ make > > make: Entering directory `/home/frankt/linuxcnc-dev/ikfast/src' > > make: Failed to remake makefile `Makefile'.
that is a hint that a dependency cannot be fulfilled assuming you are using master, try this: make VV=1 (note double V, this tells in detail which (sub) makefile is currently considered, and from which line a rule is called; the single V=1 just gives detailed command line argument display and can be combined) take a look at src/emc/rs274ngc/Submakefile for a library example (I suffer with you .. - this is rather brittle stuff not very eas to debug) -m > > copying shared configs > > make: Leaving directory `/home/frankt/linuxcnc-dev/ikfast/src' > > > > > > > > Then I remembered something about make having problems with dependencies. > > > > It turns out, my first edit added in include file. > > > > #include "file.h" > > > > which should have been. > > > > #include "file.hh" > > > > (two hs) > > > > The whole build failed because there was a syntax error in one of my source > files. > > > > Is there a way around this? > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers