Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
70 Views

Undefined reference to `_intel_fast_memcpy' `_intel_fast_memmove' `_intel_fast_memcpy'

I compiled a library using the intel compiler but when I make use of the library I the error message below. The library uses automake.

 

/usr/local/lib/libGE.a(Genotype.o): In function `std::char_traits<char>::length(char const*)':
/usr/include/c++/7.4.0/bits/char_traits.h:320: undefined reference to `__intel_sse2_strlen'
/usr/local/lib/libGE.a(Genotype.o): In function `int* std::__copy_move<true, true, std::random_access_iterator_tag>::__copy_m<int>(int const*, int const*, int*)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(Genotype.o): In function `int* std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<int>(int const*, int const*, int*)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(Phenotype.o):/usr/include/c++/7.4.0/bits/stl_algobase.h:368: more undefined references to `_intel_fast_memmove' follow
/usr/local/lib/libGE.a(CFGrammar.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libGE.a(CFGrammar.o): In function `std::char_traits<char>::length(char const*)':
/usr/include/c++/7.4.0/bits/char_traits.h:320: undefined reference to `__intel_sse2_strlen'
/usr/local/lib/libGE.a(CFGrammar.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libGE.a(CFGrammar.o): In function `CFGrammar::readBNFString(char const*)':
/home/michael/Downloads/libge-0.26.02/src/CFGrammar.cpp:158: undefined reference to `__intel_sse2_strlen'
/usr/local/lib/libGE.a(CFGrammar.o): In function `Symbol** std::__copy_move<true, true, std::random_access_iterator_tag>::__copy_m<Symbol*>(Symbol* const*, Symbol* const*, Symbol**)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(CFGrammar.o):/usr/include/c++/7.4.0/bits/stl_algobase.h:368: more undefined references to `_intel_fast_memmove' follow
/usr/local/lib/libGE.a(CFGrammar.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libGE.a(CFGrammar.o): In function `Symbol** std::__copy_move<true, true, std::random_access_iterator_tag>::__copy_m<Symbol*>(Symbol* const*, Symbol* const*, Symbol**)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(GEGrammar.o): In function `Symbol const*** std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<Symbol const**>(Symbol const** const*, Symbol const** const*, Symbol const***)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(GEGrammar.o): In function `Symbol const*** std::__copy_move_backward<false, true, std::random_access_iterator_tag>::__copy_move_b<Symbol const**>(Symbol const** const*, Symbol const** const*, Symbol const***)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:570: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(GEGrammar.o): In function `Symbol const*** std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<Symbol const**>(Symbol const** const*, Symbol const** const*, Symbol const***)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(GEGrammar.o):/usr/include/c++/7.4.0/bits/stl_algobase.h:368: more undefined references to `_intel_fast_memmove' follow
/usr/local/lib/libGE.a(GEGrammarSI.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libGE.a(GEGrammarSI.o): In function `int* std::__copy_move<true, true, std::random_access_iterator_tag>::__copy_m<int>(int const*, int const*, int*)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(GEGrammarSI.o):/usr/include/c++/7.4.0/bits/stl_algobase.h:368: more undefined references to `_intel_fast_memmove' follow
/usr/local/lib/libGE.a(Symbol.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libGE.a(Symbol.o):/usr/include/c++/7.4.0/bits/char_traits.h:350: more undefined references to `_intel_fast_memcpy' follow
/usr/local/lib/libGE.a(Symbol.o): In function `std::char_traits<char>::compare(char const*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:310: undefined reference to `_intel_fast_memcmp'
/usr/local/lib/libGE.a(Production.o): In function `_ZSt10__fill_n_aIPP6SymbolmS1_EN9__gnu_cxx11__enable_ifIXsr3std11__is_scalarIT1_EE7__valueET_E6__typeES6_T0_RKS5_':
/usr/include/c++/7.4.0/bits/stl_algobase.h:752: undefined reference to `_intel_fast_memset'
/usr/local/lib/libGE.a(Production.o): In function `Symbol** std::__copy_move<true, true, std::random_access_iterator_tag>::__copy_m<Symbol*>(Symbol* const*, Symbol* const*, Symbol**)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(Production.o): In function `_ZSt10__fill_n_aIPP6SymbolmS1_EN9__gnu_cxx11__enable_ifIXsr3std11__is_scalarIT1_EE7__valueET_E6__typeES6_T0_RKS5_':
/usr/include/c++/7.4.0/bits/stl_algobase.h:752: undefined reference to `_intel_fast_memset'
/usr/local/lib/libGE.a(Production.o): In function `Symbol** std::__copy_move<true, true, std::random_access_iterator_tag>::__copy_m<Symbol*>(Symbol* const*, Symbol* const*, Symbol**)':
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/include/c++/7.4.0/bits/stl_algobase.h:368: undefined reference to `_intel_fast_memmove'
/usr/local/lib/libGE.a(Rule.o):/usr/include/c++/7.4.0/bits/stl_algobase.h:368: more undefined references to `_intel_fast_memmove' follow
/usr/local/lib/libGE.a(Grammar.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:350: undefined reference to `_intel_fast_memcpy'
/usr/local/lib/libGE.a(Grammar.o): In function `std::char_traits<char>::compare(char const*, char const*, unsigned long)':
/usr/include/c++/7.4.0/bits/char_traits.h:310: undefined reference to `_intel_fast_memcmp'
/usr/include/c++/7.4.0/bits/char_traits.h:310: undefined reference to `_intel_fast_memcmp'

 

0 Kudos
1 Reply
Highlighted
Moderator
70 Views

These are defined in libirc.a or libintlc.so. Make sure to link one of these in your build.

0 Kudos