[Paraview-developers] [EXTERNAL] Re: Build error
Chris Harris
chris.harris at kitware.com
Mon Jun 4 08:48:38 EDT 2012
Hi Alan,
Ok, still no real clues, can you send me your CMakeCache.txt
Thanks,
Chris
On Fri, Jun 1, 2012 at 4:36 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> Chris,****
>
> I am still seeing the same error.****
>
> ** **
>
> //Thread library used.****
>
> CMAKE_THREAD_LIBS:STRING=-lpthread****
>
> ** **
>
> //Use the pthreads library.****
>
> CMAKE_USE_PTHREADS:BOOL=1****
>
> ** **
>
> Alan****
>
> ** **
>
> ** **
>
> *From:* Chris Harris [mailto:chris.harris at kitware.com]
> *Sent:* Tuesday, May 29, 2012 9:31 AM
> *To:* Scott, W Alan
> *Cc:* paraview-developers at paraview.org
> *Subject:* [EXTERNAL] Re: [Paraview-developers] Build error****
>
> ** **
>
> Hi Alan, ****
>
> ** **
>
> It looks like the library is not being linked against pthreads. Can you
> see if CMAKE_USE_PTHREADS is enabled and what the value of
> CMAKE_THREAD_LIBS is?****
>
> ** **
>
> Thanks, ****
>
> ** **
>
> Chris****
>
> On Tue, May 29, 2012 at 8:30 AM, Chris Harris <chris.harris at kitware.com>
> wrote:****
>
> Hi Alan, ****
>
> ** **
>
> I haven't see this, I will try building with Python 2.6.3 to see if that
> reproduces the problem.****
>
> ** **
>
> Regards, ****
>
> ** **
>
> Chris ****
>
> On Fri, May 25, 2012 at 6:10 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> ****
>
> My latest build error with Linux, non MPI, OpenGL looks like this. Any
> ideas?****
>
> ****
>
> Thanks,****
>
> ****
>
> Alan****
>
> ****
>
> Linking CXX shared library ../../../lib/libvtkWrappingPythonCore-6.0.so***
> *
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(thread.o):
> In function `PyThread_start_new_thread':****
>
> thread.c:(.text+0x79): undefined reference to `pthread_attr_setstacksize'*
> ***
>
> thread.c:(.text+0xb3): undefined reference to `pthread_create'****
>
> thread.c:(.text+0xd8): undefined reference to `pthread_detach'****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(thread.o):
> In function `PyThread_allocate_lock':****
>
> thread.c:(.text+0x1a3): undefined reference to `sem_init'****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(thread.o):
> In function `PyThread_free_lock':****
>
> thread.c:(.text+0x207): undefined reference to `sem_destroy'****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(thread.o):
> In function `PyThread_acquire_lock':****
>
> thread.c:(.text+0x283): undefined reference to `sem_wait'****
>
> thread.c:(.text+0x298): undefined reference to `sem_trywait'****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(thread.o):
> In function `PyThread_release_lock':****
>
> thread.c:(.text+0x31e): undefined reference to `sem_post'****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(thread.o):
> In function `_pythread_pthread_set_stacksize':****
>
> thread.c:(.text+0x396): undefined reference to `pthread_attr_setstacksize'
> ****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(posixmodule.o):
> In function `posix_openpty':****
>
> posixmodule.c:(.text+0x2514): undefined reference to `openpty'****
>
> /projects/viz/paraview/support/Linux-eng-sci-rhel5-x86_64/install/Python-2.6.3/lib/libpython2.6.a(posixmodule.o):
> In function `posix_forkpty':****
>
> posixmodule.c:(.text+0x2579): undefined reference to `forkpty'****
>
> collect2: ld returned 1 exit status****
>
> make[2]: *** [lib/libvtkWrappingPythonCore-6.0.so.1] Error 1****
>
> make[1]: ***
> [VTK/Wrapping/PythonCore/CMakeFiles/vtkWrappingPythonCore.dir/all] Error 2
> ****
>
> ****
>
> ** **
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers****
>
> ** **
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20120604/3cbc28fe/attachment-0001.htm>
More information about the Paraview-developers
mailing list