It is currently Sun Nov 28, 2021 5:17 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: link - problem
PostPosted: Wed Jul 20, 2016 10:40 am 
Offline

Joined: Tue Apr 05, 2016 1:42 pm
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: link - problem
PostPosted: Wed Jul 20, 2016 12:33 pm 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
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.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group