We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
d774ab3
Linux
CUDA
I am trying to compile llama.cpp on a linux system.
Steps:
Error:
[ 3%] Built target ggml-base [ 29%] Built target ggml-cuda [ 32%] Built target ggml-cpu [ 33%] Built target ggml [ 40%] Built target llama [ 40%] Built target build_info [ 44%] Built target common [ 45%] Linking CXX executable ../bin/test-tokenizer-0 ../bin/libggml.so: undefined reference to vtable for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::directory_iterator::operator*() const' ../bin/libggml.so: undefined reference to typeinfo for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::path::_M_find_extension() const' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::filesystem_error::~filesystem_error()' ../bin/libggml.so: undefined reference to std::filesystem::status(std::filesystem::__cxx11::path const&)' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::path::_M_split_cmpts()' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::directory_iterator::operator++()' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)' ../bin/libggml.so: undefined reference to std::filesystem::__cxx11::filesystem_error::_M_gen_what()' collect2: error: ld returned 1 exit status gmake[2]: *** [tests/CMakeFiles/test-tokenizer-0.dir/build.make:103: bin/test-tokenizer-0] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:1906: tests/CMakeFiles/test-tokenizer-0.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2
vtable for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to
typeinfo for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::filesystem_error::~filesystem_error()' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::path::_M_split_cmpts()' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)' ../bin/libggml.so: undefined reference to
No response
GGML_CUDA_ENABLE_UNIFIED_MEMORY=1 GGML_CUDA_F16=1 cmake --build build --config Release
[ 3%] Built target ggml-base [ 29%] Built target ggml-cuda [ 32%] Built target ggml-cpu [ 33%] Built target ggml [ 40%] Built target llama [ 40%] Built target build_info [ 44%] Built target common [ 45%] Linking CXX executable ../bin/test-tokenizer-0 ../bin/libggml.so: undefined reference to `vtable for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const' ../bin/libggml.so: undefined reference to `typeinfo for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::filesystem_error::~filesystem_error()' ../bin/libggml.so: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)' ../bin/libggml.so: undefined reference to `std::filesystem::__cxx11::filesystem_error::_M_gen_what()' collect2: error: ld returned 1 exit status gmake[2]: *** [tests/CMakeFiles/test-tokenizer-0.dir/build.make:103: bin/test-tokenizer-0] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:1906: tests/CMakeFiles/test-tokenizer-0.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2
The text was updated successfully, but these errors were encountered:
Your compiler is likely very old. Upgrade to a newer version.
Sorry, something went wrong.
No branches or pull requests
Git commit
d774ab3
Operating systems
Linux
GGML backends
CUDA
Problem description & steps to reproduce
I am trying to compile llama.cpp on a linux system.
Steps:
Error:
[ 3%] Built target ggml-base
[ 29%] Built target ggml-cuda
[ 32%] Built target ggml-cpu
[ 33%] Built target ggml
[ 40%] Built target llama
[ 40%] Built target build_info
[ 44%] Built target common
[ 45%] Linking CXX executable ../bin/test-tokenizer-0
../bin/libggml.so: undefined reference to
vtable for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::directory_iterator::operator*() const'../bin/libggml.so: undefined reference to
typeinfo for std::filesystem::__cxx11::filesystem_error' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::path::_M_find_extension() const'../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::filesystem_error::~filesystem_error()' ../bin/libggml.so: undefined reference to
std::filesystem::status(std::filesystem::__cxx11::path const&)'../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::path::_M_split_cmpts()' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::directory_iterator::operator++()'../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)' ../bin/libggml.so: undefined reference to
std::filesystem::__cxx11::filesystem_error::_M_gen_what()'collect2: error: ld returned 1 exit status
gmake[2]: *** [tests/CMakeFiles/test-tokenizer-0.dir/build.make:103: bin/test-tokenizer-0] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1906: tests/CMakeFiles/test-tokenizer-0.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
First Bad Commit
No response
Compile command
Relevant log output
The text was updated successfully, but these errors were encountered: