python2.2.2 make error

¹ÚÈ£°æ illuza at eoneo.co.kr
Wed Jan 1 20:01:19 EST 2003


I have a problem in compiling python 2.2.2.

The error message is like this.

c++  -Xlinker -export-dynamic -o python \
                Modules/python.o \
                libpython2.2.a -ldl  -lpthread -lutil   -lm
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
libpython2.2.a(posixmodule.o): In function `posix_tmpnam':
/home/Jack/LearningPython/Python-2.2.2/Modules/posixmodule.c:4505: the use
of `tmpnam_r' is dangerous, better use `mkstemp'
libpython2.2.a(posixmodule.o): In function `posix_tempnam':
/home/Jack/LearningPython/Python-2.2.2/Modules/posixmodule.c:4455: the use
of `tempnam' is dangerous, better use `mkstemp'
collect2: ld returned 1 exit status
make: *** [python] error 1

Red Hat 7.2 and gcc version 3.1.1

Any suggestion would be very appreciated.

Thanks for reading.







More information about the Python-list mailing list