https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98412
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Thanks. The next errors are: /homes/botcazou/gcc-head/src/libcody/client.cc: In function 'Cody::Packet Cody::ConnectResponse(std::vector<std::basic_string<char> >&)': /homes/botcazou/gcc-head/src/libcody/client.cc:217:64: error: 'strtoul' was not declared in this scope unsigned long val = strtoul (words[1].c_str (), &eptr, 10); ^ mv -f .deps/libz_a-trees.Tpo .deps/libz_a-trees.Po /homes/botcazou/gcc-head/src/libcody/server.cc: In function 'unsigned int Cody::ParseUnsigned(std::string&)': /homes/botcazou/gcc-head/src/libcody/server.cc:164:55: error: 'strtoul' was not declared in this scope unsigned long val = strtoul (str.c_str (), &eptr, 10); and are fixed by adding #include <cstdlib> to both files.