[Insight-developers] Once more with feeling: GCC 3, Implicit Template Instantion Issues

Bill Hoffman bill.hoffman@kitware.com
Fri, 14 Mar 2003 09:31:37 -0500


I think I found the problem.   

You seem to be using gcc and c++ as the C++ compiler.

configure:1939: checking whether the C++ compiler allows initialization of 
static const int
configure:1972: /home/scratch/kent/gcc3/bin/gcc -c -g -O2  conftest.C 1>&5

I searched the web and this error:

undefined reference to `__gxx_personality_v0'

Happens when you try to compile a c++ program with the gcc front end instead of the c++ front end to gcc.

Try this:
setenv CXX /home/scratch/kent/gcc3/bin/c++
setenv CC  /home/scratch/kent/gcc3/bin/gcc 
ccmake ../Insight

That should work, and works here.

-Bill