Hi Joost, * Joost Kraaijeveld wrote on Mon, Dec 14, 2009 at 09:21:01AM CET: > When compiling a (large) project with multiple Makefiles (with make -k > -j6 all ) , I get errors from libtool: > > ../../../../../libtool: line 747: echo: write error: Broken pipe > ../../../../../../library/DagdaORB/.libs/libdagdaorb.so: undefined reference > to `PortableServer::POA::dispatch(DagdaORB::ObjectId const&, > DagdaORB::MessageBody&)' > collect2: ld returned 1 exit status > make[1]: *** [ServantActivatorServer] Error 1 > make[1]: Target `all' not remade because of errors. > make[1]: write error > /bin/bash: line 10: echo: write error: Broken pipe > ../../../../../libtool: line 747: echo: write error: Broken pipe > > I have the impression that it occurs whenever there is a link error, but > I am not 100% sure.
Can you show the output of such a Broken pipe error with make -k -j6 all LIBTOOLFLAGS=--debug somehow? You probably need to pack it (gzip, bzip2) and remove all but the last thousand lines or so from the output. Please keep stdout and stderr intermixed. In any case, even if above does not work to produce the error, please also post the output of ./libtool --config and please post lines 735-755 or so of this libtool script, with a mark at line 747. Thanks, Ralf