hephaestos Sanctis Recorda, Sanctis deus. | J'ai essayé de comprende le fonctionnement des autotools, et j'ai pas mal progressé. Néanmoins, ça ne marche toujours pas. Désormais, lorsque je lance le build, il compile correctement la bibliothèque C++, mais arrivé à la fonction principale qui appelle les fonctions de cette bibliothèque, je reçois une série d'erreurs toutes relatives au contenu de la bibliothèqe en question. J'ai un peu de mal à comprendre pourquoi ça arrive compte tenu du fait que ces fonctions ont déjà été compilées...
Code :
- ../goia/.libs/libgoia.a(GnuGoia.o): In function `__static_initialization_and_destruction_0':
- /usr/include/c++/4.3/iostream:77: undefined reference to `std::ios_base::Init::Init()'
- /usr/include/c++/4.3/iostream:77: undefined reference to `std::ios_base::Init::~Init()'
- ../goia/.libs/libgoia.a(GnuGoia.o): In function `_Alloc_hider':
- /usr/include/c++/4.3/bits/basic_string.h:260: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
- ../goia/.libs/libgoia.a(GnuGoia.o): In function `__static_initialization_and_destruction_0':
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:10: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
- ../goia/.libs/libgoia.a(GnuGoia.o): In function `Repro_mutate':
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:26: undefined reference to `std::cout'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:26: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:26: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(int)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:26: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:28: undefined reference to `std::cout'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:28: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:29: undefined reference to `std::cout'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:29: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:29: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(int)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:29: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:29: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(int)'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:30: undefined reference to `std::cout'
- /home/ernest/Documents/gnugo-3.8/goia/GnuGoia.cpp:30: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
|
|