No, not by default.<br>You can type 'make >& log_file.log' 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 'tee', as: 'make | tee log_file.log' . 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"><<a href="mailto:C.Reynolds@westminster.ac.uk">C.Reynolds@westminster.ac.uk</a>></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>
> Hi,<br>
><br>
> LD_LIBRARY_PATH is only used at the runtime for the programs to search<br>
> the dynamic libraries.<br>
> Check out the compilation at the beggining (compilation for the arf<br>
> directory), I'm pretty sure some of the classes just did not compile,<br>
> and so did not create some object files (.o), and that's why the link<br>
> crashed.<br>
> Since GATE is organized in thematic source directories, when a<br>
> compilation problem occurs, it just stops the compilation in this<br>
> directory, and others continue, that leads to link problem.<br>
><br>
> Cheers,<br>
> Simon<br>
><br>
> 2009/10/12 Ida Häggström <<a href="mailto:ida.haggstrom@radfys.umu.se">ida.haggstrom@radfys.umu.se</a>><br>
> Hello Chris!<br>
><br>
> I would try adding the path to your .o-files to<br>
> LD_LIBRARY_PATH, like I wrote in the post to Congwu. The<br>
> default path where they end up is<br>
> "gate_your_version/tmp/Linux-g++/Gate", you can check that<br>
> directory to see if you find the files there (the ones which<br>
> produce the undefined references, such as GateARFDataToRoot<br>
> etc.). If that doesn't work, I don't know! =)<br>
><br>
> /Ida<br>
><br>
> 2009/10/9 Chris Reynolds <<a href="mailto:C.Reynolds@westminster.ac.uk">C.Reynolds@westminster.ac.uk</a>><br>
><br>
><br>
><br>
> Hi,<br>
> I'm also have linker issues on Ubuntu. Similarly<br>
> compilation is fine:<br>
><br>
> Linking Gate<br>
> ./tmp/Linux-g++/Gate/libGate.a(GateOutputMgr.o): In<br>
> function<br>
> `GateOutputMgr::GateOutputMgr(G4String)':<br>
> GateOutputMgr.cc:(.text+0xd13): undefined reference to<br>
> `GateARFDataToRoot::GateARFDataToRoot(G4String const&,<br>
> GateOutputMgr*,<br>
> DigiMode)'<br>
> ./tmp/Linux-g++/Gate/libGate.a(GateOutputMgr.o): In<br>
> function<br>
> `GateOutputMgr::GateOutputMgr(G4String)':<br>
> GateOutputMgr.cc:(.text+0x12b3): undefined reference<br>
> to<br>
> `GateARFDataToRoot::GateARFDataToRoot(G4String const&,<br>
> GateOutputMgr*,<br>
> DigiMode)'<br>
> ./tmp/Linux-g++/Gate/libGate.a(GateSteppingAction.o):<br>
> In function<br>
> `GateSteppingAction::UserSteppingAction(G4Step<br>
> const*)':<br>
> GateSteppingAction.cc:(.text+0x232d): undefined<br>
> reference to `typeinfo<br>
> for GateARFDataToRoot'<br>
> GateSteppingAction.cc:(.text+0x23b3): undefined<br>
> reference to<br>
> `GateARFDataToRoot::IncrementNbOfSourcePhotons()'<br>
> collect2: ld returned 1 exit status<br>
> make: *** [bin/Linux-g++/Gate] Error 1<br>
><br>
><br>
><br>
><br>
> On Wed, 2009-10-07 at 13:44 -0700, C C wrote:<br>
> > Hi, everyone, I have problems of compiling the<br>
> gate5.<br>
> > the OS is Suse. It seems the compilation is not a<br>
> problem. But just<br>
> > cannot link. In the screen output there are a lot of<br>
> "undefinded<br>
> > reference" error. Below is part of the message. Can<br>
> anybody give a<br>
> > hint what may be the problem. Thanks a lot.<br>
> ><br>
> > Congwu<br>
> ><br>
> > ..........<br>
> > GateMDBFieldDecoder.cc:(.text+0x1843): undefined<br>
> reference to<br>
> > `GateTokenizer::CleanUpString(G4String&)'<br>
> > GateMDBFieldDecoder.cc:(.text+0x1857): undefined<br>
> reference to<br>
> > `GateTokenizer::BreakString(G4String const&, char)'<br>
> > GateMDBFieldDecoder.cc:(.text+0x1881): undefined<br>
> reference to<br>
> > `GateTokenizer::CleanUpString(G4String&)'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateMDBFieldDecoder.o): In function<br>
> > `GateMDBFieldDecoder::DecodeNumericField(G4String<br>
> const&, G4String,<br>
> > G4String const&, GateMap<G4String, int>&,<br>
> GateMap<G4String,<br>
> > double>&)':<br>
> > GateMDBFieldDecoder.cc:(.text+0x254e): undefined<br>
> reference to<br>
> > `GateTokenizer::CleanUpString(G4String&)'<br>
> > GateMDBFieldDecoder.cc:(.text+0x2648): undefined<br>
> reference to<br>
> > `GateTokenizer::CleanUpString(G4String&)'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateMDBFieldDecoder.o): In function<br>
> > `GateMDBFieldDecoder::DecodeTextField(G4String<br>
> const&, G4String,<br>
> > G4String const&, GateMap<G4String, int>&)':<br>
> > GateMDBFieldDecoder.cc:(.text+0x2bce): undefined<br>
> reference to<br>
> > `GateTokenizer::CleanUpString(G4String&)'<br>
> > GateMDBFieldDecoder.cc:(.text+0x2cc5): undefined<br>
> reference to<br>
> > `GateTokenizer::CleanUpString(G4String&)'<br>
> > ./tmp/Linux-g<br>
> ><br>
> ++/Gate/libGate.a(GateMDBFieldDecoder.o):GateMDBFieldDecoder.cc:(.text<br>
> > +0x2f8a): more undefined references to<br>
> > `GateTokenizer::CleanUpString(G4String&)' follow<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x5b):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x7c):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0xd4):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x124):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::SetNewValue(G4UIcommand*,<br>
> > G4String)':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x31f):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::SetNewValue(G4UIcommand*,<br>
> > G4String)'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::GateCompressedVoxelOutputMessenger(GateCompressedVoxelOutput*)':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x490):<br>
> undefined<br>
> > reference to<br>
> ><br>
> `GateOutputModuleMessenger::GateOutputModuleMessenger(GateVOutputModule*)'<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x73b):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::GateCompressedVoxelOutputMessenger(GateCompressedVoxelOutput*)':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x960):<br>
> undefined<br>
> > reference to<br>
> ><br>
> `GateOutputModuleMessenger::GateOutputModuleMessenger(GateVOutputModule*)'<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0xc0b):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0xc9):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):<br>
> > In function<br>
> ><br>
> `GateCompressedVoxelOutputMessenger::~GateCompressedVoxelOutputMessenger()':<br>
> > GateCompressedVoxelOutputMessenger.cc:(.text+0x119):<br>
> undefined<br>
> > reference to<br>
> `GateOutputModuleMessenger::~GateOutputModuleMessenger()'<br>
> > ./tmp/Linux-g<br>
> ><br>
> ++/Gate/libGate.a(GateCompressedVoxelOutputMessenger.o):(.rodata._ZTI34GateCompressedVoxelOutputMessenger[typeinfo for GateCompressedVoxelOutputMessenger]+0x10): undefined reference to `typeinfo for GateOutputModuleMessenger'<br>
> > ./tmp/Linux-g<br>
> ++/Gate/libGate.a(GateFictitiousVoxelMapInserter.o):<br>
> In<br>
> > function<br>
> `GateFictitiousVoxelMapInserter::AddOutput(G4String)':<br>
> > GateFictitiousVoxelMapInserter.cc:(.text+0xb36):<br>
> undefined reference<br>
> > to `GateOutputMgr::instance'<br>
> > GateFictitiousVoxelMapInserter.cc:(.text+0xb48):<br>
> undefined reference<br>
> > to `GateOutputMgr::instance'<br>
> > GateFictitiousVoxelMapInserter.cc:(.text+0xb54):<br>
> undefined reference<br>
> > to `GateOutputMgr::m_digiMode'<br>
> > GateFictitiousVoxelMapInserter.cc:(.text+0xb86):<br>
> undefined reference<br>
> > to<br>
> `GateOutputMgr::AddOutputModule(GateVOutputModule*)'<br>
> > GateFictitiousVoxelMapInserter.cc:(.text+0xbfe):<br>
> undefined reference<br>
> > to `GateOutputMgr::GateOutputMgr(G4String)'<br>
> > GateFictitiousVoxelMapInserter.cc:(.text+0xc05):<br>
> undefined reference<br>
> > to `GateOutputMgr::instance'<br>
> > collect2: ld returned 1 exit status<br>
> > make: *** [bin/Linux-g++/Gate] Error 1<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ______________________________________________________________________<br>
> > Hotmail: Powerful Free email with security by<br>
> Microsoft. Get it now.<br>
><br>
> > _______________________________________________<br>
> > Gate-users mailing list<br>
> > <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
> ><br>
> <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
><br>
><br>
><br>
> --<br>
> The University of Westminster is a charity and a<br>
> company limited by<br>
> guarantee. Registration number: 977818 England.<br>
> Registered Office:<br>
> 309 Regent Street, London W1B 2UW, UK.<br>
><br>
> _______________________________________________<br>
> Gate-users mailing list<br>
> <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
> <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Gate-users mailing list<br>
> <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
> <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
><br>
><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>