J'ai istallé libmtdev-dev et je fais exportation du mtdev_libs et mtdev_cflags
export MTDEV_CFLAGS="/usr/local/include/"
export MTDEV_LIBS="/usr/local/lib/"
et je reçois le meme message d’erreur :
LibMTDevInputDevice.cpp:41:19: error: mtdev.h: Aucun fichier ou dossier de ce type
LibMTDevInputDevice.cpp:42:27: error: mtdev-mapping.h: Aucun fichier ou dossier de ce type
LibMTDevInputDevice.cpp: In destructor ‘virtual avg::LibMTDevInputDevice::~LibMTDevInputDevice()’:
LibMTDevInputDevice.cpp:58: error: ‘mtdev_close’ was not declared in this scope
LibMTDevInputDevice.cpp:59: warning: possible problem detected in invocation of delete operator:
LibMTDevInputDevice.cpp:59: warning: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: warning: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:59: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
LibMTDevInputDevice.cpp: In member function ‘virtual void avg::LibMTDevInputDevice::start()’:
LibMTDevInputDevice.cpp:73: error: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:74: error: ‘mtdev_open’ was not declared in this scope
LibMTDevInputDevice.cpp:81: error: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:81: error: ‘MTDEV_POSITION_X’ was not declared in this scope
LibMTDevInputDevice.cpp:84: error: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:84: error: ‘MTDEV_POSITION_Y’ was not declared in this scope
LibMTDevInputDevice.cpp: In member function ‘virtual std::vectorboost::shared_ptr > avg::LibMTDevInputDevice::pollEvents()’:
LibMTDevInputDevice.cpp:98: error: ‘mtdev_get’ was not declared in this scope
LibMTDevInputDevice.cpp:103: error: ‘ABS_MT_SLOT’ was not declared in this scope
make[3]: *** [LibMTDevInputDevice.lo] Erreur 1
There is some x86 assembler in the code, we need to disable it.
Edit src/base/Exception.cpp and replace debugBreak code by :
void debugBreak()
{
ifndef arm
ifdef _WIN32
__asm int 3;
else
asm("int $3");
endif
else
asm("swi 0x03");
endif
}
Please note that I’m not fully sure of the ARM assembly I’ve used to replace the INT x86 instruction. If I’m wrong let me know. Anyway this code should not be called if the environment variable AVG_BREAK_ON_ASSERT is not set to 1.
Export some environment variables (or create source.env file instead):
La Librairie que je vient de compiler n'existe pas pour l'architecture ARM.
Moi je veut savoir s 'il y a un demarche exacte à suivre, car j'ai suivi pas mal de tutorial et ca n'a pas marché .
[^] # Re: Gcc -M fichier
Posté par andree . En réponse au message Dépendance des librairies . Évalué à 0.
par exemple j ai la librairie libgtk2.0-dev comment je peux appliquer les regles -M [ -MG ] sur sa code source pour savoir les dépendances
[^] # Re: google ..
Posté par andree . En réponse au message mtdev.h erreur . Évalué à -1.
j'ai fais la cross-compilation de libmtdev-dev pour arm et j'ai donner les paths pour mtdev_cflags et mtdv_libs, rien n'est pas changé et je recois un message d'eurreur plus compliqué:
CXXLD testplayer
./.libs/libplayer.a(Player.o): In function
boost::python::converter::arg_to_python<char const*>::arg_to_python(char const* const&)':
boost::python::converter::do_return_to_python(char 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
./.libs/libplayer.a(Player.o): In function
boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)':
boost::python::api::getattr(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
./.libs/libplayer.a(Player.o): In function
boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)':
boost::python::api::getitem(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
./.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&)':
boost::python::api::setitem(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
./.libs/libplayer.a(Player.o): In function
_object* boost::python::expect_non_null<_object>(_object*)':
boost::python::throw_error_already_set()'Player.cpp:(.text._ZN5boost6python15expect_non_nullI7_objectEEPT_S4_[_object* boost::python::expect_non_null<_object>(_object*)]+0x1c): undefined reference to
./.libs/libplayer.a(Player.o): In function
bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const':
boost::python::detail::dict_base::has_key(boost::python::api::object const&) const'Player.cpp:(.text._ZNK5boost6python4dict7has_keyIA7_cEEbRKT_[bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const]+0x34): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::api::object_operators<boost::python::api::object>::operator _object* (boost::python::api::object::*)() const() const':
boost::python::throw_error_already_set()'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
./.libs/libplayer.a(Player.o): In function
boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)':
boost::python::converter::rvalue_result_from_python(_object*, boost::python::converter::rvalue_from_python_stage1_data&)'Player.cpp:(.text._ZN5boost6python9converter6detail25return_rvalue_from_pythonIbEclEP7_object[boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)]+0x30): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::extract_rvalue(_object*)':
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'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
./.libs/libplayer.a(Player.o): In function
boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'Player.cpp:(.text._ZNK5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEclEv[boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(Player.o): In function
_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)':
boost::python::converter::registration::to_python(void const volatile*) const'Player.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg5EventEEEP7_objectRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)]+0x88): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<bool const volatile>(bool const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'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
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg7DivNodeEEEEERKNS1_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
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg5EventEEEEERKNS1_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
./.libs/libplayer.a(Player.o): In function
void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode>*)':
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg7DivNodeEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode>*)]+0x1c): undefined reference to
./.libs/libplayer.a(Player.o): In function
void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)':
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg5EventEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)]+0x1c): undefined reference to
./.libs/libplayer.a(PluginManager.o): In function
avg::PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
boost::python::api::object::object(boost::python::handle<_object> const&)'PluginManager.cpp:(.text+0xacc): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
boost::python::detail::dict_base::keys() const'ArgList.cpp:(.text+0x568): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
boost::python::detail::dict_base::keys() const'ArgList.cpp:(.text+0x9f0): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::len(boost::python::api::object const&)':
boost::python::throw_error_already_set()'ArgList.cpp:(.text._ZN5boost6python3lenERKNS0_3api6objectE[boost::python::len(boost::python::api::object const&)]+0x50): undefined reference to
./.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':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration 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
./.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*)':
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'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
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEclEv[boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<int>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIiEclEv[boost::python::converter::extract_rvalue<int>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<double>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIdEclEv[boost::python::converter::extract_rvalue<double>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<float>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIfEclEv[boost::python::converter::extract_rvalue<float>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<bool>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIbEclEv[boost::python::converter::extract_rvalue<bool>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg5PointIdEEEclEv[boost::python::converter::extract_rvalueavg::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
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2, std::allocator > const volatile>(std::basic_string, std::allocator > const volatile& (*)())':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSsEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2, std::allocator > const volatile>(std::basic_string, std::allocator > const volatile& (*)())]+0x24): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
boost::python::converter::extract_rvalueavg::UTF8String::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEC2EP7_object[boost::python::converter::extract_rvalueavg::UTF8String::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIiEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIdEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIfEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIbEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)' follow./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg5PointIdEEEC2EP7_object[boost::python::converter::extract_rvalue<avg::Point<double> >::extract_rvalue(_object*)]+0x58): more undefined references to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg10UTF8StringEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::UTF8String const volatile>(avg::UTF8String const volatile& (*)())]+0x24): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKiEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())]+0x24): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKdEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())]+0x24): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKfEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())]+0x24): undefined reference to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg5PointIdEEEERKNS1_12registrationEPFRT_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
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSt6vectorIdSaIdEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2 > const volatile>(std::vector > const volatile& (*)())]+0x24): more undefined references to
boost::python::converter::registry::lookup(boost::python::type_info)' follow
avg::Timeout::Fire(long long)':./.libs/libplayer.a(Timeout.o): In function
Timeout.cpp:(.text+0x6d8): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::error_already_set::~error_already_set()'Timeout.cpp:(.text+0x6dc): undefined reference to
./.libs/libplayer.a(Timeout.o): In function
boost::python::error_already_set::error_already_set()':
vtable for boost::python::error_already_set'Timeout.cpp:(.text._ZN5boost6python17error_already_setC1Ev[boost::python::error_already_set::error_already_set()]+0x44): undefined reference to
./.libs/libplayer.a(SoundNode.o): In function
avg::SoundNode::onEOF()':
typeinfo for boost::python::error_already_set'SoundNode.cpp:(.text+0x2ed4): undefined reference to
SoundNode.cpp:(.text+0x2ed8): undefined reference to
boost::python::error_already_set::~error_already_set()'
boost::python::converter::return_from_python::operator()(_object*) const':./.libs/libplayer.a(Contact.o): In function
Contact.cpp:(.text._ZNK5boost6python9converter18return_from_pythonIvEclEP7_object[boost::python::converter::return_from_python::operator()(_object*) const]+0x18): undefined reference to
boost::python::converter::void_result_from_python(_object*)'
avg::LibMTDevInputDevice::~LibMTDevInputDevice()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x218): undefined reference to
mtdev_close'
avg::LibMTDevInputDevice::~LibMTDevInputDevice()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x364): undefined reference to
mtdev_close'
avg::LibMTDevInputDevice::~LibMTDevInputDevice()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x4b0): undefined reference to
mtdev_close'
avg::LibMTDevInputDevice::start()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0xa90): undefined reference to
mtdev_open'
avg::LibMTDevInputDevice::pollEvents()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x1428): undefined reference to
mtdev_get'
avg::VideoNode::onEOF()':./.libs/libplayer.a(VideoNode.o): In function
VideoNode.cpp:(.text+0x7420): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::error_already_set::~error_already_set()'VideoNode.cpp:(.text+0x7424): undefined reference to
../graphics/.libs/libgraphics.a(BitmapManager.o):(.ARM.extab+0x294): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::converter::detail::pointer_deep_arg_to_pythonavg::Exception*::pointer_deep_arg_to_python(avg::Exception*)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail26pointer_deep_arg_to_pythonIPN3avg9ExceptionEEC2ES6_[boost::python::converter::detail::pointer_deep_arg_to_pythonavg::Exception*::pointer_deep_arg_to_python(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&)'
_object* boost::python::converter::shared_ptr_to_pythonavg::Bitmap(boost::shared_ptravg::Bitmap const&)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg6BitmapEEEP7_objectRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_pythonavg::Bitmap(boost::shared_ptravg::Bitmap const&)]+0x88): undefined reference to
boost::python::converter::registration::to_python(void const volatile*) const'
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2(avg::Exception const volatile& (*)())':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg9ExceptionEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2(avg::Exception const volatile& (*)())]+0x24): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2boost::shared_ptr<avg::Bitmap const volatile>(boost::shared_ptravg::Bitmap const volatile& (*)())':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg6BitmapEEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2boost::shared_ptr<avg::Bitmap const volatile>(boost::shared_ptravg::Bitmap const volatile& (*)())]+0x24): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
void boost::python::converter::detail::register_shared_ptr0avg::Bitmap(boost::shared_ptravg::Bitmap)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg6BitmapEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0avg::Bitmap(boost::shared_ptravg::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
[^] # Re: Commencer par compiler
Posté par andree . En réponse au message Portage des librairies . Évalué à 0.
dans l'nvironement la machine hote avec la commande
/usr/share/pdebuild-cross/xapt -a armel …… --force-yes
et l erreur est le suivant :
CXXLD testplayer
./.libs/libplayer.a(Player.o): In function
boost::python::converter::arg_to_python<char const*>::arg_to_python(char const* const&)':
boost::python::converter::do_return_to_python(char 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
./.libs/libplayer.a(Player.o): In function
boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)':
boost::python::api::getattr(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
./.libs/libplayer.a(Player.o): In function
boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)':
boost::python::api::getitem(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
./.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&)':
boost::python::api::setitem(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
./.libs/libplayer.a(Player.o): In function
_object* boost::python::expect_non_null<_object>(_object*)':
boost::python::throw_error_already_set()'Player.cpp:(.text._ZN5boost6python15expect_non_nullI7_objectEEPT_S4_[_object* boost::python::expect_non_null<_object>(_object*)]+0x1c): undefined reference to
./.libs/libplayer.a(Player.o): In function
bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const':
boost::python::detail::dict_base::has_key(boost::python::api::object const&) const'Player.cpp:(.text._ZNK5boost6python4dict7has_keyIA7_cEEbRKT_[bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const]+0x34): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::api::object_operators<boost::python::api::object>::operator _object* (boost::python::api::object::*)() const() const':
boost::python::throw_error_already_set()'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
./.libs/libplayer.a(Player.o): In function
boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)':
boost::python::converter::rvalue_result_from_python(_object*, boost::python::converter::rvalue_from_python_stage1_data&)'Player.cpp:(.text._ZN5boost6python9converter6detail25return_rvalue_from_pythonIbEclEP7_object[boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)]+0x30): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::extract_rvalue(_object*)':
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'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
./.libs/libplayer.a(Player.o): In function
boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'Player.cpp:(.text._ZNK5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEclEv[boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(Player.o): In function
_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)':
boost::python::converter::registration::to_python(void const volatile*) const'Player.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg5EventEEEP7_objectRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)]+0x88): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<bool const volatile>(bool const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'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
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg7DivNodeEEEEERKNS1_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
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg5EventEEEEERKNS1_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
./.libs/libplayer.a(Player.o): In function
void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode>*)':
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg7DivNodeEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode>*)]+0x1c): undefined reference to
./.libs/libplayer.a(Player.o): In function
void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)':
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg5EventEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)]+0x1c): undefined reference to
./.libs/libplayer.a(PluginManager.o): In function
avg::PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
boost::python::api::object::object(boost::python::handle<_object> const&)'PluginManager.cpp:(.text+0xacc): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
boost::python::detail::dict_base::keys() const'ArgList.cpp:(.text+0x568): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
boost::python::detail::dict_base::keys() const'ArgList.cpp:(.text+0x9f0): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::len(boost::python::api::object const&)':
boost::python::throw_error_already_set()'ArgList.cpp:(.text._ZN5boost6python3lenERKNS0_3api6objectE[boost::python::len(boost::python::api::object const&)]+0x50): undefined reference to
./.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':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration 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
./.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*)':
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'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
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEclEv[boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<int>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIiEclEv[boost::python::converter::extract_rvalue<int>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<double>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIdEclEv[boost::python::converter::extract_rvalue<double>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<float>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIfEclEv[boost::python::converter::extract_rvalue<float>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<bool>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIbEclEv[boost::python::converter::extract_rvalue<bool>::operator()() const]+0x64): undefined reference to
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg5PointIdEEEclEv[boost::python::converter::extract_rvalueavg::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
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2, std::allocator > const volatile>(std::basic_string, std::allocator > const volatile& (*)())':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSsEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2, std::allocator > const volatile>(std::basic_string, std::allocator > const volatile& (*)())]+0x24): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
boost::python::converter::extract_rvalueavg::UTF8String::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEC2EP7_object[boost::python::converter::extract_rvalueavg::UTF8String::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIiEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIdEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIfEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIbEC2EP7_object[boost::python::converter::extract_rvalue::extract_rvalue(_object*)]+0x58): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)' follow./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg5PointIdEEEC2EP7_object[boost::python::converter::extract_rvalue<avg::Point<double> >::extract_rvalue(_object*)]+0x58): more undefined references to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg10UTF8StringEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::UTF8String const volatile>(avg::UTF8String const volatile& (*)())]+0x24): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKiEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())]+0x24): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKdEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())]+0x24): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKfEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())]+0x24): undefined reference to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg5PointIdEEEERKNS1_12registrationEPFRT_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
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSt6vectorIdSaIdEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2 > const volatile>(std::vector > const volatile& (*)())]+0x24): more undefined references to
boost::python::converter::registry::lookup(boost::python::type_info)' follow
avg::Timeout::Fire(long long)':./.libs/libplayer.a(Timeout.o): In function
Timeout.cpp:(.text+0x6d8): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::error_already_set::~error_already_set()'Timeout.cpp:(.text+0x6dc): undefined reference to
./.libs/libplayer.a(Timeout.o): In function
boost::python::error_already_set::error_already_set()':
vtable for boost::python::error_already_set'Timeout.cpp:(.text._ZN5boost6python17error_already_setC1Ev[boost::python::error_already_set::error_already_set()]+0x44): undefined reference to
./.libs/libplayer.a(SoundNode.o): In function
avg::SoundNode::onEOF()':
typeinfo for boost::python::error_already_set'SoundNode.cpp:(.text+0x2ed4): undefined reference to
SoundNode.cpp:(.text+0x2ed8): undefined reference to
boost::python::error_already_set::~error_already_set()'
boost::python::converter::return_from_python::operator()(_object*) const':./.libs/libplayer.a(Contact.o): In function
Contact.cpp:(.text._ZNK5boost6python9converter18return_from_pythonIvEclEP7_object[boost::python::converter::return_from_python::operator()(_object*) const]+0x18): undefined reference to
boost::python::converter::void_result_from_python(_object*)'
avg::LibMTDevInputDevice::~LibMTDevInputDevice()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x218): undefined reference to
mtdev_close'
avg::LibMTDevInputDevice::~LibMTDevInputDevice()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x364): undefined reference to
mtdev_close'
avg::LibMTDevInputDevice::~LibMTDevInputDevice()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x4b0): undefined reference to
mtdev_close'
avg::LibMTDevInputDevice::start()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0xa90): undefined reference to
mtdev_open'
avg::LibMTDevInputDevice::pollEvents()':./.libs/libplayer.a(LibMTDevInputDevice.o): In function
LibMTDevInputDevice.cpp:(.text+0x1428): undefined reference to
mtdev_get'
avg::VideoNode::onEOF()':./.libs/libplayer.a(VideoNode.o): In function
VideoNode.cpp:(.text+0x7420): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::error_already_set::~error_already_set()'VideoNode.cpp:(.text+0x7424): undefined reference to
../graphics/.libs/libgraphics.a(BitmapManager.o):(.ARM.extab+0x294): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::converter::detail::pointer_deep_arg_to_pythonavg::Exception*::pointer_deep_arg_to_python(avg::Exception*)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail26pointer_deep_arg_to_pythonIPN3avg9ExceptionEEC2ES6_[boost::python::converter::detail::pointer_deep_arg_to_pythonavg::Exception*::pointer_deep_arg_to_python(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&)'
_object* boost::python::converter::shared_ptr_to_pythonavg::Bitmap(boost::shared_ptravg::Bitmap const&)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg6BitmapEEEP7_objectRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_pythonavg::Bitmap(boost::shared_ptravg::Bitmap const&)]+0x88): undefined reference to
boost::python::converter::registration::to_python(void const volatile*) const'
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2(avg::Exception const volatile& (*)())':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg9ExceptionEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2(avg::Exception const volatile& (*)())]+0x24): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2boost::shared_ptr<avg::Bitmap const volatile>(boost::shared_ptravg::Bitmap const volatile& (*)())':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg6BitmapEEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2boost::shared_ptr<avg::Bitmap const volatile>(boost::shared_ptravg::Bitmap const volatile& (*)())]+0x24): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
void boost::python::converter::detail::register_shared_ptr0avg::Bitmap(boost::shared_ptravg::Bitmap)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg6BitmapEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0avg::Bitmap(boost::shared_ptravg::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
[^] # Re: google ..
Posté par andree . En réponse au message mtdev.h erreur . Évalué à 0.
LibMTDevInputDevice.cpp fait appel à
je dois faire la cross-compilation encore de libmtdev-dev ?
d'habitude pour les autre libraire je fias l'installation avec xapt
/usr/share/pdebuild-cross/xapt -a armel libmtdev-dev --force-yes et ca ne marche pas ?
[^] # Re: google ..
Posté par andree . En réponse au message mtdev.h erreur . Évalué à 0.
Bonjour,
J'ai istallé libmtdev-dev et je fais exportation du mtdev_libs et mtdev_cflags
export MTDEV_CFLAGS="/usr/local/include/"
export MTDEV_LIBS="/usr/local/lib/"
et je reçois le meme message d’erreur :
LibMTDevInputDevice.cpp:41:19: error: mtdev.h: Aucun fichier ou dossier de ce type
LibMTDevInputDevice.cpp:42:27: error: mtdev-mapping.h: Aucun fichier ou dossier de ce type
LibMTDevInputDevice.cpp: In destructor ‘virtual avg::LibMTDevInputDevice::~LibMTDevInputDevice()’:
LibMTDevInputDevice.cpp:58: error: ‘mtdev_close’ was not declared in this scope
LibMTDevInputDevice.cpp:59: warning: possible problem detected in invocation of delete operator:
LibMTDevInputDevice.cpp:59: warning: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: warning: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:59: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
LibMTDevInputDevice.cpp: In member function ‘virtual void avg::LibMTDevInputDevice::start()’:
LibMTDevInputDevice.cpp:73: error: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:74: error: ‘mtdev_open’ was not declared in this scope
LibMTDevInputDevice.cpp:81: error: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:81: error: ‘MTDEV_POSITION_X’ was not declared in this scope
LibMTDevInputDevice.cpp:84: error: invalid use of incomplete type ‘struct mtdev’
LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’
LibMTDevInputDevice.cpp:84: error: ‘MTDEV_POSITION_Y’ was not declared in this scope
LibMTDevInputDevice.cpp: In member function ‘virtual std::vectorboost::shared_ptr > avg::LibMTDevInputDevice::pollEvents()’:
LibMTDevInputDevice.cpp:98: error: ‘mtdev_get’ was not declared in this scope
LibMTDevInputDevice.cpp:103: error: ‘ABS_MT_SLOT’ was not declared in this scope
make[3]: *** [LibMTDevInputDevice.lo] Erreur 1
[^] # Re: Commencer par compiler
Posté par andree . En réponse au message Portage des librairies . Évalué à 0.
je ne crois pas car je fais la référence à lib python boost
export BOOST_PYTHON_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export BOOST_PYTHON_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
et elle est installée
[^] # Re: Commencer par compiler
Posté par andree . En réponse au message Portage des librairies . Évalué à 0.
architecture arm catre ebv beagle board ti omap 3550 ( http://www.ebv.com/index.php?id=102&no_cache=1&tx_ebvproductfe_pi1[uid]=456) et concernant l'os j'ai lai généré manuellement ( http://elinux.org/BeagleBoard).
la problème se pose lors de la compilation et précisément lorsque j 'exécute la commande make.
message d’erreur :
make
Making all in src
make[1]: Entering directory
/home/administrateur/Bureau/libavg-1.7.1/src'
/home/administrateur/Bureau/libavg-1.7.1/src'make all-recursive
make[2]: Entering directory
Making all in base
make[3]: Entering directory
/home/administrateur/Bureau/libavg-1.7.1/src/base'
all'.make[3]: Nothing to be done for
make[3]: Leaving directory
/home/administrateur/Bureau/libavg-1.7.1/src/base'
/home/administrateur/Bureau/libavg-1.7.1/src/graphics'Making all in graphics
make[3]: Entering directory
make[3]: Nothing to be done for
all'.
/home/administrateur/Bureau/libavg-1.7.1/src/graphics'make[3]: Leaving directory
Making all in imaging
make[3]: Entering directory
/home/administrateur/Bureau/libavg-1.7.1/src/imaging'
all'.make[3]: Nothing to be done for
make[3]: Leaving directory
/home/administrateur/Bureau/libavg-1.7.1/src/imaging'
/home/administrateur/Bureau/libavg-1.7.1/src/lmfit'Making all in lmfit
make[3]: Entering directory
make[3]: Nothing to be done for
all'.
/home/administrateur/Bureau/libavg-1.7.1/src/lmfit'make[3]: Leaving directory
Making all in oscpack
make[3]: Entering directory
/home/administrateur/Bureau/libavg-1.7.1/src/oscpack'
all'.make[3]: Nothing to be done for
make[3]: Leaving directory
/home/administrateur/Bureau/libavg-1.7.1/src/oscpack'
/home/administrateur/Bureau/libavg-1.7.1/src/audio'Making all in audio
make[3]: Entering directory
make[3]: Nothing to be done for
all'.
/home/administrateur/Bureau/libavg-1.7.1/src/audio'make[3]: Leaving directory
Making all in video
make[3]: Entering directory
/home/administrateur/Bureau/libavg-1.7.1/src/video'
all'.make[3]: Nothing to be done for
make[3]: Leaving directory
/home/administrateur/Bureau/libavg-1.7.1/src/video'
/home/administrateur/Bureau/libavg-1.7.1/src/player'Making all in player
make[3]: Entering directory
CXXLD testplayer
./.libs/libplayer.a(Player.o): In function
boost::python::converter::arg_to_python<char const*>::arg_to_python(char const* const&)':
boost::python::converter::do_return_to_python(char const*)'Player.cpp:(.text._ZN5boost6python9converter13arg_to_pythonIPKcEC2ERKS4_[_ZN5boost6python9converter13arg_to_pythonIPKcEC5ERKS4_]+0x12): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)':
boost::python::api::getattr(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*)]+0x14): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)':
boost::python::api::getitem(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&)]+0x14): undefined reference to
./.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&)':
boost::python::api::setitem(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&)]+0x12): undefined reference to
./.libs/libplayer.a(Player.o): In function
_object* boost::python::expect_non_null<_object>(_object*)':
boost::python::throw_error_already_set()'Player.cpp:(.text._ZN5boost6python15expect_non_nullI7_objectEEPT_S4_[_object* boost::python::expect_non_null<_object>(_object*)]+0xe): undefined reference to
./.libs/libplayer.a(Player.o): In function
bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const':
boost::python::detail::dict_base::has_key(boost::python::api::object const&) const'Player.cpp:(.text._ZNK5boost6python4dict7has_keyIA7_cEEbRKT_[bool boost::python::dict::has_key<char [7]>(char const (&) [7]) const]+0x20): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::api::object_operators<boost::python::api::object>::operator _object* (boost::python::api::object::*)() const() const':
boost::python::throw_error_already_set()'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]+0x2c): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)':
boost::python::converter::rvalue_result_from_python(_object*, boost::python::converter::rvalue_from_python_stage1_data&)'Player.cpp:(.text._ZN5boost6python9converter6detail25return_rvalue_from_pythonIbEclEP7_object[boost::python::converter::detail::return_rvalue_from_python<bool>::operator()(_object*)]+0x1c): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::extract_rvalue(_object*)':
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'Player.cpp:(.text._ZN5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEC2EP7_object[_ZN5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEC5EP7_object]+0x32): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'Player.cpp:(.text._ZNK5boost6python9converter14extract_rvalueINS_10shared_ptrIN3avg7DivNodeEEEEclEv[boost::python::converter::extract_rvalue<boost::shared_ptr<avg::DivNode> >::operator()() const]+0x38): undefined reference to
./.libs/libplayer.a(Player.o): In function
_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)':
boost::python::converter::registration::to_python(void const volatile*) const'Player.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg5EventEEEP7_objectRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_python<avg::Event>(boost::shared_ptr<avg::Event> const&)]+0x4e): undefined reference to
./.libs/libplayer.a(Player.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<bool const volatile>(bool const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKbEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<bool const volatile>(bool const volatile& (*)())]+0x18): undefined reference to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg7DivNodeEEEEERKNS1_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& (*)())]+0x18): undefined reference to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg5EventEEEEERKNS1_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& (*)())]+0x18): undefined reference to
./.libs/libplayer.a(Player.o): In function
void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode>*)':
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg7DivNodeEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::DivNode>(boost::shared_ptr<avg::DivNode>*)]+0x10): undefined reference to
./.libs/libplayer.a(Player.o): In function
void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)':
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'Player.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg5EventEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0<avg::Event>(boost::shared_ptr<avg::Event>*)]+0x10): undefined reference to
./.libs/libplayer.a(PluginManager.o): In function
avg::PluginManager::loadPlugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
boost::python::api::object::object(boost::python::handle<_object> const&)'PluginManager.cpp:(.text+0x3f2): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
avg::ArgList::ArgList(avg::ArgList const&, boost::python::dict const&)':
boost::python::detail::dict_base::keys() const'ArgList.cpp:(.text+0x192): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::len(boost::python::api::object const&)':
boost::python::throw_error_already_set()'ArgList.cpp:(.text._ZN5boost6python3lenERKNS0_3api6objectE[boost::python::len(boost::python::api::object const&)]+0x30): undefined reference to
./.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':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueISsEclEv[boost::python::converter::extract_rvalue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()() const]+0x38): undefined reference to
./.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*)':
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueISsEC2EP7_object[_ZN5boost6python9converter14extract_rvalueISsEC5EP7_object]+0x32): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEclEv[boost::python::converter::extract_rvalue<avg::UTF8String>::operator()() const]+0x38): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<int>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIiEclEv[boost::python::converter::extract_rvalue<int>::operator()() const]+0x38): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<double>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIdEclEv[boost::python::converter::extract_rvalue<double>::operator()() const]+0x38): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<float>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIfEclEv[boost::python::converter::extract_rvalue<float>::operator()() const]+0x38): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::extract_rvalue<bool>::operator()() const':
boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)'ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIbEclEv[boost::python::converter::extract_rvalue<bool>::operator()() const]+0x38): undefined reference to
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZNK5boost6python9converter14extract_rvalueIN3avg5PointIdEEEclEv[boost::python::converter::extract_rvalueavg::Point<double >::operator()() const]+0x38): 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
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2, std::allocator > const volatile>(std::basic_string, std::allocator > const volatile& (*)())':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSsEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2, std::allocator > const volatile>(std::basic_string, std::allocator > const volatile& (*)())]+0x18): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
boost::python::converter::extract_rvalueavg::UTF8String::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEC2EP7_object[_ZN5boost6python9converter14extract_rvalueIN3avg10UTF8StringEEC5EP7_object]+0x32): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIiEC2EP7_object[_ZN5boost6python9converter14extract_rvalueIiEC5EP7_object]+0x32): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIdEC2EP7_object[_ZN5boost6python9converter14extract_rvalueIdEC5EP7_object]+0x32): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIfEC2EP7_object[_ZN5boost6python9converter14extract_rvalueIfEC5EP7_object]+0x32): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::extract_rvalue::extract_rvalue(_object*)':./.libs/libplayer.a(ArgList.o): In function
ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIbEC2EP7_object[_ZN5boost6python9converter14extract_rvalueIbEC5EP7_object]+0x32): undefined reference to
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)'
boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)' follow./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter14extract_rvalueIN3avg5PointIdEEEC2EP7_object[_ZN5boost6python9converter14extract_rvalueIN3avg5PointIdEEEC5EP7_object]+0x32): more undefined references to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg10UTF8StringEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::UTF8String const volatile>(avg::UTF8String const volatile& (*)())]+0x18): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKiEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<int const volatile>(int const volatile& (*)())]+0x18): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKdEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<double const volatile>(double const volatile& (*)())]+0x18): undefined reference to
./.libs/libplayer.a(ArgList.o): In function
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKfEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<float const volatile>(float const volatile& (*)())]+0x18): undefined reference to
./.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& (*)())':
boost::python::converter::registry::lookup(boost::python::type_info)'ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg5PointIdEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2<avg::Point<double> const volatile>(avg::Point<double> const volatile& (*)())]+0x18): undefined reference to
./.libs/libplayer.a(ArgList.o):ArgList.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKSt6vectorIdSaIdEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2 > const volatile>(std::vector > const volatile& (*)())]+0x18): more undefined references to
boost::python::converter::registry::lookup(boost::python::type_info)' follow
avg::Timeout::Fire(long long)':./.libs/libplayer.a(Timeout.o): In function
Timeout.cpp:(.text+0x270): undefined reference to
boost::python::error_already_set::~error_already_set()'
typeinfo for boost::python::error_already_set'Timeout.cpp:(.text+0x274): undefined reference to
./.libs/libplayer.a(Timeout.o): In function
boost::python::error_already_set::error_already_set()':
vtable for boost::python::error_already_set'Timeout.cpp:(.text._ZN5boost6python17error_already_setC2Ev[_ZN5boost6python17error_already_setC5Ev]+0x2c): undefined reference to
./.libs/libplayer.a(SoundNode.o): In function
avg::SoundNode::onEOF()':
boost::python::error_already_set::~error_already_set()'SoundNode.cpp:(.text+0x1500): undefined reference to
SoundNode.cpp:(.text+0x1504): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::converter::return_from_python::operator()(_object*) const':./.libs/libplayer.a(Contact.o): In function
Contact.cpp:(.text._ZNK5boost6python9converter18return_from_pythonIvEclEP7_object[boost::python::converter::return_from_python::operator()(_object*) const]+0xc): undefined reference to
boost::python::converter::void_result_from_python(_object*)'
avg::VideoNode::onEOF()':./.libs/libplayer.a(VideoNode.o): In function
VideoNode.cpp:(.text+0x3a8c): undefined reference to
boost::python::error_already_set::~error_already_set()'
typeinfo for boost::python::error_already_set'VideoNode.cpp:(.text+0x3a90): undefined reference to
../graphics/.libs/libgraphics.a(BitmapManager.o):(.ARM.extab+0x190): undefined reference to
typeinfo for boost::python::error_already_set'
boost::python::converter::detail::pointer_deep_arg_to_pythonavg::Exception*::pointer_deep_arg_to_python(avg::Exception*)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail26pointer_deep_arg_to_pythonIPN3avg9ExceptionEEC2ES6_[_ZN5boost6python9converter6detail26pointer_deep_arg_to_pythonIPN3avg9ExceptionEEC5ES6_]+0x1c): undefined reference to
boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile*, boost::python::converter::registration const&)'
_object* boost::python::converter::shared_ptr_to_pythonavg::Bitmap(boost::shared_ptravg::Bitmap const&)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter20shared_ptr_to_pythonIN3avg6BitmapEEEP7_objectRKNS_10shared_ptrIT_EE[_object* boost::python::converter::shared_ptr_to_pythonavg::Bitmap(boost::shared_ptravg::Bitmap const&)]+0x4e): undefined reference to
boost::python::converter::registration::to_python(void const volatile*) const'
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2(avg::Exception const volatile& (*)())':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKN3avg9ExceptionEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2(avg::Exception const volatile& (*)())]+0x18): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2boost::shared_ptr<avg::Bitmap const volatile>(boost::shared_ptravg::Bitmap const volatile& (*)())':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail16registry_lookup2IVKNS_10shared_ptrIN3avg6BitmapEEEEERKNS1_12registrationEPFRT_vE[boost::python::converter::registration const& boost::python::converter::detail::registry_lookup2boost::shared_ptr<avg::Bitmap const volatile>(boost::shared_ptravg::Bitmap const volatile& (*)())]+0x18): undefined reference to
boost::python::converter::registry::lookup(boost::python::type_info)'
void boost::python::converter::detail::register_shared_ptr0avg::Bitmap(boost::shared_ptravg::Bitmap)':../graphics/.libs/libgraphics.a(BitmapManagerMsg.o): In function
BitmapManagerMsg.cpp:(.text._ZN5boost6python9converter6detail20register_shared_ptr0IN3avg6BitmapEEEvPNS_10shared_ptrIT_EE[void boost::python::converter::detail::register_shared_ptr0avg::Bitmap(boost::shared_ptravg::Bitmap)]+0x10): undefined reference to
boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)'
/home/administrateur/Bureau/libavg-1.7.1/src/player'collect2: ld returned 1 exit status
make[3]: *** [testplayer] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
/home/administrateur/Bureau/libavg-1.7.1/src'
/home/administrateur/Bureau/libavg-1.7.1/src'make[1]: *** [all] Error 2
make[1]: Leaving directory
make: *** [all-recursive] Error 1
[^] # Re: Commencer par compiler
Posté par andree . En réponse au message Portage des librairies . Évalué à 0.
lib= libavg-1.7.1 (www.libavg.de)
et voila les configuration que j'ia fais :
Download libavg 1.7 source code
wget http://www.libavg.de/raw-attachment/wiki/DownLoad/libavg-1.7.0.tar.gz
Extract it
tar xzvf libavg-1.7.0.tar.gz
cd libavg-1.7.0
Install the following armel development packages:
Remove the SSE2 flags in configure script:
cat configure | sed s/-msse2// > configure.arm
mv configure.arm configure
chmod 755 configure
There is some x86 assembler in the code, we need to disable it.
Edit src/base/Exception.cpp and replace debugBreak code by :
void debugBreak()
{
ifndef arm
ifdef _WIN32
else
endif
else
endif
}
Please note that I’m not fully sure of the ARM assembly I’ve used to replace the INT x86 instruction. If I’m wrong let me know. Anyway this code should not be called if the environment variable AVG_BREAK_ON_ASSERT is not set to 1.
Export some environment variables (or create source.env file instead):
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_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export BOOST_PYTHON_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
export BOOST_THREAD_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export LIBRSVG_LIBS="-L/usr/arm-linux-gnueabi/lib/"
export LIBRSVG_CFLAGS="-I/usr/arm-linux-gnueabi/include/"
Configure, build and install libavg:
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=arm-linux-gnueabi-g++-4.4 AR=arm-linux-gnueabi-ar TRIP=arm-linux-gnueabi-strip RANLIB=arm-linux-gnueabi-ranlib --prefix=/home/invitee/Bureau/out
[^] # Re: Commencer par compiler
Posté par andree . En réponse au message Portage des librairies . Évalué à 0.
La Librairie que je vient de compiler n'existe pas pour l'architecture ARM.
Moi je veut savoir s 'il y a un demarche exacte à suivre, car j'ai suivi pas mal de tutorial et ca n'a pas marché .