[Insight-users] compile error ITK 3.4
Rupert Brooks
rupe.brooks at gmail.com
Fri Mar 28 11:19:07 EDT 2008
Hi,
I'm trying to build ITK 3.4 on a 64bit linux system . I'm getting an
error i havent seen before in the VXL compile
[ 34%] Building C object
Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/blas/dlamch.o
cc1: error: unrecognized command line option "-fp_port"
make[2]: *** [Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/blas/dlamch.o]
Error 1
make[1]: *** [Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/all] Error 2
make: *** [all] Error 2
The compiler im using is gcc 4.1.2, configured to support MPI.
Looking in the GCC manual, i cant find what -fp_port is. Its also not
obvious to me where this parameter comes from, its not in any of the
options of the top level ITK cmake. (Perhaps its buried down in the
VXL part somewhere.)
Has anyone seen this, or have suggestions?
Thanks
Rupert B.
Some details, in case they help
[brooksru at ip01 Release]$ mpiCC --version
g++ (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[brooksru at ip01 Release]$ uname -a
Linux ip01 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:02:30 EST 2008
x86_64 x86_64 x86_64 GNU/Linux
[brooksru at ip01 Release]$ make VERBOSE=1
<snipped>
[ 34%] Building C object
Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/blas/dlamch.o
/opt/ofed/1.2.5.5/mpi/gcc/mvapich-0.9.9/bin/mpicc -w -w -O3 -DNDEBUG
-I/home/brooksru/itk/build/Release
-I/home/brooksru/itk/src/Insight/Code/Algorithms
-I/home/brooksru/itk/src/Insight/Code/BasicFilters
-I/home/brooksru/itk/src/Insight/Co
de/Common -I/home/brooksru/itk/src/Insight/Code/Numerics
-I/home/brooksru/itk/src/Insight/Code/IO
-I/home/brooksru/itk/src/Insight/Code/Numerics/FEM
-I/home/brooksru/itk/src/Insight/Code/Numerics/Statistics
-I/home/brooksru/itk/src/Insight/Code/Numerics/NeuralNetworks
-I/home/brooksru/itk/src/Insight/Code/SpatialObject
-I/home/brooksru/itk/src/Insight/Utilities/MetaIO
-I/home/brooksru/itk/src/Insight/Utilities/NrrdIO
-I/home/brooksru/itk/src/Insight/Utilities/DICOMParser
-I/home/brooksru/itk/build/Release/Utilities/DICOMParser
-I/home/brooksru/itk/build/Release/Utilities/expat
-I/home/brooksru/itk/src/Insight/Utilities/expat
-I/home/brooksru/itk/src/Insight/Utilities/nifti/niftilib
-I/home/brooksru/itk/src/Insight/Utilities/nifti/znzlib
-I/home/brooksru/itk/src/Insight/Utilities/itkExtHdrs
-I/home/brooksru/itk/build/Release/Utilities
-I/home/brooksru/itk/src/Insight/Utilities
-I/home/brooksru/itk/build/Release/Code/Common
-I/home/brooksru/itk/src/Insight/Utilities/vxl/vcl
-I/home/brooksru/itk/src/Insight/Utilities/vxl/core
-I/home/brooksru/itk/build/Release/Utilities/vxl/vcl
-I/home/brooksru/itk/build/Release/Utilities/vxl/core
-I/home/brooksru/itk/build/Release/Utilities/gdcm
-I/home/brooksru/itk/src/Insight/Utilities/gdcm/src
-I/home/brooksru/itk/src/Insight/Utilities/vxl/v3p/netlib
-DV3P_NETLIB_SRC -fp_port -o
Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/blas/dlamch.o
-c /home/brooksru/itk/src/Insight/Utilities/vxl/v3p/netlib/blas/dlamch.c
cc1: error: unrecognized command line option "-fp_port"
make[2]: *** [Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/blas/dlamch.o]
Error 1
make[2]: Leaving directory `/home/brooksru/itk/build/Release'
make[1]: *** [Utilities/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/all] Error 2
make[1]: Leaving directory `/home/brooksru/itk/build/Release'
make: *** [all] Error 2
--
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
Ph.D Student, Electrical and Computer Engineering
http://www.cyberus.ca/~rbrooks
More information about the Insight-users
mailing list