Re: [Boost-bugs] [Boost C++ Libraries] #5263: Undefined symbols in libboost_python

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5263: Undefined symbols in libboost_python
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-18 01:10:57


#5263: Undefined symbols in libboost_python
----------------------------------------+-----------------------------------
  Reporter: mschu.dev+boost@… | Owner: dave
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Python
   Version: Boost 1.46.0 | Severity: Problem
Resolution: | Keywords: python undefined symbols
----------------------------------------+-----------------------------------

Comment (by anonymous):

 Here is the full output with the 2 lines added to user-config.jam as Biru
 did. Tests seem to work.
 {{{
 ...patience...
 ...patience...
 ...found 1607 targets...
 ...updating 54 targets...
 common.mkdir bin
 common.mkdir bin/test_ext.test
 common.mkdir bin/test_ext.test/gcc-4.5.2
 common.mkdir bin/test_ext.test/gcc-4.5.2/debug
 common.mkdir bin/gcc-4.5.2
 common.mkdir bin/gcc-4.5.2/debug
 gcc.compile.c++ bin/gcc-4.5.2/debug/extending.o
 common.mkdir ../../../../bin.v2
 common.mkdir ../../../../bin.v2/libs
 common.mkdir ../../../../bin.v2/libs/python
 common.mkdir ../../../../bin.v2/libs/python/build
 common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.5.2
 common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/numeric.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/list.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/long.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/dict.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/tuple.o
 gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/str.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/slice.o
 common.mkdir
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/from_python.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/registry.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/type_id.o
 common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/enum.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/class.o
 ../../../../libs/python/src/object/class.cpp: In Funktion »int
 boost::python::property_init(PyObject*, PyObject*, PyObject*)«:
 ../../../../libs/python/src/object/class.cpp:79:64: Warnung: veraltete
 Konvertierung von Zeichenkettenkonstante in »char*«
 ../../../../libs/python/src/object/class.cpp:79:64: Warnung: veraltete
 Konvertierung von Zeichenkettenkonstante in »char*«
 ../../../../libs/python/src/object/class.cpp:79:64: Warnung: veraltete
 Konvertierung von Zeichenkettenkonstante in »char*«
 ../../../../libs/python/src/object/class.cpp:79:64: Warnung: veraltete
 Konvertierung von Zeichenkettenkonstante in »char*«
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/function.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/inheritance.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/life_support.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/pickle_support.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/errors.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/module.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/builtin_converters.o
 ../../../../libs/python/src/converter/builtin_converters.cpp:369:13:
 Warnung:
 Â»boost::python::converter::<unnamed>::py_unicode_as_string_unaryfunc«
 definiert, aber nicht verwendet
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/arg_to_python_base.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/iterator.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/stl_iterator.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object_protocol.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object_operators.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/wrapper.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/import.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/exec.o
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/object/function_doc_signature.o
 gcc.link.dll
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/libboost_python.so.1.46.1
 gcc.link.dll bin/gcc-4.5.2/debug/extending.so
 capture-output bin/test_ext.test/gcc-4.5.2/debug/test_ext
 ====== BEGIN OUTPUT ======
 [?1034hTrying:
     from extending import *
 Expecting nothing
 ok
 Trying:
     hi = hello('California')
 Expecting nothing
 ok
 Trying:
     hi.greet()
 Expecting:
     'Hello from California'
 ok
 Trying:
     invite(hi)
 Expecting:
     'Hello from California! Please come soon!'
 ok
 Trying:
     hi.invite()
 Expecting:
     'Hello from California! Please come soon!'
 ok
 Trying:
     class wordy(hello):
         def greet(self):
             return hello.greet(self) + ', where the weather is fine'
 Expecting nothing
 ok
 Trying:
     hi2 = wordy('Florida')
 Expecting nothing
 ok
 Trying:
     hi2.greet()
 Expecting:
     'Hello from Florida, where the weather is fine'
 ok
 Trying:
     invite(hi2)
 Expecting:
     'Hello from Florida! Please come soon!'
 ok
 1 items had no tests:
     test_extending.run
 1 items passed all tests:
    9 tests in test_extending
 9 tests in 2 items.
 9 passed and 0 failed.
 Test passed.

 EXIT STATUS: 0
 ====== END OUTPUT ======
 **passed** bin/test_ext.test/gcc-4.5.2/debug/test_ext.test
 common.mkdir bin/test_embed.test
 common.mkdir bin/test_embed.test/gcc-4.5.2
 common.mkdir bin/test_embed.test/gcc-4.5.2/debug
 gcc.compile.c++ bin/gcc-4.5.2/debug/embedding.o
 gcc.link bin/gcc-4.5.2/debug/embedding
 testing.capture-output bin/test_embed.test/gcc-4.5.2/debug/test_embed.run
 ====== BEGIN OUTPUT ======
 registering extension module embedded_hello...
 defining Python class derived from Base...
 testing derived class from C++...
 success!
 running file script.py...
 Hello World !
 success!
 intentionally causing a python exception...
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
 NameError: name 'unknown' is not defined
 No errors detected.

 EXIT STATUS: 0
 ====== END OUTPUT ======
 **passed** bin/test_embed.test/gcc-4.5.2/debug/test_embed.test
 ...updated 54 targets...

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5263#comment:4>
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