By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,548 Members | 1,496 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,548 IT Pros & Developers. It's quick & easy.

ldexpf undefined in Python 2.4.3 build on SCO OSR 5.0.5

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.