Subject: | Compilation fails on FreeBSD 11 |
On a FreeBSD 11.1 system:
...
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -DPIC -fPIC "-I/usr/perl5.27.3p/lib/5.27.3/amd64-freebsd/CORE" Process.c
Process.xs:294:65: error: use of undeclared identifier 'P_KTHREAD'
hv_store(h, "kthread", 7, newSViv(NO_FREEBSD_4x(P_FLAG(P_KTHREAD))), 0);
^
1 error generated.
*** Error code 1
...