
Mon, 09/10/2007 - 22:03
Forums:
Hieveryone,
I try to link occ 6.2 on my mandriva 2007 (x86_64), but I have the following message while linking DRAWEXE:
/home/opencascade/ros/adm/make/TKernel/.libs/libTKernel.so: undefined reference to `pthread_create'...
any idea ?
thanks a lot !
GilleS
Sun, 11/25/2007 - 21:17
You want to link with another STL library. Use this one: http://sourceforge.net/projects/stlport/ and while running configure use the --with-stlport-xxx switches. Then it should compile.
Wed, 07/30/2008 - 01:37
I don't know if you're still interested, but OC's configure script doesn't place the -pthread flag in the linker (Fedora 9 64 bit), which was causing the same problem for me. I fixed it by passing -pthread into LDFLAGS in the configure call and that seemed to work for me without having to use stlport.