Skip to content

Instantly share code, notes, and snippets.

@cwage
Created October 30, 2016 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwage/bb23dbe38fb34c9e83d40af14d26e606 to your computer and use it in GitHub Desktop.
Save cwage/bb23dbe38fb34c9e83d40af14d26e606 to your computer and use it in GitHub Desktop.
[ 47%] Linking C executable darktable
libdarktable.so: error: undefined reference to 'powf'
libdarktable.so: error: undefined reference to 'roundf'
libdarktable.so: error: undefined reference to 'fmodf'
libdarktable.so: error: undefined reference to 'fminf'
libdarktable.so: error: undefined reference to 'fmaxf'
libdarktable.so: error: undefined reference to 'fmax'
libdarktable.so: error: undefined reference to 'fmin'
libdarktable.so: error: undefined reference to 'sqrtf'
libdarktable.so: error: undefined reference to 'operator delete(void*)'
libdarktable.so: error: undefined reference to '__gxx_personality_v0'
libdarktable.so: error: undefined reference to 'std::__throw_logic_error(char const*)'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
libdarktable.so: error: undefined reference to 'std::cerr'
libdarktable.so: error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'
libdarktable.so: error: undefined reference to 'std::ostream::put(char)'
libdarktable.so: error: undefined reference to 'std::ostream::flush()'
libdarktable.so: error: undefined reference to 'std::ctype<char>::_M_widen_init() const'
libdarktable.so: error: undefined reference to 'std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)'
libdarktable.so: error: undefined reference to 'std::__throw_bad_cast()'
libdarktable.so: error: undefined reference to '__cxa_begin_catch'
libdarktable.so: error: 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*)'
libdarktable.so: error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
libdarktable.so: error: undefined reference to '__cxa_end_catch'
libdarktable.so: error: undefined reference to 'vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'vtable for std::basic_streambuf<char, std::char_traits<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::locale::~locale()'
libdarktable.so: error: undefined reference to 'std::ios_base::ios_base()'
libdarktable.so: error: undefined reference to 'VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >'
libdarktable.so: error: undefined reference to 'vtable for std::basic_ios<char, std::char_traits<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)'
libdarktable.so: error: undefined reference to 'vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::locale::locale()'
libdarktable.so: error: undefined reference to 'std::ostream::operator<<(int)'
libdarktable.so: error: undefined reference to 'std::ios_base::~ios_base()'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()'
libdarktable.so: error: undefined reference to 'std::ios_base::Init::Init()'
libdarktable.so: error: undefined reference to 'std::ios_base::Init::~Init()'
libdarktable.so: error: undefined reference to 'pow'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char const*, unsigned long, unsigned long) const'
libdarktable.so: error: undefined reference to 'trunc'
libdarktable.so: error: undefined reference to 'floor'
libdarktable.so: error: undefined reference to '__cxa_guard_acquire'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
libdarktable.so: error: undefined reference to '__cxa_guard_release'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
libdarktable.so: error: undefined reference to '__cxa_guard_abort'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const'
libdarktable.so: error: undefined reference to 'std::ostream& std::ostream::_M_insert<long>(long)'
libdarktable.so: error: undefined reference to 'operator delete[](void*)'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'
libdarktable.so: error: undefined reference to '__cxa_allocate_exception'
libdarktable.so: error: undefined reference to '__cxa_throw'
libdarktable.so: error: undefined reference to '__cxa_free_exception'
libdarktable.so: error: undefined reference to 'VTT for std::basic_ofstream<char, std::char_traits<char> >'
libdarktable.so: error: undefined reference to 'vtable for std::basic_ofstream<char, std::char_traits<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf()'
libdarktable.so: error: undefined reference to 'std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode)'
libdarktable.so: error: undefined reference to 'std::__basic_file<char>::is_open() const'
libdarktable.so: error: undefined reference to 'std::basic_filebuf<char, std::char_traits<char> >::close()'
libdarktable.so: error: undefined reference to 'vtable for std::basic_filebuf<char, std::char_traits<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::__basic_file<char>::~__basic_file()'
libdarktable.so: error: undefined reference to 'std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()'
libdarktable.so: error: undefined reference to 'std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf()'
libdarktable.so: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'exp'
libdarktable.so: error: undefined reference to 'nearbyintf'
libdarktable.so: error: undefined reference to 'operator new(unsigned long)'
libdarktable.so: error: undefined reference to 'typeinfo for std::exception'
libdarktable.so: error: undefined reference to 'floorf'
libdarktable.so: error: undefined reference to 'sincos'
libdarktable.so: error: undefined reference to 'cosf'
libdarktable.so: error: undefined reference to 'sinf'
libdarktable.so: error: undefined reference to 'atan2f'
libdarktable.so: error: undefined reference to 'sincosf'
libdarktable.so: error: undefined reference to 'fmod'
libdarktable.so: error: undefined reference to 'sqrt'
libdarktable.so: error: undefined reference to 'ceilf'
libdarktable.so: error: undefined reference to 'atan2'
libdarktable.so: error: undefined reference to 'atan'
libdarktable.so: error: undefined reference to 'cos'
libdarktable.so: error: undefined reference to 'operator new[](unsigned long)'
libdarktable.so: error: undefined reference to '__cxa_rethrow'
libdarktable.so: error: undefined reference to '__dynamic_cast'
libdarktable.so: error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
libdarktable.so: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
libdarktable.so: error: undefined reference to 'std::__throw_out_of_range_fmt(char const*, ...)'
libdarktable.so: error: undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
libdarktable.so: error: undefined reference to 'std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
libdarktable.so: error: undefined reference to 'VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >'
libdarktable.so: error: undefined reference to 'vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >'
/usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)'
libdarktable.so: error: undefined reference to 'std::istream& std::istream::_M_extract<unsigned int>(unsigned int&)'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()'
libdarktable.so: error: undefined reference to 'std::runtime_error::~runtime_error()'
libdarktable.so: error: undefined reference to 'std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
libdarktable.so: error: undefined reference to 'typeinfo for std::runtime_error'
libdarktable.so: error: undefined reference to 'std::runtime_error::what() const'
libdarktable.so: error: undefined reference to '__cxa_throw_bad_array_new_length'
libdarktable.so: error: undefined reference to 'std::__throw_length_error(char const*)'
libdarktable.so: error: undefined reference to 'std::__throw_bad_alloc()'
libdarktable.so: error: undefined reference to 'std::istream& std::istream::_M_extract<double>(double&)'
libdarktable.so: error: undefined reference to '__cxa_pure_virtual'
libdarktable.so: error: undefined reference to '__cxa_get_exception_ptr'
libdarktable.so: error: undefined reference to 'std::runtime_error::runtime_error(std::runtime_error const&)'
libdarktable.so: error: undefined reference to 'std::istream::operator>>(int&)'
libdarktable.so: error: undefined reference to 'expf'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)'
libdarktable.so: error: undefined reference to 'log'
libdarktable.so: error: undefined reference to 'std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
libdarktable.so: error: undefined reference to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char const*, unsigned long, unsigned long) const'
libdarktable.so: error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
collect2: error: ld returned 1 exit status
src/CMakeFiles/darktable.dir/build.make:182: recipe for target 'src/darktable' failed
make[2]: *** [src/darktable] Error 1
CMakeFiles/Makefile2:1334: recipe for target 'src/CMakeFiles/darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/darktable.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 47%] Linking C shared module libprint.so
[ 47%] Linking C shared module libtethering.so
[ 49%] Linking C shared module libslideshow.so
[ 49%] Built target print
[ 49%] Built target tethering
[ 49%] Built target slideshow
[ 49%] Linking C shared module libmap.so
[ 49%] Built target map
[ 50%] Linking C shared module libknight.so
[ 50%] Built target knight
[ 50%] Linking C shared module libdarkroom.so
[ 50%] Built target darkroom
[ 50%] Linking C shared module liblighttable.so
[ 50%] Built target lighttable
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
root@a13d3da42f08:/build/darktable#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment