[distcc] Re: Distcc with make

Martin Pool mbp at samba.org
Thu Jun 24 23:23:29 GMT 2004


On 24 Jun 2004, "Verma, Ajay" <ajve at chevrontexaco.com> wrote:
> Hi Martin,
> How are you doing?
> I am using distcc to build shared library using libtool.I use mpiCC
> which is a kind of wrapper on g++.
> My current configuration is:
> 
> Distcc - 2.13
> Gcc - 3.3.2
> 
> 
> I am seeing a problem when its trying to create an executable.pls see
> the error below.
> Next time if I run make -j16 once again then it creates the library
> needed by executable for linking and again stop giving the same
> error.Then I run third time and then it build this executable fine.
> I am seeing this error whenever I am trying to create executable.I am
> wondering is there any problem with creating shared library using
> distcc.

Hi,

This is a bug in your makefile.  It is probably missing a dependency
needed to do parallel builds reliably.  Check the rules to do with
libxmlparse.la.  Typically in this kind of case it makes a little
progress every time you run it, so it will eventually complete if you
just keep trying.

> 
> Could you pls help me out on this.
> 
> 
> if /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC
> -DHAVE_CONFIG_H -I. -I../../../../source/ix/oldkeyword/xmlparse -I../..
> -Wall -O2 -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT sax2ecl.o -MD -MP -MF ".deps/sax2ecl.Tpo"
> \
>   -c -o sax2ecl.o `test -f
> '../../../../source/ix/oldkeyword/xmlparse/sax2ecl.cpp' || echo
> '../../../../source/ix/oldkeyword/xmlparse/'`../../../../source/ix/oldke
> yword/xmlparse/sax2ecl.cpp; \
> then mv -f ".deps/sax2ecl.Tpo" ".deps/sax2ecl.Po"; \
> else rm -f ".deps/sax2ecl.Tpo"; exit 1; \
> fi
> make[2]: *** No rule to make target
> `../../../ix/oldkeyword/xmlparse/libxmlparse.la', needed by
> `xmlparse_sax2ecl.exe'.  Stop.
> make[2]: *** Waiting for unfinished jobs....
> mkdir .libs
> mkdir .libs
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT sax2options.lo -MD -MP -MF
> .deps/sax2options.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/sax2options.cpp  -fPIC -DPIC
> -DPIC -o sax2options.o
> mkdir: cannot create directory `.libs': File exists
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT deck.lo -MD -MP -MF .deps/deck.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/deck.cpp  -fPIC -DPIC -DPIC -o
> deck.o
> rm -f .libs/xmldeckreader.lo
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT xmldeckreader.lo -MD -MP -MF
> .deps/xmldeckreader.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/xmldeckreader.cpp  -fPIC -DPIC
> -DPIC -o xmldeckreader.o
> rm -f .libs/sax2eclhandlers.lo
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT sax2eclhandlers.lo -MD -MP -MF
> .deps/sax2eclhandlers.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/sax2eclhandlers.cpp  -fPIC
> -DPIC -DPIC -o sax2eclhandlers.o
> mv -f sax2options.o .libs/sax2options.lo
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT sax2options.lo -MD -MP -MF
> .deps/sax2options.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/sax2options.cpp -o
> sax2options.o >/dev/null 2>&1
> mv -f xmldeckreader.o .libs/xmldeckreader.lo
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT xmldeckreader.lo -MD -MP -MF
> .deps/xmldeckreader.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/xmldeckreader.cpp -o
> xmldeckreader.o >/dev/null 2>&1
> mv -f sax2eclhandlers.o .libs/sax2eclhandlers.lo
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT sax2eclhandlers.lo -MD -MP -MF
> .deps/sax2eclhandlers.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/sax2eclhandlers.cpp -o
> sax2eclhandlers.o >/dev/null 2>&1
> mv -f .libs/sax2options.lo sax2options.lo
> 
> mv -f .libs/xmldeckreader.lo xmldeckreader.lo
> mv -f .libs/sax2eclhandlers.lo sax2eclhandlers.lo
> mv -f deck.o .libs/deck.lo
> /data/zion/intersect/local_linux/GCCLIB3.3.2/bin/mpiCC -DHAVE_CONFIG_H
> -I. -I../../../../source/ix/oldkeyword/xmlparse -I../.. -Wall -O2
> -DNDEBUG -I KYLIE -I TSM -I ../../../../source -I
> /data/zion/intersect/local_linux/GCCLIB3.3.2/include -I
> /data/zion/intersect/local_linux/BOOST/include/boost-1_31 -I
> ../../../../CYGLIB/include -MT deck.lo -MD -MP -MF .deps/deck.Tpo -c
> ../../../../source/ix/oldkeyword/xmlparse/deck.cpp -o deck.o >/dev/null
> 2>&1
> 
> mv -f .libs/deck.lo deck.lo
> make[2]: Leaving directory
> `/.automount/zion/d/a/data/intersect/build/ix_parallel/distcc_parallel/t
> arget/ix/oldkeyword/xmlparse'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/.automount/zion/d/a/data/intersect/build/ix_parallel/distcc_parallel/t
> arget/ix/oldkeyword/xmlparse'
> make: *** [all-recursive] Error 1
> 
> 
> 
> Thanks
> Ajay
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040625/0c2eade7/attachment.bin


More information about the distcc mailing list