Subject: Can't get python23-pth to build
To: None <netbsd-users@NetBSD.org>
From: Steven Sartorius <ssartor@bellatlantic.net>
List: netbsd-users
Date: 11/13/2004 22:21:02
Subject line says it all. I have pth installed but when I try to build
python23-pth it dies with the following:
gcc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-Wl,--export-dynamic -o python Modules/python.o -L. -lpython2p3
-lpthread -lutil -lm
./libpython2p3.so: warning: tmpnam() possibly used unsafely, use
mkstemp() or mkdtemp()
./libpython2p3.so: warning: tempnam() possibly used unsafely, use
mkstemp() or mkdtemp()
./libpython2p3.so: undefined reference to `PyThread_acquire_lock'
./libpython2p3.so: undefined reference to `PyThread_allocate_lock'
./libpython2p3.so: undefined reference to `PyThread_release_lock'
./libpython2p3.so: undefined reference to `PyThread__init_thread'
./libpython2p3.so: undefined reference to `PyThread_exit_thread'
./libpython2p3.so: undefined reference to `PyThread_start_new_thread'
./libpython2p3.so: undefined reference to `PyThread_get_thread_ident'
./libpython2p3.so: undefined reference to `PyThread_free_lock'
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python23-pth/work.i386/Python-2.3.4
Looks like it may be confusing pthread with pth. Any suggestions?
thanks,
Steve