473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ldexpf undefined in Python 2.4.3 build on SCO OSR 5.0.5

My (gcc 2.95.2) build of Python 2.4.3 is failing with:

gcc -Wl,-Bexport -o python \
Modules/ccpython.o \
libpython2.4.a -lnsl -ldl -lm
Undefined first referenced
symbol in file
ldexpf /usr/ccs/lib/libm.so
python: fatal error: Symbol referencing errors. No output written to
python
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

This is hardly surprising since config.log contained:

configure:18218: checking for hypot
configure:18269: gcc -o conftest -g -O2 conftest.c -lnsl -ldl -lm
>&5
Undefined first referenced
symbol in file
ldexpf /usr/ccs/lib/libm.so
conftest: fatal error: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:18275: $? = 1

Which led to pyconfig.h containing:

/* Define to 1 if you have the `hypot' function. */
/* #undef HAVE_HYPOT */

So, even without HAVE_HYPOT, ldexpf is still referenced somehow.

Any suggestions? Should I step back to Python 2.3 source? Thanks,
Dave Harris

BTW, I'm the guy trying to get MoinMoin running on SCO OpemServer 5.0.5
(http://groups.google.com/group/comp....5a79144c195df).
The configure script correctly identifies getaddrinfo() as absent.

/* Define if you have the getaddrinfo function. */
/* #undef HAVE_GETADDRINFO */

Thanks for the suggestion to check it, Martin. There's still room for
some confusion since I'm trying to build Python 2.4.3 now and my
original binary was Python 2.3.4. But I'm satisfied that the Python
script is correct.

Jul 24 '06 #1
0 1058

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

Similar topics

1
by: Andreas Jung | last post by:
I am trying to embed Python within a C++ application (Linux, Python2.3.4). I am using the example from the example from the "Embeding and Extending" docs. This works fine importing a simple module...
4
by: Analabha Roy | last post by:
Hi, I'm running Fedora Core 3, and recently I've encountered serious problems with apps that need python to run. running any such app gives errors like: ImportError:...
1
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined...
13
by: 7stud | last post by:
test1.py: -------------------- import shelve s = shelve.open("/Users/me/2testing/dir1/aaa.txt") s = "red" s.close() --------output:------ $ python test1.py
0
by: newbie73 | last post by:
Going through the tutorial on http://swig.org, I created the example files (pasted below). After generating the _wrap file, I tried compiling (using mingw32) and received a lot of undefined...
2
by: mk | last post by:
Hello, I'm having terrible problems building C++ extension to Python 2.4 using SWIG. I'd appreciate if somebody knowledgeable at the subject took a look at it. swig-1.3.29, g++ (GCC) 4.1.1...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 08:39, Akira Kitada wrote: Please post a bug report on python.org about these failures. The multiprocessing module is still fairly new and obviously needs more fine tuning for...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.