LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2013, 03:35 AM   #1
sousie_linaro
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
libavg-1.7.0 cross-compilation


hello i follwed this tutorail for cross-compilation of libavg for arm architecture:
export PANGOFT2_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export PANGOFT2_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export GDK_PIXBUF_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export GDK_PIXBUF_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export LIBRSVG_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export LIBRSVG_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export FONTCONFIG_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export FONTCONFIG_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export FFMPEG_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export FFMPEG_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export BOOST_PYTHON_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export BOOST_PYTHON_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export AVCODEC_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export AVCODEC_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export BOOST_THREAD_LIB="-L/usr/arm-linux-gnueabi/lib/"
export BOOST_THREAD_CFLAGS="-I/usr/arm-linux-gnueabi/include/"

export CROSSTOOL=arm-linux-gnueabi
export CXX=$CROSSTOOL-g++-4.4
export CC=$CROSSTOOL-gcc-4.4
export AR=$CROSSTOOL-ar
export AS=$CROSSTOOL-as

CFLAGS="-I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0" CXXFLAGS="-I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0/ -I/usr/arm-linux-gnueabi/lib/glib-2.0/include/ -I/usr/arm-linux-gnueabi/include/pango-1.0 -I/usr/arm-linux-gnueabi/include/cairo/ -I/usr/arm-linux-gnueabi/include/librsvg-2" LDFLAGS="-lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 " FREETYPE_LIBS=/usr/arm-linux-gnueabi/lib ./configure --target=arm-linux-gnueabi --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc-4.4 CXX=$CROSSTOOL-g++-4.4 AR=arm-linux-gnueabi-ar TRIP=arm-linux-gnueabi-strip RANLIB=arm-linux-gnueabi-ranlib --with-sdl-prefix=/usr/arm-linux-gnueabi --prefix=/home/administrateur/Bureau/out/su
when i execute the commande make i recive this errors message:
/usr/local/lib/libmtdev.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [testcalibrator] Erreur 1
make[3]: quittant le répertoire « /home/invitee/Bureau/conf/libavg-1.7.1/src/player »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/invitee/Bureau/conf/libavg-1.7.1/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/invitee/Bureau/conf/libavg-1.7.1/src »
make: *** [all-recursive] Erreur 1

thnk you for help me
 
Old 05-16-2013, 06:43 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
/usr/local/lib/libmtdev.so: could not read symbols: File in wrong format
Option 1 :
libavg will compile OK with no libmtdev.


Option 2 : Cross compile libmtdev to /usr/arm-linux-gnueabi/**.

Flags for MTDEV, see ./configure --help :
MTDEV_CFLAGS
MTDEV_LIBS

-
 
Old 05-16-2013, 07:23 AM   #3
sousie_linaro
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

Option 1 :
libavg will compile OK with no libmtdev.


Option 2 : Cross compile libmtdev to /usr/arm-linux-gnueabi/**.

Flags for MTDEV, see ./configure --help :
MTDEV_CFLAGS
MTDEV_LIBS

-
when i export the mtdev_clfags and the mtdev_libs : export MTDEV_CFLAGS="-I/usr/local/include/" and export MTDEV_LIBS="-L/usr/local/lib" i get anathor error :
/usr/local/lib/libmtdev.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

i cross-compile libmdev to arm-lunix :

./configure --target=arm-linux-gnueabi --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc-4.4 CXX=$CROSSTOOL-g++-4.4 AR=arm-linux-gnueabi-ar TRIP=arm-linux-gnueabi-strip RANLIB=arm-linux-gnueabi-ranlib --prefix=/home/administrateur/Bureau/mtdev

when i run the cross-compilation of libavg i get this error :

CXXLD testplayer
./.libs/libplayer.a(Player.o): In function `boost::python::converter::arg_to_python<char const*>::arg_to_python(char const* const&)':
Player.cpp:(.text._ZN5boost6python9converter13arg_to_pythonIPKcEC2ERKS4_[boost::python::converter::arg_to_python<char const*>::arg_to_python(char const* const&)]+0x24): undefined reference to `boost::python::converter::do_return_to_python(char const*)'
./.libs/libplayer.a(Player.o): In function `boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)':
Player.cpp:(.text._ZN5boost6python3api24const_attribute_policies3getERKNS1_6objectEPKc[boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)]+0x28): undefined reference to `boost::python::api::getattr(boost::python::api::object const&, char const*)'
./.libs/libplayer.a(Player.o): In function `boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)':
Player.cpp:(.text._ZN5boost6python3api19const_item_policies3getERKNS1_6objectES5_[boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)]+0x28): undefined reference to `boost::python::api::getitem(boost::python::api::object const&, boost::python::api::object const&)'
./.libs/libplayer.a(Player.o): In function `boost::python::api::item_policies::set(boost::python::api::object const&, boost::python::api::object const&, boost::python::api::object const&)':
Player.cpp:(.text._ZN5boost6python3api13item_policies3setERKNS1_6objectES5_S5_[boost::python::api::item_policies::set(boost::python::api::object const&, boost::python::api::object const&, boost::python::api::object const&)]+0x24): undefined reference to `boost::python::api::setitem(boost::python::api::object const&, boost::python::api::object const&, boost::python::api::object const&)'
./.libs/libplayer.a(Player.o): In function `_object* boost::python::expect_non_null<_object>(_object*)':
Player.cpp:(.text._ZN5boost6python15expect_non_nullI7_objectEEPT_S4_[_object* boost::python::expect_non_null<_object>(_object*)]+0x1c): undefined reference to `boost::python::throw_error_already_set()'
./.libs/libplayer.a(Player.o): In function `bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const':
Player.cpp:(.text._ZNK5boost6python4dict7has_keyIA7_cEEbRKT_[bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const]+0x34): undefined reference to `boost::python::detail::dict_base::has_key(boost::python::api::object const&) const'
./.libs/libplayer.a(Player.o): In function `boost::python::api::object_operators<boost::python::api::object>::operator _object* (boost::python::api::object::*)() const() const':
Player.cpp:(.text._ZNK5boost6python3api16object_operatorsINS1_6objectEEcvMS3_KFP7_objectvEEv[boost::python::api::object_operators<boost::python::api::object>::operator _object* (boost::python::api::object::*)() const() const]+0x50): undefined reference to `boost::python::throw_error_already_set()'
./.libs/libplayer.a(Player.o): In function `boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)':
Player.cpp:(.text._ZN5boost6python9converter6detail25return_rvalue_from_pythonIbEclEP7_object[boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)]+0x30): undefined reference to `boost::python::converter::rvalue_result_from_python(_object*, boost::python::converter::rvalue_from_python_stage1_data&)'
./.libs/libplayer.a(Player.o): In function `boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::extract_rvalue(_object*)':
Player.cpp:(.text._ZN5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEC2EP7_ object[boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(Player.o): In function `boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const':
Player.cpp:(.text._ZNK5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEclEv[boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(Player.o): In function `_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)':
Player.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg5EventEEEP7_objectRKNS_10sha red_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)]+0x88): undefined reference to `boost::python::converter::registration::to_python(void const volatile*) const'
./.libs/libplayer.a(Player.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<bool const volatile>(bool const volatile& (*)())':
Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKbEERKNS1_12registrationEPFRT _vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<bool const volatile>(bool const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(Player.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<boost::shared_ptr<avg::DivNode> const volatile>(boost::shared_ptr<avg::DivNode> const volatile& (*)())':
Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg7DivNod eEEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<boost::shared_ptr<avg::DivNode> const volatile>(boost::shared_ptr<avg::DivNode> const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(Player.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<boost::shared_ptr<avg::Event> const volatile>(boost::shared_ptr<avg::Event> const volatile& (*)())':
Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg5EventE EEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<boost::shared_ptr<avg::Event> const volatile>(boost::shared_ptr<avg::Event> const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(Player.o): In function `void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode> *)':
Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg7DivNodeEEEvPNS_10sha red_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode> *)]+0x1c): undefined reference to `boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'
./.libs/libplayer.a(Player.o): In function `void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)':
Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg5EventEEEvPNS_10share d_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)]+0x1c): undefined reference to `boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'
./.libs/libplayer.a(PluginManager.o): In function `avg::PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
PluginManager.cpp:(.text+0xacc): undefined reference to `boost::python::api::object::object(boost::python::handle<_object> const&)'
./.libs/libplayer.a(ArgList.o): In function `avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
ArgList.cpp:(.text+0x568): undefined reference to `boost::python::detail::dict_base::keys() const'
./.libs/libplayer.a(ArgList.o): In function `avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
ArgList.cpp:(.text+0x9f0): undefined reference to `boost::python::detail::dict_base::keys() const'
./.libs/libplayer.a(ArgList.o): In function `boost::python::len(boost::python::api::object const&)':
ArgList.cpp:(.text._ZN5boost6python3lenERKNS0_3api6objectE[boost::python::len(boost::python::api::object const&)]+0x50): undefined reference to `boost::python::throw_error_already_set()'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()() const':
ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueISsEclEv[boost::python::converter::extract_rvalue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::extract_rvalue(_object*)':
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueISsEC2EP7_object[boost::python::converter::extract_rvalue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const':
ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEclEv[boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<int>::operator()() const':
ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIiEclEv[boost::python::converter::extract_rvalue<int>::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<double>::operator()() const':
ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIdEclEv[boost::python::converter::extract_rvalue<double>::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<float>::operator()() const':
ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIfEclEv[boost::python::converter::extract_rvalue<float>::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<bool>::operator()() const':
ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIbEclEv[boost::python::converter::extract_rvalue<bool>::operator()() const]+0x64): undefined reference to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg5PointIdE EEclEv[boost::python::converter::extract_rvalue<avg::Point<double> >::operator()() const]+0x64): more undefined references to `boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)' follow
./.libs/libplayer.a(ArgList.o): In function `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& (*)())':
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSsEERKNS1_12registrationEPF RT_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& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<avg::UTF8String>::extract_rvalue(_object*)':
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEC2EP7_object[boost::python::converter::extract_rvalue<avg::UTF8String>::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<int>::extract_rvalue(_object*)':
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIiEC2EP7_object[boost::python::converter::extract_rvalue<int>::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<double>::extract_rvalue(_object*)':
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIdEC2EP7_object[boost::python::converter::extract_rvalue<double>::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<float>::extract_rvalue(_object*)':
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIfEC2EP7_object[boost::python::converter::extract_rvalue<float>::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::extract_rvalue<bool>::extract_rvalue(_object*)':
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIbEC2EP7_object[boost::python::converter::extract_rvalue<bool>::extract_rvalue(_object*)]+0x58): undefined reference to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg5PointIdEE EC2EP7_object[boost::python::converter::extract_rvalue<avg::Point<double> >::extract_rvalue(_object*)]+0x58): more undefined references to `boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)' follow
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::UTF8String const volatile>(avg::UTF8String const volatile& (*)())':
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg10UTF8StringEEERKNS1_1 2registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::UTF8String const volatile>(avg::UTF8String const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())':
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKiEERKNS1_12registrationEPFR T_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())':
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKdEERKNS1_12registrationEPFR T_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())':
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKfEERKNS1_12registrationEPFR T_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(ArgList.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::Point<double> const volatile>(avg::Point<double> const volatile& (*)())':
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg5PointIdEEEERKNS1_12re gistrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::Point<double> const volatile>(avg::Point<double> const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSt6v ectorIdSaIdEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<std::vector<double, std::allocator<double> > const volatile>(std::vector<double, std::allocator<double> > const volatile& (*)())]+0x24): more undefined references to `boost::python::converter::registry::lookup(boost::python::type_info)' follow
./.libs/libplayer.a(Timeout.o): In function `avg::Timeout::Fire(long long)':
Timeout.cpp:(.text+0x6d8): undefined reference to `typeinfo for boost::python::error_already_set'
Timeout.cpp:(.text+0x6dc): undefined reference to `boost::python::error_already_set::~error_already_set()'
./.libs/libplayer.a(Timeout.o): In function `boost::python::error_already_set::error_already_set()':
Timeout.cpp:(.text._ZN5boost6python17error_already_setC1Ev[boost::python::error_already_set::error_already_set()]+0x44): undefined reference to `vtable for boost::python::error_already_set'
./.libs/libplayer.a(SoundNode.o): In function `avg::SoundNode::onEOF()':
SoundNode.cpp:(.text+0x2ed4): undefined reference to `typeinfo for boost::python::error_already_set'
SoundNode.cpp:(.text+0x2ed8): undefined reference to `boost::python::error_already_set::~error_already_set()'
./.libs/libplayer.a(Contact.o): In function `boost::python::converter::return_from_python<void>::operator()(_object*) const':
Contact.cpp:(.text._ZNK5boost6python9converter18return_from_pythonIvEclEP7_object[boost::python::converter::return_from_python<void>::operator()(_object*) const]+0x18): undefined reference to `boost::python::converter::void_result_from_python(_object*)'
./.libs/libplayer.a(LibMTDevInputDevice.o): In function `avg::LibMTDevInputDevice::~LibMTDevInputDevice()':
LibMTDevInputDevice.cpp:(.text+0x218): undefined reference to `mtdev_close'
./.libs/libplayer.a(LibMTDevInputDevice.o): In function `avg::LibMTDevInputDevice::~LibMTDevInputDevice()':
LibMTDevInputDevice.cpp:(.text+0x364): undefined reference to `mtdev_close'
./.libs/libplayer.a(LibMTDevInputDevice.o): In function `avg::LibMTDevInputDevice::~LibMTDevInputDevice()':
LibMTDevInputDevice.cpp:(.text+0x4b0): undefined reference to `mtdev_close'
./.libs/libplayer.a(LibMTDevInputDevice.o): In function `avg::LibMTDevInputDevice::start()':
LibMTDevInputDevice.cpp:(.text+0xa90): undefined reference to `mtdev_open'
./.libs/libplayer.a(LibMTDevInputDevice.o): In function `avg::LibMTDevInputDevice::pollEvents()':
LibMTDevInputDevice.cpp:(.text+0x1428): undefined reference to `mtdev_get'
./.libs/libplayer.a(VideoNode.o): In function `avg::VideoNode::onEOF()':
VideoNode.cpp:(.text+0x7420): undefined reference to `typeinfo for boost::python::error_already_set'
VideoNode.cpp:(.text+0x7424): undefined reference to `boost::python::error_already_set::~error_already_set()'
../graphics/.libs/libgraphics.a(BitmapManager.o):(.ARM.extab+0x294): undefined reference to `typeinfo for boost::python::error_already_set'
../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function `boost::python::converter::detail::pointer_deep_arg_to_python<avg::Exception*>::pointer_deep_arg_to_ python(avg::Exception*)':
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail26pointer_deep_arg_to_pythonIPN3avg9Exc eptionEEC2ES6_[boost::python::converter::detail::pointer_deep_arg_to_python<avg::Exception*>::pointer_deep_arg_to_p ython(avg::Exception*)]+0x38): undefined reference to `boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile*, boost::python::converter::registration const&)'
../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function `_object* boost::python::converter::shared_ptr_to_python<avg::Bitmap>(boost::shared_ptr<avg::Bitmap> const&)':
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg6BitmapEEEP7_objec tRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_python<avg::Bitmap>(boost::shared_ptr<avg::Bitmap> const&)]+0x88): undefined reference to `boost::python::converter::registration::to_python(void const volatile*) const'
../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::Exception const volatile>(avg::Exception const volatile& (*)())':
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg9ExceptionEEE RKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::Exception const volatile>(avg::Exception const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function `boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<boost::shared_ptr<avg::Bitmap> const volatile>(boost::shared_ptr<avg::Bitmap> const volatile& (*)())':
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3 avg6BitmapEEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<boost::shared_ptr<avg::Bitmap> const volatile>(boost::shared_ptr<avg::Bitmap> const volatile& (*)())]+0x24): undefined reference to `boost::python::converter::registry::lookup(boost::python::type_info)'
../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function `void boost::python::converter::detail::register_shared_ptr0<avg::Bitmap>(boost::shared_ptr<avg::Bitmap>*) ':
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg6BitmapEEEv PNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::Bitmap>(boost::shared_ptr<avg::Bitmap>*)]+0x1c): undefined reference to `boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'
collect2: ld returned 1 exit status
make[3]: *** [testplayer] Erreur 1
 
Old 05-16-2013, 08:26 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please hit the 'Edit' button in post #3,
and edit the error text to use code tags.
http://www.linuxquestions.org/questi....php?do=bbcode
I.e. type [/code] at text end, and [code] at error text start.

About your errors : Where is the cross compiled Python ? ?
 
Old 05-16-2013, 09:17 AM   #5
sousie_linaro
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
i dont undestand your question Where is the cross compiled Python ? ?
can you explain to me what is cross compiled Python ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compilation shariefbe Linux - Software 5 02-15-2010 05:23 AM
cross compilation shaiva Linux - Newbie 2 10-06-2009 03:43 AM
cross compilation NeoMagic Programming 5 12-13-2006 02:19 AM
cross compilation Kocil Slackware 6 12-18-2003 01:53 PM
Cross-compilation radhapriya Linux - Software 0 08-11-2003 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration