[Insight-users] debian/gcc build error

Samson Timoner samson at mit . edu
Tue, 08 Jul 2003 12:04:50 -0400


I'm using gcc 2.95.4, with itk1.2, on a debian linux box.
I got an internal compiler error compiling examples, as shown below.

This is the first time I've used gcc 2.95.x with itk.
I don't believe I've had this problem with debian/gcc 3.0x.

Any thoughts on the solution other than updating my compiler?
(I thought itk supported gcc 2.95.x)

 Thanks,

-- Samson


/bigscratch/samson/prog/itk/build/Examples/Filtering: building default_target
/bigscratch/samson/prog/itk/build/Examples/IO: building default_target
/bigscratch/samson/prog/itk/build/Examples/Registration: building default_target
Building object file MultiResImageRegistration1.o...
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Common/itkImageRegionConstIterator.h: In method `class itk::ImageRegionConstIterator<itk::Image<float,2> > & itk::ImageRegionConstIterator<itk::Image<float,2> >::operator --()':
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Algorithms/itkMattesMutualInformationImageToImageMetric.txx:564:   instantiated from `itk::MattesMutualInformationImageToImageMetric<itk::Image<float,2>,itk::Image<float,2> >::GetValue(const itk::Array<double> &) const'
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Common/itkLinearInterpolateImageFunction.h:69:   instantiated from here
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Common/itkImageRegionConstIterator.h:282: Internal compiler error.
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Common/itkImageRegionConstIterator.h:282: Please submit a full bug report.
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Common/itkImageRegionConstIterator.h:282: Internal compiler error:
/bigscratch/samson/prog/itk/InsightToolkit-1.2.0/Code/Common/itkImageRegionConstIterator.h:282: See <URL:http://www . gnu . org/software/gcc/bugs . html> for instructions.
make[5]: *** [MultiResImageRegistration1.o] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Registration] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Examples] Error 2
make: *** [default_target] Error 2