No, not by default.<br>You can type &#39;make &gt;&amp; log_file.log&#39; to redirect stdin and err in the log_file (i.e. all messages, success and error) but you will not see anything on screen.<br>If you want to, use the command &#39;tee&#39;, as: &#39;make | tee log_file.log&#39; . It will redirect all outputs in the log_file and print on screen too.<br>
<br>But the main goal of makefile is that if you launch it again, it will only try to compile files that have changed or that have not been compiled, so just launch it again and it will fail on the last class that has failed to compile.<br>
<br>Good luck !<br>Simon<br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 12:00 PM, Chris Reynolds <span dir="ltr">&lt;<a href="mailto:C.Reynolds@westminster.ac.uk">C.Reynolds@westminster.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Simon,<br>
Is there a build log so I can see exactly which components are not<br>
compiling?<br>
<br>
Cheers<br>
<font color="#888888"><br>
Chris<br>
</font><div><div></div><div class="h5"><br>
On Mon, 2009-10-12 at 10:54 +0200, Simon Stute wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; LD_LIBRARY_PATH is only used at the runtime for the programs to search<br>
&gt; the dynamic libraries.<br>
&gt; Check out the compilation at the beggining (compilation for the arf<br>
&gt; directory), I&#39;m pretty sure some of the classes just did not compile,<br>
&gt; and so did not create some object files (.o), and that&#39;s why the link<br>
&gt; crashed.<br>
&gt; Since GATE is organized in thematic source directories, when a<br>
&gt; compilation problem occurs, it just stops the compilation in this<br>
&gt; directory, and others continue, that leads to link problem.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Simon<br>
&gt;<br>
&gt; 2009/10/12 Ida Häggström &lt;<a href="mailto:ida.haggstrom@radfys.umu.se">ida.haggstrom@radfys.umu.se</a>&gt;<br>
&gt;         Hello Chris!<br>
&gt;<br>
&gt;         I would try adding the path to your .o-files to<br>
&gt;         LD_LIBRARY_PATH, like I wrote in the post to Congwu. The<br>
&gt;         default path where they end up is<br>
&gt;         &quot;gate_your_version/tmp/Linux-g++/Gate&quot;, you can check that<br>
&gt;         directory to see if you find the files there (the ones which<br>
&gt;         produce the undefined references, such as GateARFDataToRoot<br>
&gt;         etc.). If that doesn&#39;t work, I don&#39;t know! =)<br>
&gt;<br>
&gt;         /Ida<br>
&gt;<br>
&gt;         2009/10/9 Chris Reynolds &lt;<a href="mailto:C.Reynolds@westminster.ac.uk">C.Reynolds@westminster.ac.uk</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 Hi,<br>
&gt;                 I&#39;m also have linker issues on Ubuntu. Similarly<br>
&gt;                 compilation is fine:<br>
&gt;<br>
&gt;                 Linking Gate<br>
&gt;                 ./tmp/Linux-g++/Gate/libGate.a(GateOutputMgr.o): In<br>
&gt;                 function<br>
&gt;                 `GateOutputMgr::GateOutputMgr(G4String)&#39;:<br>
&gt;                 GateOutputMgr.cc:(.text+0xd13): undefined reference to<br>
&gt;                 `GateARFDataToRoot::GateARFDataToRoot(G4String const&amp;,<br>
&gt;                 GateOutputMgr*,<br>
&gt;                 DigiMode)&#39;<br>
&gt;                 ./tmp/Linux-g++/Gate/libGate.a(GateOutputMgr.o): In<br>
&gt;                 function<br>
&gt;                 `GateOutputMgr::GateOutputMgr(G4String)&#39;:<br>
&gt;                 GateOutputMgr.cc:(.text+0x12b3): undefined reference<br>
&gt;                 to<br>
&gt;                 `GateARFDataToRoot::GateARFDataToRoot(G4String const&amp;,<br>
&gt;                 GateOutputMgr*,<br>
&gt;                 DigiMode)&#39;<br>
&gt;                 ./tmp/Linux-g++/Gate/libGate.a(GateSteppingAction.o):<br>
&gt;                 In function<br>
&gt;                 `GateSteppingAction::UserSteppingAction(G4Step<br>
&gt;                 const*)&#39;:<br>
&gt;                 GateSteppingAction.cc:(.text+0x232d): undefined<br>
&gt;                 reference to `typeinfo<br>
&gt;                 for GateARFDataToRoot&#39;<br>
&gt;                 GateSteppingAction.cc:(.text+0x23b3): undefined<br>
&gt;                 reference to<br>
&gt;                 `GateARFDataToRoot::IncrementNbOfSourcePhotons()&#39;<br>
&gt;                 collect2: ld returned 1 exit status<br>
&gt;                 make: *** [bin/Linux-g++/Gate] Error 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 On Wed, 2009-10-07 at 13:44 -0700, C C wrote:<br>
&gt;                 &gt; Hi, everyone, I have problems of compiling the<br>
&gt;                 gate5.<br>
&gt;                 &gt; the OS is Suse. It seems the compilation is not a<br>
&gt;                 problem. But just<br>
&gt;                 &gt; cannot link. In the screen output there are a lot of<br>
&gt;                 &quot;undefinded<br>
&gt;                 &gt; reference&quot; error. Below is part of the message. Can<br>
&gt;                 anybody give a<br>
&gt;                 &gt; hint what may be the problem. Thanks a lot.<br>
&gt;                 &gt;<br>
&gt;                 &gt; Congwu<br>
&gt;                 &gt;<br>
&gt;                 &gt; ..........<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x1843): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39;<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x1857): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::BreakString(G4String const&amp;, char)&#39;<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x1881): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateMDBFieldDecoder.o): In function<br>
&gt;                 &gt; `GateMDBFieldDecoder::DecodeNumericField(G4String<br>
&gt;                 const&amp;, G4String,<br>
&gt;                 &gt; G4String const&amp;, GateMap&lt;G4String, int&gt;&amp;,<br>
&gt;                 GateMap&lt;G4String,<br>
&gt;                 &gt; double&gt;&amp;)&#39;:<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x254e): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39;<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x2648): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateMDBFieldDecoder.o): In function<br>
&gt;                 &gt; `GateMDBFieldDecoder::DecodeTextField(G4String<br>
&gt;                 const&amp;, G4String,<br>
&gt;                 &gt; G4String const&amp;, GateMap&lt;G4String, int&gt;&amp;)&#39;:<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x2bce): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39;<br>
&gt;                 &gt; GateMDBFieldDecoder.cc:(.text+0x2cc5): undefined<br>
&gt;                 reference to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 &gt;<br>
&gt;                 ++/Gate/libGate.a(GateMDBFieldDecoder.o):GateMDBFieldDecoder.cc:(.text<br>
&gt;                 &gt; +0x2f8a): more undefined references to<br>
&gt;                 &gt; `GateTokenizer::CleanUpString(G4String&amp;)&#39; follow<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x5b):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x7c):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0xd4):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x124):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::SetNewValue(G4UIcommand*,<br>
&gt;                 &gt; G4String)&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x31f):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::SetNewValue(G4UIcommand*,<br>
&gt;                 &gt; G4String)&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::GateCompressedVoxelOutputMessenger(GateCompressedVoxelOutput*)&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x490):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 &gt;<br>
&gt;                 `GateOutputModuleMessenger::GateOutputModuleMessenger(GateVOutputModule*)&#39;<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x73b):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::GateCompressedVoxelOutputMessenger(GateCompressedVoxelOutput*)&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x960):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 &gt;<br>
&gt;                 `GateOutputModuleMessenger::GateOutputModuleMessenger(GateVOutputModule*)&#39;<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0xc0b):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0xc9):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
&gt;                 &gt; In function<br>
&gt;                 &gt;<br>
&gt;                 `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()&#39;:<br>
&gt;                 &gt; GateCompressedVoxelOutputMessenger.cc:(.text+0x119):<br>
&gt;                 undefined<br>
&gt;                 &gt; reference to<br>
&gt;                 `GateOutputModuleMessenger::~GateOutputModuleMessenger()&#39;<br>
&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 &gt;<br>
&gt;                 ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):(.rodata._ZTI34GateCompressedVoxelOutputMessenger[typeinfo for GateCompressedVoxelOutputMessenger]+0x10): undefined reference to `typeinfo for GateOutputModuleMessenger&#39;<br>

&gt;                 &gt; ./tmp/Linux-g<br>
&gt;                 ++/Gate/libGate.a(GateFictitiousVoxelMapInserter.o):<br>
&gt;                 In<br>
&gt;                 &gt; function<br>
&gt;                 `GateFictitiousVoxelMapInserter::AddOutput(G4String)&#39;:<br>
&gt;                 &gt; GateFictitiousVoxelMapInserter.cc:(.text+0xb36):<br>
&gt;                 undefined reference<br>
&gt;                 &gt; to `GateOutputMgr::instance&#39;<br>
&gt;                 &gt; GateFictitiousVoxelMapInserter.cc:(.text+0xb48):<br>
&gt;                 undefined reference<br>
&gt;                 &gt; to `GateOutputMgr::instance&#39;<br>
&gt;                 &gt; GateFictitiousVoxelMapInserter.cc:(.text+0xb54):<br>
&gt;                 undefined reference<br>
&gt;                 &gt; to `GateOutputMgr::m_digiMode&#39;<br>
&gt;                 &gt; GateFictitiousVoxelMapInserter.cc:(.text+0xb86):<br>
&gt;                 undefined reference<br>
&gt;                 &gt; to<br>
&gt;                 `GateOutputMgr::AddOutputModule(GateVOutputModule*)&#39;<br>
&gt;                 &gt; GateFictitiousVoxelMapInserter.cc:(.text+0xbfe):<br>
&gt;                 undefined reference<br>
&gt;                 &gt; to `GateOutputMgr::GateOutputMgr(G4String)&#39;<br>
&gt;                 &gt; GateFictitiousVoxelMapInserter.cc:(.text+0xc05):<br>
&gt;                 undefined reference<br>
&gt;                 &gt; to `GateOutputMgr::instance&#39;<br>
&gt;                 &gt; collect2: ld returned 1 exit status<br>
&gt;                 &gt; make: *** [bin/Linux-g++/Gate] Error 1<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 ______________________________________________________________________<br>
&gt;                 &gt; Hotmail: Powerful Free email with security by<br>
&gt;                 Microsoft. Get it now.<br>
&gt;<br>
&gt;                 &gt; _______________________________________________<br>
&gt;                 &gt; Gate-users mailing list<br>
&gt;                 &gt; <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
&gt;                 &gt;<br>
&gt;                 <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 --<br>
&gt;                 The University of Westminster is a charity and a<br>
&gt;                 company limited by<br>
&gt;                 guarantee.  Registration number: 977818 England.<br>
&gt;                  Registered Office:<br>
&gt;                 309 Regent Street, London W1B 2UW, UK.<br>
&gt;<br>
&gt;                 _______________________________________________<br>
&gt;                 Gate-users mailing list<br>
&gt;                 <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
&gt;                 <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         Gate-users mailing list<br>
&gt;         <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
&gt;         <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">The University of Westminster is a charity and a company limited by<br>
guarantee.  Registration number: 977818 England.  Registered Office:<br>
309 Regent Street, London W1B 2UW, UK.<br>
</div></div></blockquote></div><br>