Message: AIDA warnings Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback AIDA warnings 

Forum: Analysis
Date: 28 Jan, 2010
From: Neoh <Neoh>

Hi all,

The following warnings are received when I compiled /extended/analysis/A01:

Making dependency for file A01app.cc ...
Making dependency for file src/A01PrimaryGeneratorMessenger.cc ...
Making dependency for file src/A01PrimaryGeneratorAction.cc ...
Making dependency for file src/A01PhysicsList.cc ...
Making dependency for file src/A01MuonPhysics.cc ...
Making dependency for file src/A01MagneticFieldMessenger.cc ...
Making dependency for file src/A01MagneticField.cc ...
Making dependency for file src/A01IonPhysics.cc ...
Making dependency for file src/A01HodoscopeHit.cc ...
Making dependency for file src/A01Hodoscope.cc ...
Making dependency for file src/A01HadronPhysics.cc ...
Making dependency for file src/A01HadCalorimeterHit.cc ...
Making dependency for file src/A01HadCalorimeter.cc ...
Making dependency for file src/A01GeneralPhysics.cc ...
Making dependency for file src/A01EventActionMessenger.cc ...
Making dependency for file src/A01EventAction.cc ...
Making dependency for file src/A01EmCalorimeterHit.cc ...
Making dependency for file src/A01EmCalorimeter.cc ...
Making dependency for file src/A01EMPhysics.cc ...
Making dependency for file src/A01DriftChamberHit.cc ...
Making dependency for file src/A01DriftChamber.cc ...
Making dependency for file src/A01DetectorConstruction.cc ...
Making dependency for file src/A01DetectorConstMessenger.cc ...
Making dependency for file src/A01CellParameterisation.cc ...
Making dependency for file src/A01AnalysisManager.cc ...
Compiling A01AnalysisManager.cc ...
In file included from src/A01AnalysisManager.cc:61:
include/A01AnalysisManager.hh:56: warning: declaration ‘class
AIDA::IAnalysisFactory’ does not declare anything
include/A01AnalysisManager.hh:57: warning: declaration ‘class
AIDA::ITree’ does not declare anything
include/A01AnalysisManager.hh:58: warning: declaration ‘class
AIDA::IHistogramFactory’ does not declare anything
include/A01AnalysisManager.hh:59: warning: declaration ‘class
AIDA::ITupleFactory’ does not declare anything
include/A01AnalysisManager.hh:60: warning: declaration ‘class
AIDA::IPlotter’ does not declare anything
Compiling A01CellParameterisation.cc ...
Compiling A01DetectorConstMessenger.cc ...
Compiling A01DetectorConstruction.cc ...
Compiling A01DriftChamber.cc ...
Compiling A01DriftChamberHit.cc ...
Compiling A01EMPhysics.cc ...
Compiling A01EmCalorimeter.cc ...
Compiling A01EmCalorimeterHit.cc ...
Compiling A01EventAction.cc ...
In file included from src/A01EventAction.cc:34:
include/A01AnalysisManager.hh:56: warning: declaration ‘class
AIDA::IAnalysisFactory’ does not declare anything
include/A01AnalysisManager.hh:57: warning: declaration ‘class
AIDA::ITree’ does not declare anything
include/A01AnalysisManager.hh:58: warning: declaration ‘class
AIDA::IHistogramFactory’ does not declare anything
include/A01AnalysisManager.hh:59: warning: declaration ‘class
AIDA::ITupleFactory’ does not declare anything
include/A01AnalysisManager.hh:60: warning: declaration ‘class
AIDA::IPlotter’ does not declare anything
Compiling A01EventActionMessenger.cc ...
Compiling A01GeneralPhysics.cc ...
Compiling A01HadCalorimeter.cc ...
Compiling A01HadCalorimeterHit.cc ...
Compiling A01HadronPhysics.cc without optimization...
Compiling A01Hodoscope.cc ...
Compiling A01HodoscopeHit.cc ...
Compiling A01IonPhysics.cc ...
Compiling A01MagneticField.cc ...
Compiling A01MagneticFieldMessenger.cc ...
Compiling A01MuonPhysics.cc ...
Compiling A01PhysicsList.cc ...
Compiling A01PrimaryGeneratorAction.cc ...
Compiling A01PrimaryGeneratorMessenger.cc ...
Creating shared library
/home/neohys/geant4/g4work/tmp/Linux-g++/A01app/libA01app.so ...
Compiling A01app.cc ...
Using granular libraries ...
Linking A01app
/usr/bin/ld: warning: libXm.so.4, needed by
/home/neohys/geant4/geant4.9.3/lib/Linux-g++/libG4GMocren.so, may
conflict with libXm.so.2
... Done!

I use Fedora 12 with gcc version 442.
I use open scientist for AIDA implementation because at the moment aidajni couldn't be used and I couldn't find a solution to fix that. It has been suggested that these warnings will disappear if changes of the following is made in A01AnalysisManager.hh:

using namespace AIDA;

class AIDA::IAnalysisFactory;
class AIDA::ITree;
class AIDA::IHistogramFactory;
class AIDA::ITupleFactory;
class AIDA::IPlotter;


is changed to


using namespace AIDA;

namespace AIDA{

class IAnalysisFactory;
class ITree;
class IHistogramFactory;
class ITupleFactory;
class IPlotter;
}


The same pattern also appears in advanced/gammaray_telescope/include/GammaRayTelAnalysis.hh when G4ANALYSIS_USE is enabled. Regarding the libXm.so.4 warning, I'm not sure how to deal with that yet.


Neoh

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: AIDA warnings / GammaRayTel   (Guy Barrand - 29 Jan, 2010)
 Add Message Add Message
to: "AIDA warnings"

 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 ]