Message: Re: Problem with GNUmake for Examples Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Problem with GNUmake for Examples 

Keywords: Examples Makefiles Linking Errors
Forum: Documentation and Examples
Re: Question Problem with GNUmake for Examples (Mark G Ibison)
Date: 14 Feb, 2003
From: Gabriele Cosmo <Gabriele Cosmo>

> I am a new user of GEANT4 on Linux (Debian v2.2.17) with gcc v2.95.4.
> The libraries have apparently been correctly installed and $G4INSTALL
> is set.
> Running 'gmake' however for any of the Novice Examples produces
> 'undefined reference' errors - see below. I have looked at the
> makefiles and checked that the libraries (such as 'libG4run.a') are
> present and that $G4LIB/$G4SYSTEM points to them.

from the error dump, it looks like you're using shared libraries (.so)
and not static libraries (.a). You should verify that the build process
for the kernel libraries (shared libs) was successful.
You can try to re-iterate the installation process and verify if any
error message gets generated during the creation of the kernel libraries.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Shared & Static Libraries problem?   (Mark Ibison - 14 Feb, 2003)
(_ None: Re: Shared & Static Libraries problem?   (Stephan Linn - 28 Mar, 2003)
 Add Message Add Message
to: "Re: Problem with GNUmake for Examples"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]