[Insight-users] undefined reference to `__cxa_get_exception_ptr'

Luis Ibanez luis.ibanez at kitware.com
Mon Oct 8 18:55:32 EDT 2007


Hi Soosho,

A Google search for "__cxa_get_exception_ptr"
bring us to:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20170

which seems to indicate that you may be linking
to the wrong version of libstdc++.


You are probably mixing versions of the gcc compiler
and libstdc++.


    Regards,


       Luis



----------------
soosho wrote:
> Hi All
> 
> Hope you are all fine. 
> 
> I am trying to complie ImageRegistration1.cxx. I have done same task
> many times before in my old machine. I got the following link error (see
> below).
> 
> 		undefined reference to `__cxa_get_exception_ptr'
> 
> I checked all of include and libraries paths many times. It seems that
> some archive is not in the library search path. But I can not find the
> library containing  `__cxa_get_exception_ptr'. Also note that I compiled
> ImageRegistration1.cxx with same Makefile many times in my previous
> machine with same libraries ?!!
> 
> Is there any idea??
> 
> Thanks


More information about the Insight-users mailing list