Hello Python users I am trying to compile .py files using freeze with Python 2.6.1, but I get an error even when trying with hello.py from the examples.
Freeze semes to do its work (last lines only): p...@linux-s7f4:~/soft/Python-2.6.1/Tools/freeze> python freeze.py hello.py generating table of frozen modules Warning: unknown modules remain: _bisect _collections _ctypes _functools _heapq _locale _random _socket _ssl _struct array binascii cPickle cStringIO fcntl itertools math operator readline select strop termios time Now run "make" to build the target: hello Now comes make: p...@linux-s7f4:~/soft/Python-2.6.1/Tools/freeze> make gcc -pthread -Xlinker -export-dynamic config.o frozen.o M_BaseHTTPServer.o M_FixTk.o M_SocketServer.o M_StringIO.o M_Tkconstants.o M_Tkinter.o M_UserDict.o M___future__.o M___main__.o M__abcoll.o M__threading_local.o M_abc.o M_base64.o M_bdb.o M_bisect.o M_cmd.o M_codecs.o M_collections.o M_copy.o M_copy_reg.o M_ctypes.oM_ctypes___endian.o M_ctypes__macholib.o M_ctypes__macholib__dyld.o M_ctypes__macholib__dylib.o M_ctypes__macholib__framework.o M_ctypes__util.o M_difflib.o M_dis.o M_distutils.o M_distutils__dep_util.o M_distutils__errors.o M_distutils__log.o M_distutils__spawn.o M_distutils__sysconfig.o M_distutils__text_file.o M_distutils__util.o M_doctest.o M_dummy_thread.o M_dummy_threading.o M_email.o M_email___parseaddr.o M_email__base64mime.o M_email__charset.o M_email__encoders.o M_email__errors.o M_email__feedparser.o M_email__message.o M_email__mime.o M_email__parser.o M_email__quoprimime.o M_email__utils.o M_encodings.o M_encodings__aliases.o M_fnmatch.o M_formatter.o M_ftplib.o M_functools.o M_genericpath.o M_getopt.o M_getpass.o M_gettext.o M_glob.o M_heapq.o M_httplib.o M_inspect.o M_keyword.o M_linecache.o M_locale.o M_macurl2path.o M_mimetools.o M_mimetypes.o M_ntpath.o M_nturl2path.o M_opcode.o M_optparse.o M_os.o M_os2emxpath.o M_pdb.o M_pickle.o M_pkgutil.o M_posixpath.o M_pprint.o M_py_compile.o M_pydoc.o M_pydoc_topics.o M_quopri.o M_random.o M_re.o M_repr.oM_rfc822.o M_shlex.o M_site.o M_socket.o M_sre_compile.o M_sre_constants.o M_sre_parse.o M_ssl.o M_stat.o M_string.o M_struct.o M_subprocess.o M_tempfile.o M_textwrap.o M_threading.o M_token.o M_tokenize.o M_traceback.o M_tty.o M_types.o M_unittest.o M_urllib.o M_urlparse.o M_uu.o M_warnings.o M_webbrowser.o /home/ps/app/lib/ python2.6/config/libpython2.6.a -lpthread -ldl -lutil -lm -o hello /home/ps/app/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_tmpnam': /home/ps/soft/Python-2.6.1/./Modules/posixmodule.c:7079: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' /home/ps/app/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_tempnam': /home/ps/soft/Python-2.6.1/./Modules/posixmodule.c:7034: warning: the use of `tempnam' is dangerous, betteruse `mkstemp' config.o:(.data+0x28): undefined reference to `init_warnings' collect2: ld returned 1 exit status make: *** [hello] Error 1 I tested it on OpenSuSe 11.0 and Ubuntu 8.10 with the same results. Did somebody experienced the same problem? With Python 2.5.1 it works without problems. Thanks in advance Pablo -- http://mail.python.org/mailman/listinfo/python-list