Problem 661 - G4geomBoolean missing from LDLIBS
Summary: G4geomBoolean missing from LDLIBS
Status: RESOLVED WORKSFORME
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry (show other problems)
Version: 6.2
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2004-08-18 02:03 CEST by frank.gaede
Modified: 2004-08-25 12:15 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 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.