Re: 2.4.2 on AIX 4.3 make fails on threading
Neal Norwitz wrote: Paul Watson wrote: When I try to build 2.4.2 on AIX 4.3, it fails on missing thread objects. I ran ./configure --without-threads --without-gcc. Before using --without-threads I had several .pthread* symbols missing. Perhaps you need to add -lpthread to the link line. This should be able to work. What is the link line output from make? Can anyone suggest a configuration or some change that I can make to cause this to build correctly? Thanks. ld: 0711-317 ERROR: Undefined symbol: ._PyGILState_NoteThreadState I think that problem has been fixed. Try downloading this file and replace the one in your build directory: http://svn.python.org/projects/python/branches/release24-maint/Python/pystate.c Thanks for your help. I think it worked better after I read the Misc/AIX-NOTES document. Apparently one -must- use --with-threads. I grabbed a bzlib.h from the net and created ./Modules/bzlib.h since I do not have root access. I had to change bz2module.c #include to use quotes rather than symbols so that it would find the header file. Another problem with building _codecs_cn.c I will put in another subject. Thanks. -- http://mail.python.org/mailman/listinfo/python-list
2.4.2 on AIX 4.3 make fails on threading
When I try to build 2.4.2 on AIX 4.3, it fails on missing thread objects. I ran ./configure --without-threads --without-gcc. Before using --without-threads I had several .pthread* symbols missing. I do not have to have threading on this build, but it would be helpful if it is possible. The machine has the IBM C compiler. Can anyone suggest a configuration or some change that I can make to cause this to build correctly? Thanks. $ xlc 21|head -1 VisualAge C++ Professional / C for AIX Compiler, Version 5 ./Modules/makexp_aix Modules/python.exp . libpython2.4.a; c++ -Wl,-bE:Modules/python.exp -lld -o python Modules/python.o libpython2.4.a -ldl-lm collect2: ld returned 8 exit status ld: 0711-317 ERROR: Undefined symbol: ._PyGILState_NoteThreadState ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 1. Stop. -- http://mail.python.org/mailman/listinfo/python-list
Re: 2.4.2 on AIX 4.3 make fails on threading
Paul Watson wrote: When I try to build 2.4.2 on AIX 4.3, it fails on missing thread objects. I ran ./configure --without-threads --without-gcc. Before using --without-threads I had several .pthread* symbols missing. Perhaps you need to add -lpthread to the link line. This should be able to work. What is the link line output from make? Can anyone suggest a configuration or some change that I can make to cause this to build correctly? Thanks. ld: 0711-317 ERROR: Undefined symbol: ._PyGILState_NoteThreadState I think that problem has been fixed. Try downloading this file and replace the one in your build directory: http://svn.python.org/projects/python/branches/release24-maint/Python/pystate.c n -- http://mail.python.org/mailman/listinfo/python-list
Re: 2.4.2 on AIX 4.3 make fails on threading
Quoth Paul Watson [EMAIL PROTECTED]: | When I try to build 2.4.2 on AIX 4.3, it fails on missing thread | objects. I ran ./configure --without-threads --without-gcc. | | Before using --without-threads I had several .pthread* symbols missing. | I do not have to have threading on this build, but it would be helpful | if it is possible. The machine has the IBM C compiler. Can anyone | suggest a configuration or some change that I can make to cause this to | build correctly? Thanks. | | $ xlc 21|head -1 |VisualAge C++ Professional / C for AIX Compiler, Version 5 In earlier compilers, and I think this one too, cc_r (instead of xlc) gives you the thread options and libraries. Donn Cave, [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list