473,769 Members | 6,404 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2>&1|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_No teThreadState
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.
Nov 22 '05 #1
2 1122
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_No teThreadState


I think that problem has been fixed. Try downloading this file and
replace the one in your build directory:
http://svn.python.org/projects/pytho...thon/pystate.c

n

Nov 23 '05 #2
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_No teThreadState

I think that problem has been fixed. Try downloading this file and
replace the one in your build directory:
http://svn.python.org/projects/pytho...thon/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.
Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1906
by: Ron | last post by:
All, I have a weird problem, I have a Native DLL that CoCreates a COM object. If I call this DLL from a native MFC app, everything goes just fine; If I call it from an managed application with the exact same parameters, the CoCreate fails file E_NOINTERFACE (x80004002). I've played around with the different threading models (CoInitialize) but that does not help..
33
3960
by: n00m | last post by:
import socket, thread host, port = '192.168.0.3', 1434 s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2.connect((host, 1433)) s1.bind((host, port)) s1.listen(1) cn, addr = s1.accept() def VB_SCRIPT():
0
377
by: TT (Tom Tempelaere) | last post by:
Hi there The following is a description to reproduce the problem. I do not know if this is a bug in the .NET environment/framework (I suspect it is), or if there is something that I am doing wrong. But I am definitely stuck on this one. I cannot find a solution Make a new C# service project, and add an installer for the service (using menu). Set properties for a test scenario, don't modify code. Run InstallUtil, everything installs fine....
8
3718
by: Henry | last post by:
Hi, in a Windows form VB.Net project I use localization for all texts. In App.Config I added: <appSettings> <add key="locale" value="de"/> </appSettings> In the project I have ressource files strings.resx (English text) and strings.de.resx for the German texts.
2
3993
by: Lorenzo | last post by:
I have a .net webservice (located in a different machine) that is called twice from a windows form .net application. The ws works fine if I called only one call, but failed if I called them both, one after another. The following error occurs every time I called the second web service: System.Net.WebException was unhandled Message="The underlying connection was closed: A connection that was
8
2409
by: Rick Lederman | last post by:
I am using a PrintDocument and PrintDialog to print. The first time that I print it works, but when I try to print a second time without exiting the entire program I get an "InvalidPrinterException was unhandled" error. The error happens in the third line below. The details of the error are below my signature. Help? PrintDialog1.PrinterSettings.PrinterName = sLabelPrinterDeviceName PrintDialog1.Document = PrintDocument1
0
2033
by: angshuman.agarwal | last post by:
Hi, I have a owner drawn combo box (using .Net 2.0 Framework). I have written the Nunit test for the same. I am setting the AutoCompleteSource Property (AutoCompleteSource.CustomSource) and AutoCompleteMode Property (AutoCompleteMode.Append) for the Combo at runtime and also have hidden these properties at design time. Now, when I am testing the function where I am setting AutoCompleteSource & AutoCompleteMode values, the Nunit...
4
2231
by: Anbu | last post by:
Hi All, I'm using the Cassini component in my desktop application to create a web site to host the web services. The application works fine in normal scenario. If the system is kept idle for some time, the application getting terminated with the following error: Unhandled Exception : An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte buffer, Int32 offset, Int32
3
1744
by: teddysnips | last post by:
SCENARIO: Application originally developed in Access 97 several years ago. Worked with no problem until recent change from Novell to Active Directory. PROBLEM: Application was converted from Access 97 to Access 2003.
0
9587
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.