Bugs item #1158607, was opened at 2005-03-07 22:45
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1158607&group_id=5470

Category: Build
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Frank Baumgart (fbaumgart)
Assigned to: Nobody/Anonymous (nobody)
Summary: --disable-unicode fails when linking

Initial Comment:
Linux, SuSE 9.2, Pentium 4
gcc 3.3.4 (pre 3.3.5 20040809)

./configure --prefix=/opt/python --disable-unicode

...
ranlib libpython2.4.a
c++ -pthread  -Xlinker -export-dynamic -o python                 
Modules/python.o                 libpython2.4.a -lpthread -ldl  -lutil   -lm
libpython2.4.a(posixmodule.o)(.text+0x829): In function
`posix_tmpnam':
Modules/posixmodule.c:6158: warning: the use of
`tmpnam_r' is dangerous, better use `mkstemp'
libpython2.4.a(posixmodule.o)(.text+0x8cb): In function
`posix_tempnam':
Modules/posixmodule.c:6113: warning: the use of
`tempnam' is dangerous, better use `mkstemp'
libpython2.4.a(_codecsmodule.o)(.text+0x2c1): In
function `codec_decode':
Modules/_codecsmodule.c:141: undefined reference to
`PyUnicode_GetDefaultEncoding'
libpython2.4.a(_codecsmodule.o)(.text+0x331): In
function `codec_encode':
Modules/_codecsmodule.c:108: undefined reference to
`PyUnicode_GetDefaultEncoding'
collect2: ld returned 1 exit status
make: *** [python] Error 1


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2005-03-08 16:06

Message:
Logged In: YES 
user_id=21627

Thanks for the report. This is now fixed in

setup.py 1.215
codecs.py 1.38
copy.py 1.45
test_support.py 1.63
NEWS 1.1270
_codecsmodule.c 2.21
_tkinter.c 1.169

setup.py 1.204.2.2
codecs.py 1.35.2.3
test_support.py 1.62.4.1
NEWS 1.1193.2.33
_codecsmodule.c 2.20.2.1
_tkinter.c 1.168.2.1


----------------------------------------------------------------------

Comment By: Frank Baumgart (fbaumgart)
Date: 2005-03-07 22:58

Message:
Logged In: YES 
user_id=599418

the same bug exists in the (currently latest):

python_2005-03-07_160000.tar.gz


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1158607&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to