| Summary: | Doesn't link properly | ||
|---|---|---|---|
| Product: | Examples/Extended | Reporter: | jdlee |
| Component: | analysis/A0 | Assignee: | Mark.Donszelmann |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
jdlee
2004-02-16 15:12:29 CET
The SLAC team has just released a new installation CD for G4.6.0p01. It includes significant revisions of components relevant to this bug. Please try the instructions there. http://geant4.slac.stanford.edu/g4cd/March2004/Welcome.html No plotter window showing up is the expected behaviour when G4ANALYSIS_USE is not set. You dont say which version of gcc you are using, so I am unclear if Linux- g++2/aidajni-setup.csh is the correct setup file to read. Reassign to mark to see if he any other thoughts. Could you add the output of the command: aida-config --lib and let us know if you use g++ 2.95.x or g++ 3.x ? Version 3.2.0 of AIDAJNI has setup scripts in which the variable:
AIDAJNI_LIBS contains spaces between -L <dir> and -l <library, while the
linker only acceps -L<dir> -l<library.
The correct line should be:
setenv AIDAJNI_LIBS "-L${AIDAJNI_HOME}/lib/Linux-g++2 -lAIDAJNI -lFHJNI -
L${JDK_HOME}/jre/lib/i386/client -ljvm"
This is fixed if you use AIDAJNI 3.2.1, which has just been released.
Thanks for all your help! I finally fixed the problem by patching "-l" and "<library>". |