Problem 131 - Compiler problems with dec OSF/1 4.0 and cxx 6.0
Summary: Compiler problems with dec OSF/1 4.0 and cxx 6.0
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 2.0
Hardware: DEC OSF/1
: P4 minor
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2000-07-16 04:12 CEST by s.nill
Modified: 2000-07-19 11:41 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 s.nill 2000-07-16 04:12:25 CEST
Hello

I am experience two problems while I am trying to create the geant libs.

1.) There is a warning message for many files. Below is a sample:
Making dependency for file src/G4UserPhysicsListMessenger.cc ...
In file included from /geant4.2.0/source/global/management/i
nclude/G4ios.hh:33,
                 from /geant4.2.0/source/global/management/i
nclude/globals.hh:30,
                 from /geant4.2.0/source/intercoms/include/G
4UImessenger.hh:15,
                 from include/G4UserPhysicsListMessenger.hh:50,
                 from src/G4UserPhysicsListMessenger.cc:21:
/geant4.2.0/source/global/management/include/g4std/iostream:
19: warning: No include path in which to find iostream

2.) The compiler crashes at various points with the following error message:
Compiling G4UserPhysicsListMessenger.cc ...
cxx: Fatal: A memory access violation (bus error or segmentation fault)
has occurred.  Please submit a problem report.
make: *** [/geant4.2.0/tmp/DEC-cxx/G4run/G4UserPhysicsListMe
ssenger.o] Error 1

We are using DEC/OSF-1 4.0 patchlevel 1229 with cxx 6.00. I know that you are
using dec-cxx 6.1 but I dont have a computer available with this compiler.
I can compile CLHEP without problems.

Is there a way to solve the problem without upgrading the machine. Would
precompiled libs from an other computer work without problems?

Thank you for your help

bye

Simeon Nill
s.nill@dkfz.de

German Cancer Research Center
Heidelberg, Germany
Comment 1 Gabriele Cosmo 2000-07-19 11:41:59 CEST
The DEC compiler cxx 6.0 should support native STL at the same strength 6.1
does. It looks to me a configuration problem in your environment.
Could you provide us with more information about your environment?
(please, send any reply to Gabriele.Cosmo@cern.ch)