[ python-Bugs-1524317 ] configure --without-threads fails to build

SourceForge.net noreply at sourceforge.net
Tue Jul 18 13:29:56 CEST 2006


Bugs item #1524317, was opened at 2006-07-18 07:44
Message generated for change (Comment added) made by splitscreen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1524317&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Ram Bhamidipaty (rambham)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure --without-threads fails to build

Initial Comment:
In Python-2.5b2 I tried to do this:

./configure --without-threads
gmake

The build will fail with an undefined
reference to _PyThread_CurrentFrames

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

Comment By: Matt Fleming (splitscreen)
Date: 2006-07-18 11:29

Message:
Logged In: YES 
user_id=1126061

I can confirm this error on Linux, below is the output,

gcc  -Xlinker -export-dynamic -o python \
                Modules/python.o \
                libpython2.5.a -ldl  -lutil   -lm  
libpython2.5.a(posixmodule.o): In function `posix_tmpnam':
./Modules/posixmodule.c:6701: warning: the use of `tmpnam'
is dangerous, better 
use `mkstemp'
libpython2.5.a(posixmodule.o): In function `posix_tempnam':
./Modules/posixmodule.c:6654: warning: the use of `tempnam'
is dangerous, better
 use `mkstemp'
libpython2.5.a(sysmodule.o): In function `sys_current_frames':
Python/sysmodule.c:675: undefined reference to
`_PyThread_CurrentFrames'
collect2: ld returned 1 exit status
make: *** [python] Error 1


Thanks, Matt

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1524317&group_id=5470


More information about the Python-bugs-list mailing list