[Python-bugs-list] [ python-Bugs-416688 ] Python 2.1c2 build using --with-cxx

noreply@sourceforge.net noreply@sourceforge.net
Tue, 17 Apr 2001 06:35:28 -0700


Bugs item #416688, was updated on 2001-04-17 06:35
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416688&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Harri Pasanen (harripasanen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.1c2 build using --with-cxx

Initial Comment:
After configure + build with:

./configure --with-thread --without-gcc
--with-cxx=KCC                          
make

The build fails as it tries to perform the link with
cc, not with KCC.  It has previously build correctly
ccpython using KCC.  Manually performing the linking
using KCC then works:

cc -Ae  -Wl,-E -Wl,+s
-Wl,+b/usr/local/lib/python2.1/lib-dynload -o python \
                Modules/ccpython.o \
                libpython2.1.a -lnsl -ldld    -lm
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object
file (libpython2.1.a(main.o)) was detected. The linked
output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   _main (first referenced in Modules/ccpython.o)
(code)                       


The above problem seems to be present on Linux and
HP-UX, (probably all platforms using autoconf).

-Harri



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416688&group_id=5470