Issue411845
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2001-03-28 09:48 by anonymous, last changed 2022-04-10 16:03 by admin. This issue is now closed.
Messages (2) | |||
---|---|---|---|
msg4068 - (view) | Author: Nobody/Anonymous (nobody) | Date: 2001-03-28 09:48 | |
Hi, I was trying to install PYTHON1.6.1 on a sparc solaris7 computer with support for thread and bsddb module (I used the BerkeleyDB3.0). I dont have GCC on this machine so I used CC (I add the -mt and -D_REENTRANT). The compilation is ok except at the end when it tried to build the python executable. I received a message about unknow function Py_main. Is anybody knowing this problem (and the way to correct it) ? Best regards. ------ ** This is the error message ** make (cd Modules; make -f Makefile.pre Makefile) `Makefile' is up to date. making Makefile in subdirectory . `Makefile' is up to date. making Makefile in subdirectory Parser `Makefile' is up to date. making Makefile in subdirectory Objects `Makefile' is up to date. making Makefile in subdirectory Python `Makefile' is up to date. making Makefile in subdirectory Modules `Makefile' is up to date. (rm -f Modules/hassignal; cd Modules; make hassignal) rm -f hassignal for i in threadmodule.o regexmodule.o regexpr.o pcremodule.o pypcre.o posixmodule.o signalmodule.o _sre.o arraymodule.o cmathmodule.o mathmodule.o stropmodule.o structmodule.o timemodule.o operator.o _codecsmodule.o unicodedata.o unicodedatabase.o _localemodule.o fcntlmodule.o pwdmodule.o grpmodule.o errnomodule.o mmapmodule.o selectmodule.o socketmodule.o md5module.o md5c.o shamodule.o rotormodule.o newmodule.o bsddbmodule.o binascii.o parsermodule.o cStringIO.o cPickle.o config.o getpath.o main.o getbuildinfo.o; do \ if test "$i" = "signalmodule.o"; then \ echo yes >hassignal; break; \ fi; \ done cd Parser ; make OPT="-O -mt" VERSION="1.6" \ prefix="/usr/local/softs/Python/Pythus" exec_prefix="/usr/local/softs/Python/Pythus" all cd Objects ; make OPT="-O -mt" VERSION="1.6" \ prefix="/usr/local/softs/Python/Pythus" exec_prefix="/usr/local/softs/Python/Pythus" all cd Python ; make OPT="-O -mt" VERSION="1.6" \ prefix="/usr/local/softs/Python/Pythus" exec_prefix="/usr/local/softs/Python/Pythus" all cd Modules ; make OPT="-O -mt" VERSION="1.6" \ prefix="/usr/local/softs/Python/Pythus" exec_prefix="/usr/local/softs/Python/Pythus" all expr `cat buildno` + 1 >buildno1 mv -f buildno1 buildno cc -c -O -mt -I. -DHAVE_CONFIG_H -D_REENTRANT -DBUILD=`cat buildno` \ ./Modules/getbuildinfo.c ar cr libpython1.6.a getbuildinfo.o ranlib libpython1.6.a true cd Modules; make OPT="-O -mt" VERSION="1.6" \ prefix="/usr/local/softs/Python/Pythus" exec_prefix="/usr/local/softs/Python/Pythus" \ LIBRARY=../libpython1.6.a link cc python.o \ ../libpython1.6.a /usr/local/softs/Python/DB2/lib/libdb.a -lpthread -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 /usr/local/softs/Python/Python-1.6.1/Modules *** Error code 1 make: Fatal error: Command failed for target `python' |
|||
msg4069 - (view) | Author: Martin v. Löwis (loewis) * | Date: 2001-03-30 06:57 | |
Logged In: YES user_id=21627 Py_Main should be defined in main.o. Please to "ar tv libpython1.6.a" to verify that main.o is really there, do "nm main.o" to verify that it really provides Py_Main. If not, please try wether rebuilding from a clean tree helps (or correct the error manually, e.g. by adding main.o to libpython1.6.a) In any case,Python 1.6 is not maintained anymore: so if there is a bug in it, it won't be fixed. Please try to install Python 2.0 instead, or go back to 1.5.2, which is known to work flawless on Solaris. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:03:54 | admin | set | github: 34243 |
2001-03-28 09:48:29 | anonymous | create |