From: Arnout E. <no...@bz...> - 2011-02-15 21:19:03
|
On Tue, Feb 15, 2011 at 06:34:21PM +0100, Ole Jørgen Brønner wrote: > I figured it out :) > > I looked a bit closer, and the problem was related to export.h (which is > afaik generated from the c source by a lua script) I had aliased make to > 'make -j2' and the parallel build tripped up the order of export.{h,c} > generation and compiling. Changing this line in build/rules.mk: -%.o: %.c +%.o: %.c $(EXPORTS_H) $(CC) $(CC_PICFLAGS) $(CFLAGS) -c $< -o $@ .. makes 'make -j2' work for me, but not 'make -j4'. I wonder what's going on there. Kind regards, Arnout > On Tue, 15 Feb 2011 13:32:27 +0100, <eb...@dr...> wrote: > > One pass is enough here, but I did NOT INSTALLED libtu and libextl. > > What is the error that it stops on? > > > > I changed build/libs.mk (both in notion and in libextl) instead > > of installing libtu and libextl. Here is the contents of my > > notion/build/libs.mk: > > > > LIBS_SUBDIRS = libmainloop > > > > LIBTU_DIR = $(TOPDIR)/../libtu > > LIBTU_INCLUDES = -I$(TOPDIR)/.. > > LIBTU_LIBS = -L$(LIBTU_DIR) -ltu > > > > LIBMAINLOOP_DIR = $(TOPDIR)/libmainloop > > LIBMAINLOOP_INCLUDES = -I$(TOPDIR) > > LIBMAINLOOP_LIBS = -L$(LIBMAINLOOP_DIR) -lmainloop > > > > LIBEXTL_DIR = $(TOPDIR)/../libextl > > LIBEXTL_INCLUDES = -I$(TOPDIR)/.. > > LIBEXTL_LIBS = -L$(LIBEXTL_DIR) -lextl > > > > MKEXPORTS = $(LIBEXTL_DIR)/libextl-mkexports > > > > > > > > On Tue, 15 Feb 2011 05:30:07 +0100 > > Ole Jørgen Brønner <ole...@ya...> wrote: > >> Am I the only one that has to do multiple make passes for a complete > >> build? (ie. first make fails after a while, second make progresses a > >> bit further, ..., last make succeeds) > >> > >> I remember that this happened with ion3plus (and probably ion3) too, > >> so it's not something introduced in notion, and isn't really that > >> annoying either. (After an initial build, a single make usually > >> suffices) Just curios if it's some weird thing going on in my > >> environment. > >> > >> - Ole Jørgen Brønner > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel |