Message: Re: Problem during install Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem during install 

Forum: Installation and Configuration
Re: None Problem during install
Date: 18 May, 2010
From: Ben Morgan <Ben Morgan>

Hi Paul,

On Mon, 17 May 2010 19:15:03 GMT, paulmcg wrote:
> Hi I'm trying to install Geant4-9-3-p01 on Ubuntu 10.04.
> After doing the initial ./Configure -build stage I get the following
> output. There's quite a few errors and I'm concerned that the toolkit
> won't work.
> The g4makelog is attached. But some of the error messages produced is
> here:
> Compiling ... src/ In
> member function �virtual void
> G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String)�:
> src/ warning: ignoring return value of �int
> system(const char*)�, declared with ... Compiling
> ... src/ In member function �void

Looking at the Make log, all of the warnings are related to one thing - some parts of the Geant4 code ignore return codes from C functions. GNU C provides "attributes" that developers can apply to functions to warn when return values are ignored, e.g. if the return value is a success/error code (see the GCC manual if you want the gory details). As the libraries look to have been built successfully - there are no errors that I can see, you shouldn't have problems running the toolkit.



 Add Message Add Message
to: "Re: Problem during install"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]