Linker errors when initially compiling on Alpine Linux
Opened this issue · 0 comments
After installing all the dependencies, when I run the build command it throws these linker errors:
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to malloc_trim@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
std::basic_ostream<char, std::char_traits >& std::operator<< <char, std::char_traits, std::allocator >(std::basic_ostream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to strcat@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
clock_gettime@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to prctl@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
ferror@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to ceilf@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
sigsuspend@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to vtable for std::basic_filebuf<char, std::char_traits<char> >@GLIBCXX_3.4' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
__isinf@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to getsockname@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
VTT for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to sqrtf@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
localtime@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to dup@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
pthread_sigmask@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to __xpg_basename@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to setsockopt@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
getpeername@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to tcsetattr@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
getcwd@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to explicit_bzero@GLIBC_2.25' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
std::condition_variable::~condition_variable()@GLIBCXX_3.4.11'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
_setjmp@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to std::__future_base::_State_baseV2::_Make_ready::_M_set()@GLIBCXX_3.4.21' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
strncmp@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to cosf@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
pthread_create@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to setitimer@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
getenv@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to remainder@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
inet_pton@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
operator new[](unsigned long)@GLIBCXX_3.4'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to FcLangSetDestroy' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
sinh@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to nextafterf@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to strpbrk@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
fsync@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to fputc@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.21'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to tan@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
bcmp@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to fwrite@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
strerror@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to pthread_mutex_init@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
strcpy@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to FcPatternAddBool' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
trunc@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to getpagesize@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
rmdir@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to inotify_add_watch@GLIBC_2.4' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
std::basic_ifstream<char, std::char_traits >::basic_ifstream(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to fputc_unlocked@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
pthread_mutexattr_settype@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to __timezone@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
freeaddrinfo@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to FcLangSetAdd' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
std::istream::get()@GLIBCXX_3.4'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to std::__throw_bad_cast()@GLIBCXX_3.4' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
fclose@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to strtol@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
std::basic_ostream<char, std::char_traits >& std::endl<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&)@GLIBCXX_3.4'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to acosf@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
sqrt@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to powf@GLIBC_2.27' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
mmap@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to __ctype_tolower_loc@GLIBC_2.3' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
localtime_r@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to __once_proxy@GLIBCXX_3.4.11' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
expf@GLIBC_2.27'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to shutdown@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
pthread_cond_broadcast@GLIBC_2.3.2'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to __lxstat@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
mmap64@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to lroundf@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
std::ios_base::ios_base()@GLIBCXX_3.4'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to geteuid@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
__tls_get_addr@GLIBC_2.3'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to memcmp@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to
__cxa_guard_release@CXXABI_1.3'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to strdup@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
lseek64@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
sigaction@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to FcLangSetCreate' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libWebCore.so: undefined reference to
getaddrinfo@GLIBC_2.2.5'
/usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libUltralightCore.so: undefined reference to longjmp@GLIBC_2.2.5' /usr/bin/ld: /home/rhys/ultralight-quick-start/build/SDK/bin/libAppCore.so: undefined reference to
FcFontSetMatch'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)