[C++-sig] Using boost.python with Makefile (no bjam)
Philipp Münzel
mail at philippmuenzel.de
Wed Oct 6 12:43:09 CEST 2010
Oh crap, the command that links is of course:
$ g++ -shared -Wl,-soname,"libhello.so" -L/usr/local/lib -lboost_python
-o libhello.so hello.o
But I get the undefined symbols nevertheless:
U PyString_Type
w _Jv_RegisterClasses
U _Py_NoneStruct
U _Unwind_Resume@@GCC_3.0
U _ZN5boost6python6detail11init_moduleEPKcPFvvE
U _ZN5boost6python6detail12gcc_demangleEPKc
U
_ZN5boost6python6detail17scope_setattr_docEPKcRKNS0_3api6objectES3_
U _ZN5boost6python7objects15function_objectERKNS1_11py_functionE
U _ZN5boost6python7objects21py_function_impl_baseD2Ev
U _ZN5boost6python9converter19do_return_to_pythonEPKc
U _ZN5boost6python9converter8registry5queryENS0_9type_infoE
U _ZNK5boost6python7objects21py_function_impl_base9max_arityEv
U
_ZNK5boost6python9converter12registration25expected_from_python_typeEv
U _ZTIN5boost6python7objects21py_function_impl_baseE
U _ZTIPKc@@CXXABI_1.3
U _ZTIc@@CXXABI_1.3
U _ZTVN10__cxxabiv120__si_class_type_infoE@@CXXABI_1.3
U _ZTVN5boost6python7objects21py_function_impl_baseE
U _ZdlPv@@GLIBCXX_3.4
U _Znwj@@GLIBCXX_3.4
U __cxa_atexit@@GLIBC_2.1.3
w __cxa_finalize@@GLIBC_2.1.3
U __cxa_guard_abort@@CXXABI_1.3
U __cxa_guard_acquire@@CXXABI_1.3
U __cxa_guard_release@@CXXABI_1.3
w __gmon_start__
U __gxx_personality_v0@@CXXABI_1.3
More information about the Cplusplus-sig
mailing list