Subject: | Compilation fails on debian/stretch and Ubuntu 16.04 (strndup) |
This looks like a similar issue as in https://rt.cpan.org/Ticket/Display.html?id=121387:
...
cc -c -I. -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/opt/perl-5.25.12/lib/5.25.12/x86_64-linux/CORE" parser_routines.c
In file included from /usr/include/string.h:630:0,
from parser_routines.c:9:
rinchi_string.h:12:7: error: expected identifier or â(â before â__extension__â
char *strndup(const char *S, size_t SIZE);
^
Makefile:363: recipe for target 'parser_routines.o' failed
make: *** [parser_routines.o] Error 1
...