[Python-Dev] can't build with threads on OSF/1
Charles G Waldman
cgw@fnal.gov
Fri, 13 Oct 2000 10:35:52 -0500 (CDT)
Neil Schemenauer writes:
> On Fri, Oct 13, 2000 at 10:18:23AM -0500, Charles G Waldman wrote:
> > Unresolved:
> > __pthread_mutex_init
> [...]
>
> What is the LIBS variable set to in Modules/Makefile? It looks
> your missing something like "-lpthread".
Hehehe. I might be kinda thick sometimes, but I think I would have
caught that. Here's a little more of the "make" output:
cd Modules; make OPT="-O -Olimit 1500" VERSION="2.0" prefix="/usr/local" exec_prefix="/usr/local" LIBRARY=../libpython2.0.a link
cc python.o ../libpython2.0.a -ldb -lpthreads -lm -o python
ld:
Unresolved:
__pthread_mutex_init
__pthread_mutex_destroy
__pthread_mutex_lock
__pthread_mutex_unlock
__pthread_cond_init
__pthread_cond_destroy
__pthread_cond_signal
__pthread_cond_wait
__pthread_create
__pthread_detach
*** Exit 1
Stop.
*** Exit 1
Stop.