Problem 4 - Missing RWCstring::hash: produces link error in g3tog4.
Summary: Missing RWCstring::hash: produces link error in g3tog4.
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: global (show other problems)
Version: 0.1
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 1999-08-04 07:20 CEST by Yoshiyuki.Miyachi
Modified: 2002-04-17 04:38 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 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.