Problem 4

Summary: Missing RWCstring::hash: produces link error in g3tog4.
Product: Geant4 Reporter: Yoshiyuki.Miyachi
Component: globalAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 0.1   
Hardware: PC   
OS: Linux   

Description Yoshiyuki.Miyachi 1999-08-04 07:20:06 CEST
I try to make g4geom to use G3toG4code.cc, but linking error occured.
Linker said;
/home/miyachi/GEANT4/geant4.0.1/tmp/Linux-g++/g4geom/libg4geom.a(G3PartTable.o):
In function `G3PartTable::G3PartTable(void)':
G3PartTable.o(.text+0x1c): undefined reference to `RWCString::hash(RWCString
const &)'
G3PartTable.o(.text+0x24): undefined reference to `RWCString::hash(RWCString
const &)'

I compiled geant4.0.1 with the STL option. It seems that RWCString::hash(const
RWCString&) is not implemented yet for the STL option. In the
global/STLInterface/rw/cstring.h, there is only definition of hash(const
RWCString&) but not implimentation.

So what should I do and How can I do?
Comment 1 John.Allison 1999-08-06 10:10:59 CEST
Implemented RWCString::hash in STL Interface.  Will be in next patch.