You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CXX dnsdist-lua-bindings.o
dnsdist-lua-bindings.cc: In lambda function:
dnsdist-lua-bindings.cc:438:92: error: ‘class boost::optional’ has no member named ‘value_or’; did you mean ‘get_value_or’?
return std::make_shared(v4Config, v6Config, qnameConfig, format, external.value_or(false));
^~~~~~~~
get_value_or
dnsdist-lua-bindings.cc: In lambda function:
dnsdist-lua-bindings.cc:470:72: error: ‘class boost::optional’ has no member named ‘value_or’; did you mean ‘get_value_or’?
return bpf->block(qname, BPFFilter::MatchAction::Drop, qtype.value_or(255));
^~~~~~~~
get_value_or
dnsdist-lua-bindings.cc:488:49: error: ‘class boost::optional’ has no member named ‘value_or’; did you mean ‘get_value_or’?
return bpf->block(qname, match, qtype.value_or(255));
^~~~~~~~
get_value_or
make[2]: *** [dnsdist-lua-bindings.o] Error 1
make[2]: Leaving directory /root/dnsdist-1.7.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /root/dnsdist-1.7.2'
make: *** [all] Error 2
Other information
The text was updated successfully, but these errors were encountered:
I got past these by using amazon linux 2 gcc10 and building the latest version of boost (amazon linux 2 version is quite old). My build isn't done yet but I suspect you'd have success doing that.
Short description
compilation error
Environment
Steps to reproduce
./configure
make
Expected behaviour
Actual behaviour
CXX dnsdist-lua-bindings.o
dnsdist-lua-bindings.cc: In lambda function:
dnsdist-lua-bindings.cc:438:92: error: ‘class boost::optional’ has no member named ‘value_or’; did you mean ‘get_value_or’?
return std::make_shared(v4Config, v6Config, qnameConfig, format, external.value_or(false));
^~~~~~~~
get_value_or
dnsdist-lua-bindings.cc: In lambda function:
dnsdist-lua-bindings.cc:470:72: error: ‘class boost::optional’ has no member named ‘value_or’; did you mean ‘get_value_or’?
return bpf->block(qname, BPFFilter::MatchAction::Drop, qtype.value_or(255));
^~~~~~~~
get_value_or
dnsdist-lua-bindings.cc:488:49: error: ‘class boost::optional’ has no member named ‘value_or’; did you mean ‘get_value_or’?
return bpf->block(qname, match, qtype.value_or(255));
^~~~~~~~
get_value_or
make[2]: *** [dnsdist-lua-bindings.o] Error 1
make[2]: Leaving directory
/root/dnsdist-1.7.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/dnsdist-1.7.2'make: *** [all] Error 2
Other information
The text was updated successfully, but these errors were encountered: