[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
link dependency failed with make -j*
From: |
Vincent Torri |
Subject: |
link dependency failed with make -j* |
Date: |
Sun, 27 Mar 2011 22:39:40 +0200 |
Hey,
I have a library that depends on several libraries, these latter ones must
be built first:
pkg_LTLIBRARIES = pdf.la
noinst_LTLIBRARIES = libfitz.la libdraw.la libcmaps.la libfonts.la
libmupdf.la
pdf_la_LIBADD = \
@EYESIGHT_LIBS@ \
$(top_builddir)/src/lib/libeyesight.la \
$(top_builddir)/src/modules/pdf/libfitz.la \
$(top_builddir)/src/modules/pdf/libdraw.la \
$(top_builddir)/src/modules/pdf/libcmaps.la \
$(top_builddir)/src/modules/pdf/libfonts.la \
$(top_builddir)/src/modules/pdf/libmupdf.la \
-lm
pdf_la_LINK = $(LINK) $(pdf_la_LDFLAGS)
But when I compile with 'make -j3', the link fails (no failure with just
'make'):
make[1]: Entering directory `/home/torri/svnroot/eyesight/src/modules/pdf'
CC libfitz_la-base_error.lo
CC libfitz_la-base_geometry.lo
...
CC libfitz_la-stm_open.lo
CC libfitz_la-stm_read.lo
CC libdraw_la-archport.lo
...
CC libdraw_la-blendmodes.lo CC libdraw_la-pathstroke.lo
CC libdraw_la-porterduff.lo
...
CC libmupdf_la-pdf_annot.lo
CC libmupdf_la-pdf_build.lo
...
CC libmupdf_la-pdf_xobject.lo
CC libmupdf_la-pdf_xref.lo
make[1]: *** No rule to make target `../../../src/modules/pdf/libfitz.la',
needed by `pdf.la'. Stop.
make[1]: *** Waiting for unfinished jobs....
CC pdf_la-eyesight_pdf_mupdf.lo
make[1]: Leaving directory `/home/torri/svnroot/eyesight/src/modules/pdf'
make: *** [all] Error 2
Does someone know what i should do to enable parallel compilation ?
thank you
Vincent Torri
- link dependency failed with make -j*,
Vincent Torri <=