Closed solas closed 1 year ago
g++ -o z3 shell/lp_frontend.o ... util/util.a -lpthread Undefined symbols for architecture x86_64: "ast_smt2_pp(std::1::basic_ostream<char, std::__1::char_traits >&, func_decl, expr, smt2_pp_environment&, params_ref const&, unsigned int, char const*)", referenced from: model_converter::display_add(std::1::basic_ostream<char, std::1::char_traits >&, smt2_pp_environment&, ast_manager&, func_decl, expr) in tactic.a(model_converter.o) (maybe you meant: ast_smt2_pp(std::1::basic_ostream<char, std::__1::char_traits >&, func_decl, expr, smt2_pp_environment&, params_ref const&, unsigned int, char const*, bool)) ld: symbol(s) not found for architecture x86_64
Same result with clang++
looks like a compiler issue around overload and default argument resolution. I have changed the signature of the function it complains about to work around it.
g++ -o z3 shell/lp_frontend.o ... util/util.a -lpthread Undefined symbols for architecture x86_64: "ast_smt2_pp(std::1::basic_ostream<char, std::__1::char_traits >&, func_decl, expr, smt2_pp_environment&, params_ref const&, unsigned int, char const*)", referenced from:
model_converter::display_add(std:: 1::basic_ostream<char, std::1::char_traits >&, smt2_pp_environment&, ast_manager&, func_decl, expr) in tactic.a(model_converter.o)
(maybe you meant: ast_smt2_pp(std:: 1::basic_ostream<char, std::__1::char_traits >&, func_decl, expr, smt2_pp_environment&, params_ref const&, unsigned int, char const*, bool))
ld: symbol(s) not found for architecture x86_64
Same result with clang++