Problem 151 - Link errors for TestEm4
Summary: Link errors for TestEm4
Status: RESOLVED WORKSFORME
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: electromagnetic/TestEM0-4. 11-18 (show other problems)
Version: 2.0
Hardware: PC Linux
: P2 normal
Assignee: Michel.Maire
URL:
Depends on:
Blocks:
 
Reported: 2000-08-19 16:29 CEST by sudhakar.chelikani
Modified: 2017-04-20 11:16 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description sudhakar.chelikani 2000-08-19 16:29:27 CEST
While trying to link TestEm4, I get the following error messages:
===============================================
../libTestEm4.a(Em4RunAction.o):
In function `Em4RunAction::bookHisto(void)':
Em4RunAction.o(.text+0x3ed): undefined reference to
`HBookFile::HBookFile(char const *, int)'
===============================================

I have the include file HBookFile.h in the CLHEP/Hist directory.
Do I have to do anything else? Please advise.
Comment 1 Gabriele Cosmo 2000-08-22 10:55:59 CEST
As reported in the release-notes for Geant4 2.0, the new CLHEP release 1.5
does not support anymore the "Hist" module by default. The installation of
the "Hist" module on CLHEP has to be done manually (please ask to CLHEP
support for more details - editor: Evgueni.Tcherniev@cern.ch).
For a successful compilation of "extended/electromagnetic" examples, but
excluding capability of histogramming, compile with "gmake G4NOHIST=1".