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 00:45:51


#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):

 Using python3.2 includes and interpreter:
 {{{
 mschu_at_xps:~/Downloads/boost_1_46_1/libs/python/example/quickstart$ bjam
 toolset=gcc --verbose-test test
 ...patience...
 ...patience...
 ...found 1535 targets...
 ...updating 9 targets...
 gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/builtin_converters.o
 ../../../../libs/python/src/converter/builtin_converters.cpp: In static
 member function »static std::wstring
 boost::python::converter::<unnamed>::wstring_rvalue_from_python::extract(PyObject*)«:
 ../../../../libs/python/src/converter/builtin_converters.cpp:436:32:
 Fehler: »PyUnicodeObject*« kann nicht nach »PyObject*« für Argument »1«
 nach »Py_ssize_t PyUnicodeUCS4_AsWideChar(PyObject*, wchar_t*,
 Py_ssize_t)« umgewandelt werden

     "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC
 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -I"../../../.."
 -I"/usr/include/python3.2" -c -o
 "../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/builtin_converters.o"
 "../../../../libs/python/src/converter/builtin_converters.cpp"

 ...failed gcc.compile.c++
 ../../../../bin.v2/libs/python/build/gcc-4.5.2/debug/converter/builtin_converters.o...
 ...skipped
 <p../../../../bin.v2/libs/python/build/gcc-4.5.2/debug>libboost_python.so.1.46.1
 for lack of
 <p../../../../bin.v2/libs/python/build/gcc-4.5.2/debug>converter/builtin_converters.o...
 ...skipped <pbin/gcc-4.5.2/debug>extending.so for lack of
 <p../../../../bin.v2/libs/python/build/gcc-4.5.2/debug>libboost_python.so.1.46.1...
 ...skipped <pbin/test_ext.test/gcc-4.5.2/debug>test_ext for lack of
 <pbin/gcc-4.5.2/debug>extending.so...
 gcc.compile.c++ bin/gcc-4.5.2/debug/embedding.o
 embedding.cpp: In Funktion »void exec_test()«:
 embedding.cpp:56:48: Fehler: »initembedded_hello« wurde in diesem
 Gültigkeitsbereich nicht definiert

     "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC
 -I"../../../.." -I"/usr/include/python3.2" -c -o
 "bin/gcc-4.5.2/debug/embedding.o" "embedding.cpp"

 ...failed gcc.compile.c++ bin/gcc-4.5.2/debug/embedding.o...
 ...skipped <pbin/gcc-4.5.2/debug>embedding for lack of
 <pbin/gcc-4.5.2/debug>embedding.o...
 ...skipped <pbin/test_embed.test/gcc-4.5.2/debug>test_embed.run for lack
 of <pbin/gcc-4.5.2/debug>embedding...
 ...failed updating 2 targets...
 ...skipped 7 targets...
 }}}
 I wanted to try 2.7 as well, but I don't know how to tell bjam to use
 'python2' instead of 'python'.

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