Comment 0 for bug 1959622

Revision history for this message
Dan Bungert (dbungert) wrote :

Hydra will FTBFS when building against openssl 3.0 for want of a INT_MAX definition.

In file included from hydra-mod.c:8:
/usr/include/openssl/err.h: In function ‘ERR_GET_LIB’:
/usr/include/openssl/err.h:243:9: error: ‘INT_MAX’ undeclared (first use in this function) 243 | if (ERR_SYSTEM_ERROR(errcode)) /usr/include/openssl/err.h:31:1: note: ‘INT_MAX’ is defined in header
‘<limits.h>’; did you forget to ‘#include <limits.h>’?

limits.h does get included, but a conflict between the hydra configure file and the de-facto package layout of libmemcached-dev means that the wrong limits.h file, then one from memcached, is included.