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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Oct 2001 10:26:00 -0700


Bugs item #416688, was opened at 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: Closed
>Resolution: Fixed
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



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

>Comment By: Martin v. Löwis (loewis)
Date: 2001-10-24 10:26

Message:
Logged In: YES 
user_id=21627

This should be fixed with configure.in 1.271 (to appear in
Python 2.2b2), atleast for aCC. If the relevant configure
test still fails for KCC, please submit a new report.

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

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