Protobuf-cpp.3.5.1make reported an error

an error was reported when installing protobuf-cpp.3.5.1. The error is as follows:
. / google/protobuf/stubs/hash.h: In instantiation of "google::protobuf::hash < long long int >":
. / google/protobuf/map_field.h:817: instantiated from here
. / google/protobuf/stubs/hash.h:336: error: invalid use of undefined type "struct std::tr1::hash < long long int >"
/ usr/lib/gcc/i386-redhat-linux/4.1.1/../include / cPP/4.1.1/tr1/functional:1101: error: declaration of "struct std::tr1::hash < long long int >"
. / google/protobuf/map_field.h: In member function "size_t google::protobuf::hash < google::protobuf::MapKey >:: operator () (const google::protobuf::MapKey&) const":
. / google/protobuf/map_field.h:817: error: no match for call to" (google::protobuf::hash < long long int >) (google :: protobuf::int64)"
. / google/protobuf/stubs/hash.h: At global scope:
. / google/protobuf/stubs/hash.h: In instantiation of "google::protobuf::hash < long long unsigned int >":
. / google/protobuf/map_field.h:821: instantiated from here
. / google/protobuf/stubs/hash.h:336: error: invalid use of undefined type "struct std::tr1::hash < long long unsigned int >"
/ usr/lib/gcc/i386-redhat-linux / 4.1.1 size_t google::protobuf::hash size_t google::protobuf::hash google::protobuf::MapKey:: operator () (const google::protobuf::MapKey&) const":
. / google/protobuf/map_field.h:821: error) const":
. / google/protobuf/map_field.h:821: error : no match for call to"(google::protobuf::hash < long long unsigned int >) (google::protobuf::uint64)"
make [2]: * [google/protobuf/dynamic_message.lo] Error 1
make [2]: Leaving directory `/ root/protobuf-3.5.1/src"
make [1]: * [all-recursive] Error 1
make [1]: Leaving directory` / root/protobuf-3.5.1"
make: * [all] Error 2

installation steps:
$tar-zxvf protobuf-cpp-3.5.1.tar.gz
$. / configure
$make

Mar.20,2021
Menu