[Python-bugs-list] [ python-Bugs-472007 ] Linker problem on HP-UX 11.00

noreply@sourceforge.net noreply@sourceforge.net
Wed, 17 Oct 2001 05:36:17 -0700


Bugs item #472007, was opened at 2001-10-17 01:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=472007&group_id=5470

Category: Build
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Townsend (rptownsend)
>Assigned to: Martin v. Löwis (loewis)
Summary: Linker problem on HP-UX 11.00

Initial Comment:
I use the following command to run the configure 
script:

CC=cc \
OPT="+DAportable" \
INSTALL="./install-sh -c" \
./configure --with-threads --without-gcc \
--with-cxx=/opt/aCC/bin/aCC --without-libd \
--with-cycle-gc --prefix=/opt/python \
--exec-prefix=/opt/python

In the Makefile I get the following lines:

CC=		cc -Ae
CXX=		/opt/aCC/bin/aCC
LINKCC=		$(PURIFY) $(CC)

The build then fails with:

/usr/ccs/bin/ld: Unsatisfied symbols:
   _main (first referenced in Modules/ccpython.o) 
(code)
*** Error exit code 1

If I edit the Makefile, thus:

CC=		cc -Ae
CXX=		/opt/aCC/bin/aCC
LINKCC=		$(PURIFY) $(CXX)

The builds succeeds.


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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-17 05:36

Message:
Logged In: YES 
user_id=6380

Martin, do you understand the logic in configre.in enough to
suggest a patch? If not, please unassign it.

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

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