delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/23/09:56:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 23 May 2003 09:55:46 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: David Abrahams <dave AT boost-consulting DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin GCC linking Python extensions issue
In-Reply-To: <u7k8hojup.fsf@boost-consulting.com>
Message-ID: <Pine.GSO.4.44.0305230954200.26092-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 23 May 2003, David Abrahams wrote:

> "Norman Vine" <nhv AT cape DOT com> writes:
>
> > David Abrahams writes:
> >>
> >> Recently I've begun to see the following link errors when building
> >> some of the Boost.Python test suite extension modules using Cygwin gcc
> >> (version 2 or 3, doesn't matter) and Python 2.2.2 release or Python
> >> 2.3 debug.  This error happens only on some of the extension modules,
> >> but all of them use the symbol boost::python::scope::current_scope
> >> which is defined in libboost_python.dll.  Regardless, even if that's
> >> somehow my bug, there's the matter of `__head_boost_python_dll'...
> >>
> >> Does anyone have an explanation/workaround for this?
> >>
> >>
> >> d000000.o(.idata$2+0x0): multiple definition of
> >
> >
> > Tell the linker multiple definitions are allowed by adding
> >  '-Wl,--allow-multiple-definition'   to your $LD_FLAGS
>
> That's an interesting idea.  Still, I'd like to get to the bottom of
> this.  Why would it think there are multiple definitions for these
> symbol?  AFAICT, there are not.

David,

Isn't there a --verbose option to the linker that tells you where it's
getting the symbols from?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019