Subject: | Compile error on Debian/stretch |
On some Debian/stretch systems the build fails with a compilation error:
...
cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0.1\" -DXS_VERSION=\"2.0.1\" -fPIC "-I/opt/perl-5.24.1t/lib/5.24.1/x86_64-linux-thread-multi/CORE" key_utils.c
key_utils.c: In function 'getPublicKeyFromPem':
key_utils.c:185:12: error: storage size of 'start' isn't known
BIGNUM start;
^~~~~
key_utils.c:189:5: warning: implicit declaration of function 'BN_init' [-Wimplicit-function-declaration]
BN_init(&start);
^~~~~~~
Makefile:338: recipe for target 'key_utils.o' failed
make: *** [key_utils.o] Error 1
...