[vtk-developers] New tree build on Irix wirth SPROC
William A. Hoffman
bill.hoffman at kitware.com
Tue Aug 21 20:23:44 EDT 2001
Ahhh..
That must be it.
You should set CMAKE_THREAD_LIBS to nothing in the cache file.
-Bill
At 04:56 PM 8/21/2001 -0700, John Shalf wrote:
>Bill,
>this is a typical SGI pthreads issue. When you compile your
>code, you have to be careful to eradicate all references to
>-lpthread. If you link with -lpthread or (and this is
>really strange) even compile object files with -lpthread
>present (even though it technically shouldn't do anything),
>your sproc will fail. Pthreads and sproc are completely
>incompatible with each other on Irix. I don't know why.
>
>Anyways, I've run in to this often before, so you have to
>nuke *all* of your object files and do a recursive search
>for "pthread" in your make/build files to ensure that they
>are not added inconspicuously to your code. Just a single
>object compiled with -lpthread contamination will cause the
>whole shebang to fail to work.
>
>-john
>
>"Lorensen, William E (CRD)" wrote:
> >
> > Has anyone built and run on Irix with SPROC? I can compile, but any
> threaded apps fail with:
> > ERROR: In vtkMultiThreader.cxx, line 312
> > vtkMultiThreader (0x1006b318): sproc call failed. Code: 1
> >
> > many times.
> >
> > Bill
> >
> > _______________________________________________
> > vtk-developers mailing list
> > vtk-developers at public.kitware.com
> > http://public.kitware.com/mailman/listinfo/vtk-developers
>
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtk-developers
More information about the vtk-developers
mailing list