[Paraview] Is There An Error In vtkSocketCommunicator (2.4.2)?

William A. Hoffman billlist at nycap.rr.com
Tue Feb 21 11:40:17 EST 2006


This means a trycompile was bad.  Can you look at CMakeOutput.log
and CMakeError.log and find the place where socken_t was incorrectly
determined.

-Bill


At 03:08 PM 2/17/2006, Kent Eschenberg wrote:
>I can't tell whether this is a bug or another dumb thing I've done. Compiling a fresh download of 2.4.2 on a Fedora Core 4 system (cmake 2.2-patch 2, gcc 4.0.2) with no changes yields the following error:
>
>======
>.../VTK/Parallel/vtkSocketCommunicator.cxx:
>In member function
>virtual int vtkSocketCommunicator::GetPort(int):
>error: invalid conversion from int* to socklen_t*
>======
>
>At the top of this routine are the lines
>
>======
>#if defined(VTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T)
> socklen_t sizebuf = sizeof(sockinfo);
>#else
> int sizebuf = sizeof(sockinfo);
>#endif
>======
>
>and the only line in CMakeCache.txt that includes the flag is
>
>======
>VTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T:INTERNAL=1
>======
>
>So, "&sizebuf" is an "int*" and gcc doesn't know how to convert it to "socklen_t*".
>
>On a hunch I tried merely re-running cmake then make. None of the files from the first cycle were changed. This worked without problems.
>
>What do you think is wrong?
>
>Thanks!
>Kent
>Pittsburgh Supercomputing Center
>
>_______________________________________________
>ParaView mailing list
>ParaView at paraview.org
>http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list