Skip to content
New issue

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

question: how to resolved the compiling error on centOS7 #1855

Open
shawn-xc opened this issue Nov 13, 2024 · 0 comments
Open

question: how to resolved the compiling error on centOS7 #1855

shawn-xc opened this issue Nov 13, 2024 · 0 comments

Comments

@shawn-xc
Copy link

install spike on centOS7, erros shows below:

libriscv.a(socketif.o): In function `boost::cpp_regex_traits<char>::transform[abi:cxx11](char const*, char const*) const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:919: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
  1. boost_regex lib check passe : checking for boostlib >= 1.53 (105300)... yes
  2. g++ cmd:
g++ -L. -Wl,--export-dynamic -L/usr/lib64  -Wl,-rpath, ./RISCV/lib  extension.o -o spike spike.o  libspike_main.a  libriscv.a  libdisasm.a  libsoftfloat.a  libfesvr.a  libfdt.a -lpthread -ldl -lboost_regex -lboost_system -lpthread  -lboost_system-mt -lboost_regex-mt
  1. I have installed boost_reg lib:
  $ ls /usr/lib64 | grep boost_regex
  libboost_regex-mt.so
  libboost_regex-mt.so.1.53.0
  libboost_regex.so
  libboost_regex.so.1.53.0
  libboost_regex.so.1.60.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant