Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

make all error in RedHat 8 #28

Open
hrace009 opened this issue Apr 18, 2021 · 0 comments
Open

make all error in RedHat 8 #28

hrace009 opened this issue Apr 18, 2021 · 0 comments

Comments

@hrace009
Copy link

Hello, i got this error when tying to make all

g++ -std=c++17 -O2 \
-I./common/ \
  \
  \
  \
./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Elf64Interpreter.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/PatchSolution.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsIsExist(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x354): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x363): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsIsFile(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x4d1): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x4de): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsIsDirectory(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x651): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x65e): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsCopyFile(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x7e2): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x827): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x83b): undefined reference to `std::filesystem::copy_file(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&, std::filesystem::copy_options, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsDeleteFile(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x9f1): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x9fe): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsCurrentWorkingDirectory[abi:cxx11]()':
Misc.cpp:(.text+0xb1e): undefined reference to `std::filesystem::current_path[abi:cxx11](std::error_code&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:70: patcher] Error 1

Any solution for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant