Boost logo

Boost Users :

From: chun ping wang (cablepuff_at_[hidden])
Date: 2007-06-14 11:46:15


yeah i update to gcc 4.1.1 and reinstall boost from scratch. I get rid of 80
percent linkers error. Now i only get these. (I read hte top.. and maybe
make system with mingW) isn't supported.

C:/CPW/cs_classes/./cs386/c++/dfaPythonWrapper.cpp:6: undefined reference to
`_imp___ZN5boost6python6detail11init_moduleEPKcPFvvE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python7objects21py_function_impl_baseC2Ev[boost::python::objects::py_function_impl_base::py_function_impl_base()]+0x9):
In function `ZN5boost6python3defIPF3DFARKSsEEEvPKcT_':
C:/Boost/include/boost_1_34/boost/python/def.hpp: undefined reference to
`_imp___ZTVN5boost6python7objects21py_function_impl_baseE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python9converter6detail16registry_lookup2IVK3DFAEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration
const& boost::python::converter::detail::registry_lookup2<DFA const
volatile>(DFA const volatile&
(*)())]+0x22):C:/Boost/include/boost_1_34/boost/python/def.hpp: undefined
reference to
`_imp___ZN5boost6python9converter8registry6lookupENS0_9type_infoE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python9converter6detail16registry_lookup2IVKSt3mapINS_6tuples5tupleIciNS5_9null_typeES7_S7_S7_S7_S7_S7_S7_EEiSt4lessIS8_ESaISt4pairIKS8_iEEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration
const&
boost::python::converter::detail::registry_lookup2<std::map<boost::tuples::tuple<char,
int, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type>, int,
std::less<boost::tuples::tuple<char, int, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >,
std::allocator<std::pair<boost::tuples::tuple<char, int,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type> const, int> > > const
volatile>(std::map<boost::tuples::tuple<char, int, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type>, int, std::less<boost::tuples::tuple<char, int,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type> >,
std::allocator<std::pair<boost::tuples::tuple<char, int,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type> const, int> > > const
volatile& (*)())]+0x22):C:/Boost/include/boost_1_34/boost/python/def.hpp:
undefined reference to
`_imp___ZN5boost6python9converter8registry6lookupENS0_9type_infoE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python9converter6detail16registry_lookup2IVKSt3setIiSt4lessIiESaIiEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration
const& boost::python::converter::detail::registry_lookup2<std::set<int,
std::less<int>, std::allocator<int> > const volatile>(std::set<int,
std::less<int>, std::allocator<int> > const volatile&
(*)())]+0x22):C:/Boost/include/boost_1_34/boost/python/def.hpp: undefined
reference to
`_imp___ZN5boost6python9converter8registry6lookupENS0_9type_infoE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python9converter6detail16registry_lookup2IVKSsEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration
const&
boost::python::converter::detail::registry_lookup2<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const
volatile>(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const volatile&
(*)())]+0x22):C:/Boost/include/boost_1_34/boost/python/def.hpp: undefined
reference to
`_imp___ZN5boost6python9converter8registry6lookupENS0_9type_infoE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python9converter6detail16registry_lookup2IVKiEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration
const& boost::python::converter::detail::registry_lookup2<int const
volatile>(int const volatile&
(*)())]+0x22):C:/Boost/include/boost_1_34/boost/python/def.hpp: undefined
reference to
`_imp___ZN5boost6python9converter8registry6lookupENS0_9type_infoE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python9converter22shared_ptr_from_pythonI3DFAEC1Ev[boost::python::converter::shared_ptr_from_python<DFA>::shared_ptr_from_python()]+0x1f):C:/Boost/include/boost_1_34/boost/python/def.hpp:
undefined reference to
`_imp___ZN5boost6python9converter8registry6insertEPFPvP7_objectEPFvS5_PNS1_30rvalue_from_python_stage1_dataEENS0_9type_infoE'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6python15expect_non_nullI7_objectEEPT_S4_[_object*
boost::python::expect_non_null<_object>(_object*)]+0x12):C:/Boost/include/boost_1_34/boost/python/def.hpp:
undefined reference to `_imp___ZN5boost6python23throw_error_already_setEv'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6detail18sp_counted_impl_pdIP3DFANS_6python9converter18shared_ptr_deleterEED0Ev[boost::detail::sp_counted_impl_pd<DFA*,
boost::python::converter::shared_ptr_deleter>::~sp_counted_impl_pd()]+0x53):
In function `Z41__static_initialization_and_destruction_0ii':
C:/Boost/include/boost_1_34/boost/python/slice_nil.hpp:20: undefined
reference to `_imp___ZN5boost6python9converter18shared_ptr_deleterD1Ev'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6detail18sp_counted_impl_pdIP3DFANS_6python9converter18shared_ptr_deleterEED1Ev[boost::detail::sp_counted_impl_pd<DFA*,
boost::python::converter::shared_ptr_deleter>::~sp_counted_impl_pd()]+0x53):C:/Boost/include/boost_1_34/boost/python/slice_nil.hpp:20:
undefined reference to
`_imp___ZN5boost6python9converter18shared_ptr_deleterD1Ev'
./boost_python/dfaPythonWrapper.o(.text$_ZN5boost6detail18sp_counted_impl_pdIP3DFANS_6python9converter18shared_ptr_deleterEE7disposeEv[boost::detail::sp_counted_impl_pd<DFA*,
boost::python::converter::shared_ptr_deleter>::dispose()]+0x1d): In function
`ZN5boost6python3defIPF3DFARKSsEEEvPKcT_':
C:/Boost/include/boost_1_34/boost/python/def.hpp: undefined reference to
`_imp___ZN5boost6python9converter18shared_ptr_deleterclEPKv'

This is the error i get.
I included -l"boost_python-mgw41-1_34" -l"python25" in the linker.

On 6/7/07, David Abrahams <dave_at_[hidden]> wrote:
>
>
> on Wed Jun 06 2007, "chun ping wang" <cablepuff-AT-gmail.com> wrote:
>
> > Hi i try compiling boost.python using make a file.
>
> Did you read the box at the top of
> http://boost.org/libs/python/doc/building.html#no-install-quickstart
> ?
>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net