[Insight-users] Re: error msg got when installing ITK on IBM AIX
5.2 (Henry)
Henry
nyhenry at gmail.com
Sat Sep 15 13:00:27 EDT 2007
Forgot to mention that first I got a error like
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/users/columbia/edxguo/itk/InsightToolkit-3.2.0/Utilities/itktiff/tif_fax3.h:38,
from
/users/columbia/edxguo/itk/InsightToolkit-3.2.0/Utilities/itktiff/mkg3states.c:42:
/users/columbia/edxguo/itk/InsightToolkit-3.2.0/Utilities/itktiff/tiff.h:89:
error: conflicting types for 'int32'
/usr/include/sys/inttypes.h:620: error: previous declaration of 'int32' was here
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
then I choose to turn of use system tiff and then I got the cstdio
error when I build it.
BTW, from the tiff.h, I found
* The so called TIFF types conflict with definitions from inttypes.h
* included from sys/types.h on AIX (at least using VisualAge compiler).
* We try to work around this by detecting this case. Defining
* _TIFF_DATA_TYPEDEFS_ short circuits the later definitions in tiff.h, and
* we will in the holes not provided for by inttypes.h.
Anybody has the same error before? Is my error related to this?
Thanks,
Henry
On 9/15/07, insight-users-request at itk.org <insight-users-request at itk.org> wrote:
> Send Insight-users mailing list submissions to
> insight-users at itk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.itk.org/mailman/listinfo/insight-users
> or, via email, send a message with subject or body 'help' to
> insight-users-request at itk.org
>
> You can reach the person managing the list at
> insight-users-owner at itk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Insight-users digest..."
>
> Today's Topics:
>
> 1. error msg got when installing ITK on IBM AIX 5.2 (Henry)
> 2. 2007 Workshop on Open-source and Open-data for MICCAI
> (Stephen R. Aylward)
>
>
> ---------- Forwarded message ----------
> From: Henry <nyhenry at gmail.com>
> To: insight-users at itk.org
> Date: Fri, 14 Sep 2007 13:34:43 -0400
> Subject: [Insight-users] error msg got when installing ITK on IBM AIX 5.2
> I am using cmake-2.4.2, InsightToolkit-3.2.0.
> Anybody know what is this about?
>
> Thanks!!
>
> Henry
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Scanning dependencies of target itkzlib
> Target "Utilities/itkzlib/CMakeFiles/itkzlib.dir/depend" is up to date.
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/adler32.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/gzio.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/inftrees.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/uncompr.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/compress.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/infblock.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/infutil.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/zutil.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/crc32.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/infcodes.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/deflate.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/inffast.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/inflate.o
> Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/trees.o
> Linking C shared library ../../bin/libitkzlib.so
> Target "Utilities/itkzlib/CMakeFiles/itkzlib.dir/build" is up to date.
> Scanning dependencies of target itkpng
> Target "Utilities/itkpng/CMakeFiles/itkpng.dir/depend" is up to date.
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngget.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngrio.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngwrite.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/png.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngmem.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngrtran.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngtrans.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngwtran.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngerror.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngpread.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngrutil.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngvcrd.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngwutil.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pnggccrd.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngread.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngset.o
> Building C object Utilities/itkpng/CMakeFiles/itkpng.dir/pngwio.o
> Linking C shared library ../../bin/libitkpng.so
> Target "Utilities/itkpng/CMakeFiles/itkpng.dir/build" is up to date.
> Scanning dependencies of target itkopenjpeg
> Target "Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/depend" is up to date.
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/bio.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/cio.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/dwt.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/event.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/image.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/j2k.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/j2k_lib.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/jp2.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/jpt.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/mct.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/mqc.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/openjpeg.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/pi.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/raw.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/t1.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/t2.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/tcd.o
> Building C object Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/tgt.o
> Linking C shared library ../../bin/libitkopenjpeg.so
> Target "Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/build" is up to date.
> Scanning dependencies of target itksys
> Target "Utilities/kwsys/CMakeFiles/itksys.dir/depend" is up to date.
> Building C object Utilities/kwsys/CMakeFiles/itksys.dir/ProcessUNIX.o
> Building C object Utilities/kwsys/CMakeFiles/itksys.dir/Base64.o
> Building C object Utilities/kwsys/CMakeFiles/itksys.dir/System.o
> Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/Directory.o
> In file included from
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/powerpc-ibm-aix5.2.0.0/bits/c++locale.h:43,
> from
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/iosfwd:46,
> from
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/bits/stl_algobase.h:70,
> from
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/bits/char_traits.h:46,
> from
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/string:47,
> from
> /users/columbia/edxguo/itk/itkbuild/Utilities/itksys/stl/string:38,
> from
> /users/columbia/edxguo/itk/InsightToolkit-3.2.0/Utilities/kwsys/Directory.cxx:19:
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/cstdio:108:
> error: `::fgetpos' has not been declared
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/cstdio:110:
> error: `::fopen' has not been declared
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/cstdio:115:
> error: `::freopen' has not been declared
> /rmount/local/apps/gcc-3.4.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../include/c++/3.4.1/cstdio:118:
> error: `::fsetpos' has not been declared
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
More information about the Insight-users
mailing list