Problem 661

Summary: G4geomBoolean missing from LDLIBS
Product: Geant4 Reporter: frank.gaede
Component: geometryAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 6.2   
Hardware: PC   
OS: Linux   

Description frank.gaede 2004-08-18 02:03:26 CEST
When linking a new version of the Mokka simulation program I get undefined references to
G4UnionSolid. Using 'LDFLAGS += -v' I realized that the corresponding library
libG4geomBoolean is missing in the linker call. Adding LDLIBS += -lG4geomBoolean -lCLHEP
cures the problem. This seems to be a workaround that should not be necessary as the list of
libraries that is created in binmake.gmk should be complete. Am I missing sth. or is this a bug
? The problem arises on linux both Suse 7.4 (gcc2.95) and Suse 8.2 (gcc3.3) with geant4 6.0,
6.1 and 6.2 1 with granular libraries.
Comment 1 Gabriele Cosmo 2004-08-25 12:15:59 CEST
You should verify your setup in your 'Mokka' application.
Using the default Geant4 build setup (as done in any of the examples) such problem
does not occur and applications link correctly.