1.5.2 Build Snag

Charles Y. Choi charles.choi at computer.org
Thu Apr 22 06:42:13 EDT 1999


Folks -

In trying to build Python 1.5.2 on a Sparc Solaris 2.5.1 machine
using gcc 2.8.1 I get this:

--
ar cr libpython1.5.a getbuildinfo.o
ranlib libpython1.5.a
true
cd Modules;  make OPT="-g -O2" VERSION="1.5" \
                prefix="/usr/local" exec_prefix="/usr/local" \
                LIBRARY=../libpython1.5.a link
make[1]: Entering directory `/export/home/cchoi/src/Python-1.5.2/Modules'
gcc   python.o \
          ../libpython1.5.a   -lsocket -lnsl -ldl  -lm  -o python
Undefined                       first referenced
 symbol                             in file
__muldi3                            ../libpython1.5.a(longobject.o)
ld: fatal: Symbol referencing errors. No output written to python
make[1]: *** [link] Error 1
make[1]: Leaving directory `/export/home/cchoi/src/Python-1.5.2/Modules'
make: *** [python] Error 2
--


Anybody here have a similar experience?  Strangely enough,
I get a successful build using gcc version 2.5.6.


Thanks!

-Charles








More information about the Python-list mailing list