Cannot build Python 2.4.2 for Cygwin

M

Micheal.LeVine

I have not succeeded to build Python 2.4.2 from the source distn for
Cygwin on XP (cygwin1.dll version 1005.7.0.0, Cygwin POSIX Emulation
DLL).

I have applied the "bandaid solution" in README,

../configure --with-threads=no

and edited the resulting Modules/Setup file for SSL.

The make process always terminates with the following error message:

Creating library file: libpython2.4.dll.a
Python/pystate.o(.text+0x344): In function `PyThreadState_New':
/cygdrive/c/WINDOWS/Temp/Python-2.4.2/Python/pystate.c:191: undefined
reference to `__PyGILState_NoteThreadState'
Modules/posixmodule.o(.text+0x131b): In function `posix_fdatasync':
/cygdrive/c/WINDOWS/Temp/Python-2.4.2/Modules/posixmodule.c:541:
undefined reference to `_fdatasync'
collect2: ld returned 1 exit status
make: *** [libpython2.4.dll.a] Error 1

Does anyone have an idea what is wrong?

Micheal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top