build of python 1.5.2 with threads on SunOs 5.6 fails

Joachim Schmitz perry at ac-copy.net
Thu Jun 3 17:16:52 EDT 1999


Hi,

I compiled Python 1.5.2 on SunOS 5.6/Solaris 2.6 without threads
successfully. But doing a configure --with-threads, and make results in
the following error:
.....

cd Modules;  make OPT="-g -O2" VERSION="1.5" \
                prefix="/usr/local" exec_prefix="/usr/local" \
                LIBRARY=../libpython1.5.a link
gcc   python.o \
          ../libpython1.5.a   -lsocket -lnsl -ldl  -lthread -lm  -o python
Undefined                       first referenced
 symbol                             in file
Py_Main                             python.o
ld: fatal: Symbol referencing errors. No output written to python
*** Error code 1
make: Fatal error: Command failed for target `link'
Current working directory /u/src/Python-1.5.2/Modules
*** Error code 1
make: Fatal error: Command failed for target `python'

any help is welcome

Joachim Schmitz







More information about the Python-list mailing list