Hi Hans,
On Oct 5, 2005, at 9:52 AM, Hans Fynbo wrote:
Trying to install GEANT4 on my powerbook G4 running 10.4 gcc 4.0 I
get the following
error. Any suggestions ?
Hans
Making all in src
g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../GenericFunctions -I.. -I/sw/
include -O -ansi -pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o Abs.o
Abs.cc
g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../GenericFunctions -I.. -I/sw/
include -O -ansi -pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o
AbsFunctional.o AbsFunctional.cc
g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../GenericFunctions -I.. -I/sw/
include -O -ansi -pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o
AbsFunction.o AbsFunction.cc
AbsFunction.cc: In function `Genfun::FunctionPlusParameter
Genfun::operator-(const Genfun::AbsFunction&, const
Genfun::AbsParameter&)':
AbsFunction.cc:127: error: cannot allocate an object of abstract
type 'Genfun::AbsParameter'
../CLHEP/GenericFunctions/AbsParameter.hh:22: note: because the
following virtual functions are pure within 'Genfun::AbsParameter':
../CLHEP/GenericFunctions/AbsParameter.hh:36: note: virtual double
Genfun::AbsParameter::getValue() const
../CLHEP/GenericFunctions/AbsParameter.hh:50: note: virtual
Genfun::AbsParameter* Genfun::AbsParameter::_clone() const
AbsFunction.cc: In function `Genfun::FunctionTimesParameter
Genfun::operator/(const Genfun::AbsFunction&, const
Genfun::AbsParameter&)':
AbsFunction.cc:133: error: cannot allocate an object of abstract
type 'Genfun::AbsParameter'
../CLHEP/GenericFunctions/AbsParameter.hh:22: note: since type
'Genfun::AbsParameter' has pure virtual functions
AbsFunction.cc: In function `Genfun::FunctionPlusParameter
Genfun::operator-(const Genfun::AbsParameter&, const
Genfun::AbsFunction&)':
AbsFunction.cc:146: error: cannot allocate an object of abstract
type 'Genfun::AbsFunction'
../CLHEP/GenericFunctions/AbsFunction.hh:47: note: because the
following virtual functions are pure within 'Genfun::AbsFunction':
../CLHEP/GenericFunctions/AbsFunction.hh:64: note: virtual double
Genfun::AbsFunction::operator()(double) const
../CLHEP/GenericFunctions/AbsFunction.hh:65: note: virtual double
Genfun::AbsFunction::operator()(const Genfun::Argument&) const
../CLHEP/GenericFunctions/AbsFunction.hh:87: note: virtual
Genfun::AbsFunction* Genfun::AbsFunction::_clone() const
AbsFunction.cc: In function `Genfun::FunctionTimesParameter
Genfun::operator/(const Genfun::AbsParameter&, const
Genfun::AbsFunction&)':
AbsFunction.cc:151: error: cannot allocate an object of abstract
type 'Genfun::AbsFunction'
../CLHEP/GenericFunctions/AbsFunction.hh:47: note: since type
'Genfun::AbsFunction' has pure virtual functions
make[2]: *** [AbsFunction.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-clhep-1.9.2.1-51
(Reading database ... 28647 files and directories currently
installed.)
Removing fink-buildlock-clhep-1.9.2.1-51 ...
Failed: phase compiling: clhep-1.9.2.1-51 failed
I cannot reproduce this problem (PB G4, gcc 4.0). Can you send me the
output of the following commands:
g++-4.0 -v
where g++-4.0
fink list clhep
Cheers,
Remi
--
I haven't lost my mind - it's backed up on my disk somewhere.
*********************************************************************
Remigius K. Mommsen e-mail: [EMAIL PROTECTED]
University of Manchester URL: http://cern.ch/mommsen
Fermilab, MS 357 voice: ++1 (630) 840-8321
P.O. Box 500 fax: ++1 (630) 840-2649
Batavia, Il 60510, US home: ++1 (630) 236-0932
*********************************************************************
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users