[Insight-developers] [Fwd: [Fwd: SGI compilation from
Sintef
Bill Hoffman
bill.hoffman@kitware.com
Wed, 04 Dec 2002 10:17:38 -0500
--=====================_169308390==.ALT
Content-Type: text/plain; charset="us-ascii"
We need to research this more. His installation of the compiler may be broken. I suspect if we incorporate his changes, all other SGI's will stop working. He has the exact same compiler that we have access to on rolle but he gets different build results.
-Bill
At 09:39 AM 12/4/2002 -0500, Luis Ibanez wrote:
>Hi,
>
>John Kaspersen from Sintef has found a number
>of difficulties to build ITK on a SGI system.
>Most of them related with vnl.
>
>He found necessary to make the attached changed
>in vnl files. There seems to be a compiler version
>issue involved....
>
>Should be incorporate these changes in ITK ?
>
>Is there any better alternative ?
>
>
>Thanks
>
>
> Luis
>
>
>
>
>
>
>
>>From - Wed Dec 04 09:29:59 2002
>X-Mozilla-Status2: 10000000
>Return-Path: <luis.ibanez@kitware.com>
>Received: from mx1.biz.rr.com ([192.168.200.23]) by fep06.biz.rr.com
> (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP
> id <20021204125203.HOWD3911.fep06.biz.rr.com@mx1.biz.rr.com>
> for <luis.ibanez@kitware.com>; Wed, 4 Dec 2002 07:52:03 -0500
>Received: from fep03.biz.rr.com (fep03.biz.rr.com [24.30.201.200])
> by mx1.biz.rr.com (8.12.6/8.12.6) with ESMTP id gB4Cq3jT017125
> for <luis.ibanez@kitware.com>; Wed, 4 Dec 2002 07:52:03 -0500 (EST)
>Received: from kitware.com ([24.29.66.132]) by fep03.biz.rr.com with ESMTP
> id <20021204125203.UBPB1580.fep03.biz.rr.com@kitware.com>
> for <luis.ibanez@kitware.com>; Wed, 4 Dec 2002 07:52:03 -0500
>Message-ID: <3DEDFA0C.4040708@kitware.com>
>Date: Wed, 04 Dec 2002 07:50:20 -0500
>From: Luis Ibanez <luis.ibanez@kitware.com>
>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
>X-Accept-Language: en-us
>MIME-Version: 1.0
>To: luis.ibanez@kitware.com
>Subject: [Fwd: SGI compiling again !]
>Content-Type: multipart/mixed;
> boundary="------------030203090800080407000605"
>
>Index: Insight/Code/Numerics/vxl/vcl/vcl_compiler.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_compiler.h,v
>retrieving revision 1.5
>diff -r1.5 vcl_compiler.h
>8a9
>>
>18a20,21
>>
>> #error "compiler ver 730"
>20a24
>> #error "compiler ver 720"
>22a27
>>
>38a44
>>
>Index: Insight/Code/Numerics/vxl/vcl/vcl_complex.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_complex.h,v
>retrieving revision 1.5
>diff -r1.5 vcl_complex.h
>5a6,8
>>
>> #define VCL_SGI_CC_730
>>
>41a45
>> #error "VCL_SGI_CC_730"
>Index: Insight/Code/Numerics/vxl/vcl/vcl_cstddef.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_cstddef.h,v
>retrieving revision 1.3
>diff -r1.3 vcl_cstddef.h
>15a16,17
>> #elif defined(VCL_SGI_CC_730)
>> # include <stddef.h>
>Index: Insight/Code/Numerics/vxl/vcl/vcl_cstdio.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_cstdio.h,v
>retrieving revision 1.4
>diff -r1.4 vcl_cstdio.h
>25a26,36
>> # elif defined(VCL_SGI_CC_730)
>> #error "FPRINT"
>>
>>
>> #include "iso/vcl_cstdio.h"
>> # undef vcl_printf
>> # define vcl_printf ::printf
>> # undef vcl_sprintf
>> # define vcl_sprintf ::sprintf
>>
>>
>Index: Insight/Code/Numerics/vxl/vcl/vcl_cstring.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_cstring.h,v
>retrieving revision 1.3
>diff -r1.3 vcl_cstring.h
>15a16,23
>> #elif defined(VCL_SGI_CC_730)
>> # include<string.h>
>> # define vcl_generic_cstring_STD /* */
>>
>> # include "generic/vcl_cstring.h"
>>
>> #error "MEMCPY"
>>
>Index: Insight/Code/Numerics/vxl/vcl/vcl_ctime.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_ctime.h,v
>retrieving revision 1.2
>diff -r1.2 vcl_ctime.h
>11c11
>< #if !VCL_CXX_HAS_HEADER_CTIME || defined(VCL_METRO_WERKS)
>---
>> #if !VCL_CXX_HAS_HEADER_CTIME || defined(VCL_METRO_WERKS) || defined(VCL_SGI_CC_730)
>Index: Insight/Code/Numerics/vxl/vcl/sgi/vcl_cmath.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/sgi/vcl_cmath.h,v
>retrieving revision 1.3
>diff -r1.3 vcl_cmath.h
>4c4
>< #if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CMATH) && !VCL_CXX_HAS_HEADER_CMATH)
>---
>> //#if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CMATH) && !VCL_CXX_HAS_HEADER_CMATH)
>6c6
><
>---
>> #error "inside sgi/vcl_cmath.h"
>104,106c104,106
>< #else // iso
>< # include "../iso/vcl_cmath.h"
>< #endif
>---
>> //#else // iso
>> //# include "../iso/vcl_cmath.h"
>> //#endif
>Index: Insight/Code/Numerics/vxl/vcl/sgi/vcl_complex.txx
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/sgi/vcl_complex.txx,v
>retrieving revision 1.1.1.1
>diff -r1.1.1.1 vcl_complex.txx
>0a1,2
>> #error "In vcl_complex.txx"
>>
>Index: Insight/Code/Numerics/vxl/vcl/sgi/vcl_cstdlib.h
>===================================================================
>RCS file: /insight/cvsroot/Insight/Code/Numerics/vxl/vcl/sgi/vcl_cstdlib.h,v
>retrieving revision 1.1.1.2
>diff -r1.1.1.2 vcl_cstdlib.h
>5c5,7
>< #if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CSTDLIB) && !VCL_CXX_HAS_HEADER_CSTDLIB)
>---
>> #if defined(VCL_SGI_CC_730) || (defined(VCL_CXX_HAS_HEADER_CSTDLIB) && !VCL_CXX_HAS_HEADER_CSTDLIB)
>>
>> //#if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CSTDLIB) && !VCL_CXX_HAS_HEADER_CSTDLIB)
>>From - Sat Nov 30 08:31:08 2002
>X-Mozilla-Status2: 00000000
>Return-Path: <kaspersen@mac.com>
>Received: from mx4.biz.rr.com ([192.168.200.29]) by fep06.biz.rr.com
> (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP
> id <20021130103516.EBCE24403.fep06.biz.rr.com@mx4.biz.rr.com>
> for <luis.ibanez@kitware.com>; Sat, 30 Nov 2002 05:35:16 -0500
>Received: from smtpout.mac.com (A17-250-248-88.apple.com [17.250.248.88])
> by mx4.biz.rr.com (8.12.6/8.12.6) with ESMTP id gAUAZFQm002325
> for <luis.ibanez@kitware.com>; Sat, 30 Nov 2002 05:35:16 -0500 (EST)
>Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66])
> by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id gAUAZEiU016663
> for <luis.ibanez@kitware.com>; Sat, 30 Nov 2002 02:35:15 -0800 (PST)
>Received: from mac.com ([129.241.242.50]) by asmtp02.mac.com
> (Netscape Messaging Server 4.15) with ESMTP id H6DXEP00.45O for
> <luis.ibanez@kitware.com>; Sat, 30 Nov 2002 02:35:13 -0800
>Date: Sat, 30 Nov 2002 11:35:14 +0100
>Mime-Version: 1.0 (Apple Message framework v548)
>Content-Type: multipart/mixed; boundary=Apple-Mail-28-215771916
>Subject: SGI compiling again !
>From: Jon Harald Kaspersen <kaspersen@mac.com>
>To: Luis Ibanez <luis.ibanez@kitware.com>
>Message-Id: <68F1C184-044F-11D7-A7AF-00039364CC7A@mac.com>
>X-Mailer: Apple Mail (2.548)
>
>Hi Luis,
>
>I got ITK to compile on my SGI system, with some hacks. I followed the line I explained in my last mail. I had to redefine some of the vcl functions. The procedure I followed does very much like the one I followed when I was working with the CodeWarrior port. Anyway, if you are interested, I have attached the result of a cvs diff betweeen the cvs ITK version and the "hacked" sgi version.
>
>Have a nice weekend.
>Regards
>Jon
>
><br>
><br>
>
>========================================================
>Jon Harald Kaspersen Tel: +47 73 59 75 89
>Ph.D. Mechanical Engineering Mob: +47 93 03 65 90
>Senior Scientist Pager +47 96 84 29 94
>SINTEF Unimed - Ultralyd Fax: +47 73 59 78 73
>N-7465 Trondheim
>NORWAY e-mail: Jon.H.Kaspersen@unimed.sintef.no
> WEB: <http://www.us.unimed.sintef.no/>http://www.us.unimed.sintef.no/
>========================================================
><br>
></blockquote></x-html>
--=====================_169308390==.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<body>
We need to research this more. His installation of the
compiler may be broken. I suspect if we incorporate his
changes, all other SGI's will stop working. He has the
exact same compiler that we have access to on rolle but he gets different
build results. <br><br>
-Bill<br><br>
<br>
At 09:39 AM 12/4/2002 -0500, Luis Ibanez wrote:<br>
<blockquote type=cite class=cite cite>Hi,<br><br>
John Kaspersen from Sintef has found a number<br>
of difficulties to build ITK on a SGI system.<br>
Most of them related with vnl.<br><br>
He found necessary to make the attached changed<br>
in vnl files. There seems to be a compiler version<br>
issue involved....<br><br>
Should be incorporate these changes in ITK ?<br><br>
Is there any better alternative ?<br><br>
<br>
Thanks<br><br>
<br>
Luis<br><br>
<br><br>
<br><br>
<br><br>
>From - Wed Dec 04 09:29:59 2002<br>
X-Mozilla-Status2: 10000000<br>
Return-Path: <luis.ibanez@kitware.com><br>
Received: from mx1.biz.rr.com ([192.168.200.23]) by
fep06.biz.rr.com<br>
(InterMail
vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP<br>
id
<20021204125203.HOWD3911.fep06.biz.rr.com@mx1.biz.rr.com><br>
for
<luis.ibanez@kitware.com>; Wed, 4 Dec 2002 07:52:03 -0500<br>
Received: from fep03.biz.rr.com (fep03.biz.rr.com [24.30.201.200])<br>
<x-tab> </x-tab>by
mx1.biz.rr.com (8.12.6/8.12.6) with ESMTP id gB4Cq3jT017125<br>
<x-tab> </x-tab>for
<luis.ibanez@kitware.com>; Wed, 4 Dec 2002 07:52:03 -0500
(EST)<br>
Received: from kitware.com ([24.29.66.132]) by fep03.biz.rr.com with
ESMTP<br>
id
<20021204125203.UBPB1580.fep03.biz.rr.com@kitware.com><br>
for
<luis.ibanez@kitware.com>; Wed, 4 Dec 2002 07:52:03 -0500<br>
Message-ID: <3DEDFA0C.4040708@kitware.com><br>
Date: Wed, 04 Dec 2002 07:50:20 -0500<br>
From: Luis Ibanez <luis.ibanez@kitware.com><br>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1)
Gecko/20010901<br>
X-Accept-Language: en-us<br>
MIME-Version: 1.0<br>
To: luis.ibanez@kitware.com<br>
Subject: [Fwd: SGI compiling again !]<br>
Content-Type: multipart/mixed;<br>
boundary="------------030203090800080407000605"<br><br>
Index: Insight/Code/Numerics/vxl/vcl/vcl_compiler.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_compiler.h,v<br>
retrieving revision 1.5<br>
diff -r1.5 vcl_compiler.h<br>
8a9<br>
> <br>
18a20,21<br>
> <br>
> #error "compiler ver 730"<br>
20a24<br>
> #error "compiler ver 720"<br>
22a27<br>
> <br>
38a44<br>
> <br>
Index: Insight/Code/Numerics/vxl/vcl/vcl_complex.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_complex.h,v<br>
retrieving revision 1.5<br>
diff -r1.5 vcl_complex.h<br>
5a6,8<br>
> <br>
> #define VCL_SGI_CC_730<br>
> <br>
41a45<br>
> #error "VCL_SGI_CC_730"<br>
Index: Insight/Code/Numerics/vxl/vcl/vcl_cstddef.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_cstddef.h,v<br>
retrieving revision 1.3<br>
diff -r1.3 vcl_cstddef.h<br>
15a16,17<br>
> #elif defined(VCL_SGI_CC_730)<br>
> # include <stddef.h><br>
Index: Insight/Code/Numerics/vxl/vcl/vcl_cstdio.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_cstdio.h,v<br>
retrieving revision 1.4<br>
diff -r1.4 vcl_cstdio.h<br>
25a26,36<br>
> # elif defined(VCL_SGI_CC_730)<br>
> #error "FPRINT"<br>
> <br>
> <br>
> #include "iso/vcl_cstdio.h"<br>
> # undef vcl_printf<br>
> # define vcl_printf ::printf<br>
> # undef vcl_sprintf<br>
> # define vcl_sprintf ::sprintf<br>
> <br>
> <br>
Index: Insight/Code/Numerics/vxl/vcl/vcl_cstring.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_cstring.h,v<br>
retrieving revision 1.3<br>
diff -r1.3 vcl_cstring.h<br>
15a16,23<br>
> #elif defined(VCL_SGI_CC_730)<br>
> # include<string.h><br>
> # define vcl_generic_cstring_STD /* */<br>
> <br>
> # include "generic/vcl_cstring.h"<br>
> <br>
> #error "MEMCPY"<br>
> <br>
Index: Insight/Code/Numerics/vxl/vcl/vcl_ctime.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/vcl_ctime.h,v<br>
retrieving revision 1.2<br>
diff -r1.2 vcl_ctime.h<br>
11c11<br>
< #if !VCL_CXX_HAS_HEADER_CTIME || defined(VCL_METRO_WERKS)<br>
---<br>
> #if !VCL_CXX_HAS_HEADER_CTIME || defined(VCL_METRO_WERKS) ||
defined(VCL_SGI_CC_730)<br>
Index: Insight/Code/Numerics/vxl/vcl/sgi/vcl_cmath.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/sgi/vcl_cmath.h,v<br>
retrieving revision 1.3<br>
diff -r1.3 vcl_cmath.h<br>
4c4<br>
< #if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CMATH)
&& !VCL_CXX_HAS_HEADER_CMATH)<br>
---<br>
> //#if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CMATH)
&& !VCL_CXX_HAS_HEADER_CMATH)<br>
6c6<br>
< <br>
---<br>
> #error "inside sgi/vcl_cmath.h"<br>
104,106c104,106<br>
< #else // iso<br>
< # include "../iso/vcl_cmath.h"<br>
< #endif<br>
---<br>
> //#else // iso<br>
> //# include "../iso/vcl_cmath.h"<br>
> //#endif<br>
Index: Insight/Code/Numerics/vxl/vcl/sgi/vcl_complex.txx<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/sgi/vcl_complex.txx,v<br>
retrieving revision 1.1.1.1<br>
diff -r1.1.1.1 vcl_complex.txx<br>
0a1,2<br>
> #error "In vcl_complex.txx"<br>
> <br>
Index: Insight/Code/Numerics/vxl/vcl/sgi/vcl_cstdlib.h<br>
===================================================================<br>
RCS file:
/insight/cvsroot/Insight/Code/Numerics/vxl/vcl/sgi/vcl_cstdlib.h,v<br>
retrieving revision 1.1.1.2<br>
diff -r1.1.1.2 vcl_cstdlib.h<br>
5c5,7<br>
< #if defined(VCL_SGI_CC_720) || (defined(VCL_CXX_HAS_HEADER_CSTDLIB)
&& !VCL_CXX_HAS_HEADER_CSTDLIB)<br>
---<br>
> #if defined(VCL_SGI_CC_730) || (defined(VCL_CXX_HAS_HEADER_CSTDLIB)
&& !VCL_CXX_HAS_HEADER_CSTDLIB)<br>
> <br>
> //#if defined(VCL_SGI_CC_720) ||
(defined(VCL_CXX_HAS_HEADER_CSTDLIB) &&
!VCL_CXX_HAS_HEADER_CSTDLIB)<br>
>From - Sat Nov 30 08:31:08 2002<br>
X-Mozilla-Status2: 00000000<br>
Return-Path: <kaspersen@mac.com><br>
Received: from mx4.biz.rr.com ([192.168.200.29]) by
fep06.biz.rr.com<br>
(InterMail
vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP<br>
id
<20021130103516.EBCE24403.fep06.biz.rr.com@mx4.biz.rr.com><br>
for
<luis.ibanez@kitware.com>; Sat, 30 Nov 2002 05:35:16 -0500<br>
Received: from smtpout.mac.com (A17-250-248-88.apple.com
[17.250.248.88])<br>
<x-tab> </x-tab>by
mx4.biz.rr.com (8.12.6/8.12.6) with ESMTP id gAUAZFQm002325<br>
<x-tab> </x-tab>for
<luis.ibanez@kitware.com>; Sat, 30 Nov 2002 05:35:16 -0500
(EST)<br>
Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66])<br>
<x-tab> </x-tab>by
smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id gAUAZEiU016663<br>
<x-tab> </x-tab>for
<luis.ibanez@kitware.com>; Sat, 30 Nov 2002 02:35:15 -0800
(PST)<br>
Received: from mac.com ([129.241.242.50]) by asmtp02.mac.com<br>
(Netscape
Messaging Server 4.15) with ESMTP id H6DXEP00.45O for<br>
<luis.ibanez@kitware.com>; Sat, 30 Nov 2002 02:35:13 -0800 <br>
Date: Sat, 30 Nov 2002 11:35:14 +0100<br>
Mime-Version: 1.0 (Apple Message framework v548)<br>
Content-Type: multipart/mixed; boundary=Apple-Mail-28-215771916<br>
Subject: SGI compiling again !<br>
From: Jon Harald Kaspersen <kaspersen@mac.com><br>
To: Luis Ibanez <luis.ibanez@kitware.com><br>
Message-Id: <68F1C184-044F-11D7-A7AF-00039364CC7A@mac.com><br>
X-Mailer: Apple Mail (2.548)<br><br>
Hi Luis, <br><br>
I got ITK to compile on my SGI system, with some hacks. I followed
the line I explained in my last mail. I had to redefine some of the
vcl functions. The procedure I followed does very much like the one
I followed when I was working with the CodeWarrior port. Anyway, if
you are interested, I have attached the result of a cvs diff betweeen the
cvs ITK version and the "hacked" sgi version. <br><br>
Have a nice weekend. <br>
Regards <br>
Jon <br><br>
<br><br>
<br><br><br>
<font face="Helvetica, Helvetica">========================================================
<br>
Jon Harald
Kaspersen<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>Tel:
<x-tab> </x-tab><x-tab> </x-tab>+47
73 59 75 89 <br>
Ph.D. Mechanical
Engineering<x-tab> </x-tab><x-tab> </x-tab>Mob:<x-tab> </x-tab><x-tab> </x-tab>+47
93 03 65 90 <br>
Senior
Scientist<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>Pager<x-tab> </x-tab>+47
96 84 29 94 <br>
SINTEF Unimed -
Ultralyd<x-tab> </x-tab><x-tab> </x-tab>Fax:
<x-tab> </x-tab><x-tab> </x-tab>+47
73 59 78 73 <br>
N-7465 Trondheim <br>
NORWAY<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>e-mail:<x-tab> </x-tab>Jon.H.Kaspersen@unimed.sintef.no
<br>
<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>WEB:<x-tab> </x-tab></font><a href="http://www.us.unimed.sintef.no/"><font face="Helvetica, Helvetica" color="#1A1AFF"><u>http://www.us.unimed.sintef.no/</a></u></font><font face="Helvetica, Helvetica">
<br>
========================================================</font> <br>
<br><br>
</blockquote></x-html> </blockquote></body>
</html>
--=====================_169308390==.ALT--