GALPROP
https://galprop.stanford.edu/forum/

link - problem
https://galprop.stanford.edu/forum/viewtopic.php?f=6&t=231
Page 1 of 1

Author:  vitor [ Wed Jul 20, 2016 10:40 am ]
Post subject:  link - problem

When I compile galprop I get the following error:

libtool: link: g++ -g -pipe -O3 -Wall -o .libs/galprop galpropMain.o libgalprop.a libskymap.a -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. -L/home/vitor/aplicativos/cfitsio/lib -L/home/vitor/aplicativos/CCfits/lib /home/vitor/aplicativos/CCfits/lib/libCCfits.so -L/home/vitor/aplicativos/cfitsio//lib -lcfitsio -L/home/vitor/aplicativos/Healpix_3.30/src/cxx/basic_gcc/lib -lhealpix_cxx -lcxxsupport -lfftpack -lgfortranbegin -lgfortran -L/home/vitor/aplicativos/gsl-2.1/lib /home/vitor/aplicativos/gsl-2.1/lib/libgsl.so /home/vitor/aplicativos/gsl-2.1/lib/libgslcblas.so -lm -L/home/vitor/aplicativos/clhep-install/lib -lCLHEP -Wl,-rpath -Wl,/home/vitor/aplicativos/CCfits/lib -Wl,-rpath -Wl,/home/vitor/aplicativos/gsl-2.1/lib
libgalprop.a(AvXCO.o): In function `SM::LOSboundError::~LOSboundError()':
/home/vitor/simulacao/galprop/galprop-54.1.984/source/los_integration.h:29: undefined reference to `std::out_of_range::~out_of_range()'
libgalprop.a(AvXCO.o): In function `~LOSboundError':
/home/vitor/simulacao/galprop/galprop-54.1.984/source/los_integration.h:29: undefined reference to `std::out_of_range::~out_of_range()'
libgalprop.a(AvXCO.o): In function `SM::LOSargumentError::~LOSargumentError()':
/home/vitor/simulacao/galprop/galprop-54.1.984/source/los_integration.h:37: undefined reference to `std::invalid_argument::~invalid_argument()'
libgalprop.a(AvXCO.o): In function `~LOSargumentError':
/home/vitor/simulacao/galprop/galprop-54.1.984/source/los_integration.h:37: undefined reference to `std::invalid_argument::~invalid_argument()'
collect2: error: ld returned 1 exit status
make[1]: *** [galprop] Error 1
make[1]: Leaving directory `/home/vitor/simulacao/galprop/galprop-54.1.984/source'
make: *** [install-recursive] Error 1


Any help ?

Thanks, Vitor

Author:  gudlaugu [ Wed Jul 20, 2016 12:33 pm ]
Post subject:  Re: link - problem

This looks like an error with the exceptions in the standard c++ library. Make sure your installation of gcc and libstdc++ are compatible and not somehow broken.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/