[Paraview] building paraview-1.8.1 on sparc-solaris 2.8

Jason.Beech-Brandt at ed.ac.uk Jason.Beech-Brandt at ed.ac.uk
Mon Dec 13 10:05:12 EST 2004


Hi,

I'm attempting to compile paraview-1.8.1 on an UltraSparc Sun running
Solaris 2.8.  My compiler is gcc-3.4.3.  Everything compile fine until I
get to vtkSocketCommunicator.cxx, at which point I get the following
compile error.

c++ -o vtkSocketCommunicator.o -DvtkParallel_EXPORTS -Wno-deprecated
-Wno-deprecated -fPIC
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Utilities
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Parallel
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Hybrid
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Patented
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Rendering
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/IO
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Imaging
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Graphics
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/GenericFiltering
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Filtering
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Common
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Utilities
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Common/Testing/Cxx
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Utilities/DICOMParser
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Utilities/DICOMParser
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Utilities/freetype/include
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Utilities/freetype/include
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Utilities/freetype
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Utilities/ftgl/src
-I/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Utilities/ftgl
-I/usr/openwin/share/include -DVTK_PYTHON_BUILD -DVTK_LEAN_AND_MEAN -c
/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Parallel/vtkSocketCommunicator.cxx
/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Parallel/vtkSocketCommunicator.cxx:
In member function `virtual int vtkSocketCommunicator::GetPort(int)':
/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Parallel/vtkSocketCommunicator.cxx:295:
error: invalid conversion from `int*' to `socklen_t*'
/deptpc/scratch/jbbrand1/packages/paraview-1.8.1/VTK/Parallel/vtkSocketCommunicator.cxx:295:
error:  initializing argument 3 of `int getsockname(int, sockaddr*,
socklen_t*)' gmake[5]: *** [vtkSocketCommunicator.o] Error 1 gmake[5]:
Leaving directory
`/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Parallel'
gmake[4]: *** [default_target] Error 2 gmake[4]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK/Parallel'
gmake[3]: *** [default_target_Parallel] Error 2 gmake[3]: Leaving
directory `/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK'
gmake[2]: *** [default_target] Error 2 gmake[2]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris/VTK' gmake[1]:
*** [default_target_VTK] Error 2 gmake[1]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/paraview-1.8.1-solaris' gmake: ***
[default_target] Error 2

Any ideas on how to procede with this?

Thanks for any suggestions.

Jason


More information about the ParaView mailing list