Bonjour,
Est ce qu'il y a une méthodologie ou bien un démarche à suivre pour faire le portage d'une librairie sous unix vers une architecture arm.
j'ai un travail qui consiste à faire le portage de libavg vers l'architecture arm, vous pouvez m'aider en me donner les detail et le demarche à suivre pour faire le portage de n'importe quelle librairie ???????
# Commencer par compiler
Posté par teoB . Évalué à 1.
Si la bibliothèque existe déjà pour l'OS que tu utiliseras, et que tu passes juste d'une architecture x86(_64) à une architecture ARM, alors tu peux commencer par la compiler sur ta plate-forme ARM (ou cross-compiler) et voir si tu as des erreurs. Normalement ça devrait passer sans avoir à faire de modifications ; peut-être juste gérer quelques dépendances.
[^] # Re: Commencer par compiler
Posté par andree . É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é .
[^] # Re: Commencer par compiler
Posté par totof2000 . Évalué à 4.
Il faudrait que tu sois plus précis :
- quelle lib ? Sur quel système tournait-elle (os, version ) ?
- ce que tu as fait
- ce qui n'a pas marché et pourquoi (messages d'erreur, etc …).
En gros pour porter une lib d'une archi à une autre il n'y a pas grand chose à faire si ce n'est a recompiler, ainsi que ses dépendances et peut-être qelques chemins à modifier si tu passes d'une distrib à une autre.
[^] # Re: Commencer par compiler
Posté par andree . É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 totof2000 . Évalué à 2.
Autres questions :
- vers quelle architecture cible (type/modèle de carte, Os installé) ?
- Lorsque tu a compilé, qu'est-ce qui n'a pas marché ?
- Est-ce à la compilation que tu as un problème ou à l'exécution ? Quel message d'erreur ?
Sinon, tu es dans un cas particulier ou il semble que la lib fasse appe à des trucs bas niveau, et ce n'est pas gagné …
[^] # Re: Commencer par compiler
Posté par andree . É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 totof2000 . Évalué à 2. Dernière modification le 08 mai 2013 à 15:02.
A vue de nez il doit manquer une référence dans les directives de compilation à la lib python boost.
Soit elle n'est pas installée/compilée, soit il manque une directive -I et/ou -L dans les directives de compilation.
Ah tiens en regardant là, peut-être une piste : https://www.libavg.de/site/projects/libavg/wiki/LinuxInstallIssues
Ubuntu Version-Specific Issues :
9.10 boost.python Bug
(…)
Il y a peut-être des infos qui pourraient t'aider et que tu pourrais adapter ….
Question : le francais est-il ta langue d'origine ?
[^] # Re: Commencer par compiler
Posté par andree . É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 totof2000 . Évalué à 2.
Ou et pour qui est-elle installée ? Sur le système hote, ou dans l'environnement compilé ?
[^] # Re: Commencer par compiler
Posté par andree . É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
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.