[Boost-bugs] [Boost C++ Libraries] #5107: import of boost.python model fails because of undefined system, but symbol does not appear in my source tree

Subject: [Boost-bugs] [Boost C++ Libraries] #5107: import of boost.python model fails because of undefined system, but symbol does not appear in my source tree
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-22 02:43:58


#5107: import of boost.python model fails because of undefined system, but symbol
does not appear in my source tree
--------------------------------------+-------------------------------------
 Reporter: michael_fabbri@… | Owner: dave
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.40.0 | Severity: Showstopper
 Keywords: |
--------------------------------------+-------------------------------------
 I have successfully mapped two classes and a free standing function. The
 source code compiles and links.

 Upon import into python I get:
 Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
 [GCC 4.4.5] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
>>> import scidblibpy
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ImportError: ./scidblibpy.so: undefined symbol:
 _ZNK6common11StreamArray7getNameEv

 The undefined symbol is not a valid symbol within my source tree. It
 appears to be a concatenated string of some sort. This could be a
 compiler or linker bug that generates a random symbol, or a problem in the
 generated boost.python code. Some of the items composing the symbol name
 are part of my source tree. They are common and StreamArray. The source
 code being mapped is part of an exposed API. As a standalone API it had
 no problem in linking and running.

 How can I review the generated code to determine if it is creating the
 symbol?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5107>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC