我正在尝试编译一个库,但是在高山linux上出现一些错误。在debian上,一切正常。我安装了
这些是错误:
1. /usr/include/c++/8.3.0/ext/string_conversions.h:63:27: error: 'errno' was not declared in this scope
_Save_errno() : _M_errno(errno) { errno = 0; }
2. /usr/include/c++/8.3.0/ext/string_conversions.h:63:27: note: 'errno' is defined in header '<cerrno>'; did you forget to '#include <cerrno>'?
3. /usr/include/c++/8.3.0/ext/string_conversions.h:84:16: note: 'errno' is defined in header '<cerrno>'; did you forget to '#include <cerrno>'?
In file included from /usr/include/c++/8.3.0/system_error:39,
from /usr/include/c++/8.3.0/mutex:42,
from ../shared/include/log/df_log.h:18,
from ../shared/include/channel/channel_bridge.h:15,
from ./include/datafox_library_iv.h:5,
from src/datafox_library_iv.cpp:4:
/usr/include/c++/8.3.0/x86_64-alpine-linux-musl/bits/error_constants.h: At global scope:
/usr/include/c++/8.3.0/x86_64-alpine-linux-musl/bits/error_constants.h:122:27: error: 'ENOTSUP' was not declared in this scope
not_supported = ENOTSUP,