[Insight-users] cableSwig 64 bit compile error

Zhu, Yaoyao (NIH/NLM/LHC) [C] zhuyao at mail.nih.gov
Thu Aug 16 13:19:22 EDT 2007


Hello, all 

 

I tried to compile cableSwig in Sparc Sun. I compiled it for 64 bits
using -m64 option for gcc and c++. I got the following error:

 

 

In file included from
/opt/staple/CableSwig-ITK-3.2.0/GCC/gcc/gengenrtl.c:29:

/opt/staple/CableSwig-ITK-3.2.0/GCC/gcc/real.h:67: error: size of array
`test_real_width' is negative

*** Error code 1

The following command caused the error:

/usr/sfw/bin/gcc  -m64  -w -I/opt/staple/swigWhistler/GCC/gcc
-I/opt/staple/CableSwig-ITK-3.2.0/GCC/gcc$

-I/opt/staple/CableSwig-ITK-3.2.0/GCC/gcc
-I/opt/staple/CableSwig-ITK-3.2.0/GCC/include -I/opt/staple/C$

-I/opt/staple/CableSwig-ITK-3.2.0/Cable/Parsers
-I/opt/staple/CableSwig-ITK-3.2.0/Cable/Generators

-I/opt/staple/CableSwig-ITK-3.2.0/Cable/Expat
-I/opt/staple/CableSwig-ITK-3.2.0/Cable/Executables

-I/opt/staple/CableSwig-ITK-3.2.0/Cable/CxxTypes
-I/opt/staple/swigWhistler/Cable -I/opt/staple/swigWhi$

-I/opt/staple/swigWhistler/SWIG/Source/Include
-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/DOH/Includ$

-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/Include
-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/DOH

-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/Swig
-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/Prepro$

-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/CParse
-I/opt/staple/CableSwig-ITK-3.2.0/SWIG/Source/Modu$

-DHAVE_CONFIG_H -DGENERATOR_FILE -o
GCC/gcc/CMakeFiles/gengenrtl.dir/gengenrtl.o   -c

/opt/staple/CableSwig-ITK-3.2.0/GCC/gcc/gengenrtl.c

make: Fatal error: Command failed for target
`GCC/gcc/CMakeFiles/gengenrtl.dir/gengenrtl.o'

Current working directory /opt/staple/swigWhistler

*** Error code 1

The following command caused the error:

make -f GCC/gcc/CMakeFiles/gengenrtl.dir/build.make
GCC/gcc/CMakeFiles/gengenrtl.dir/build

make: Fatal error: Command failed for target
`GCC/gcc/CMakeFiles/gengenrtl.dir/all'

Current working directory /opt/staple/swigWhistler

*** Error code 1

The following command caused the error:

make -f CMakeFiles/Makefile2 all

make: Fatal error: Command failed for target `all'

 

 

Could anyone help me out about this thing? Thanks in advance.

 

Yao

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070816/c1e0ab71/attachment.html


More information about the Insight-users mailing list