[Insight-users] Error message while compiling ITK.

Bill Hoffman bill . hoffman at kitware . com
Wed, 14 Aug 2002 14:45:02 -0400


I would try changing the -O2 -g to a -g.
What version of gcc are you using?

-Bill


At 02:21 PM 8/14/2002 -0400, Linglan Edwards wrote:
>Hi Luis,
>
>No. I was compiling it on Sun workstation running SunOS 5.8.
>
>Linglan
>
>>Date: Wed, 14 Aug 2002 14:11:18 -0400
>>From: Luis Ibanez <luis.ibanez@kitware.com>
>>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.8) 
>Gecko/20020204
>>X-Accept-Language: en-us
>>MIME-Version: 1.0
>>To: Linglan Edwards <linglan@nlm.nih.gov>
>>CC: insight-users@public.kitware.com
>>Subject: Re: [Insight-users] Error message while compiling ITK.
>>Content-Transfer-Encoding: 7bit
>>
>>Hi Linglan,
>>
>>Have you installed service pack 5 for Visual Studio ?
>>
>>http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.asp
>>
>>Luis
>>
>>==================================================
>>
>>Linglan Edwards wrote:
>>> Hi,
>>> 
>>> I got the following error message when I tried to compile ITK (just got it 
>via 
>>> cvs). Does anyone know what could be causing it?
>>> 
>>> Thanks,
>>> 
>>> Linglan
>>> 
>>> ---------
>>> 
>>> .....
>>> c++: Internal compiler error: program as got fatal signal 10
>>> *** Error code 1
>>> The following command caused the error:
>>> c++ -g -O2 -ftemplate-depth-50 -I/DevSrc/itk/Insight/Testing/Code/Algorithms 
>>> -I/DevSrc/itk/Insight -I/DevSrc/itk/Insight/Code/Numerics 
>>> -I/DevSrc/itk/Insight/Code/Common -I/DevSrc/itk/Insight/Code/IO 
>>> -I/DevSrc/itk/Insight/Code/Numerics/vxl 
>-I/DevSrc/itk/Insight/Code/Numerics/vxl 
>>> -I/DevSrc/itk/Insight/Code/Numerics/vxl/vcl 
>>> -I/DevSrc/itk/Insight/Code/Numerics/vxl/vcl 
>-I/DevSrc/itk/Insight/Utilities/png 
>>> -I/DevSrc/itk/Insight/Utilities/zlib -I/DevSrc/itk/Insight/Utilities/MetaIO 
>>> -I/DevSrc/itk/Insight/Code/BasicFilters -I/DevSrc/itk/Insight/Code/Algorithms 
>>> -I/DevSrc/itk/Insight/Code/Numerics/Statistics   -D_PTHREADS -c 
>>> 
>/DevSrc/itk/Insight/Testing/Code/Algorithms/itkMultiResolutionPDEDeformableRegis
>>> trationTest.cxx -o itkMultiResolutionPDEDeformableRegistrationTest.o
>>> make: Fatal error: Command failed for target 
>>> `itkMultiResolutionPDEDeformableRegistrationTest.o'
>>> Current working directory /DevSrc/itk/Insight/Testing/Code/Algorithms
>>
>>
>>
>
>============================
>Linglan Edwards, Ph.D.
>Senior Software Engineer
>National Library of Medicine
>Phone: (301) 435-3147
>Email: linglan@nlm.nih.gov
>
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users