Builds work properly if the embedded perl interpreter is not used, however if it is, the build errors out on compiling "base/checks.c" and "base/utils.c" with:
Code: Select all
checks.c: In function `run_async_service_check':
checks.c:475: warning: implicit declaration of function `asprintf'
checks.c:711: error: `n_a' undeclared (first use in this function)
checks.c:711: error: (Each undeclared identifier is reported only once
checks.c:711: error: for each function it appears in.)
checks.c:711: warning: left-hand operand of comma expression has no effect
*** Error code 1
make: Fatal error: Command failed for target `checks.o'
Code: Select all
perl_plugin_output = POPpx ;
Code: Select all
STRLEN n_a ;
The thing that bothers me is that it builds "out of the box" on Linux which smacks of non-deterministic behaviour. At least this anomaly should get documented somewhere.
Cheers!