<div dir="ltr"><div><div><div>Hello all,<br><br></div>Not sure if anyone else has come across this or not, but I'm running into an issue compiling the latest Xymon client (4.3.28) on OpenBSD 6.0.<br><br></div>I'm just compiling the client, since that's all I need for OpenBSD. So, I am first running:<br><br>MAKE=gmake ./configure.client<br><br></div><div>I just selected all the defaults for the prompts for this example.<br><br>Then, when running 'gmake', I am getting a compile error when it gets to the logfetch part:<br><br></div><div><div>...<br>gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -I/usr/local/include -L/usr/local/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBSD -I/root/xymon-4.3.28/include -DCLIENTONLY=1 -o logfetch logfetch.c ../lib/libxymonclient.a<br>logfetch.c: In function 'logdata':<br>logfetch.c:210: error: 'intmax_t' undeclared (first use in this function)<br>logfetch.c:210: error: (Each undeclared identifier is reported only once<br>logfetch.c:210: error: for each function it appears in.)<br>logfetch.c:210: error: expected ')' before 'bufsz'<br>gmake[1]: *** [Makefile:41: logfetch] Error 1<br>gmake[1]: Leaving directory '/root/xymon-4.3.28/client'<br>gmake: *** [build/Makefile.rules:77: client] Error 2<br><br></div><div>(If anyone wants the full 'gmake' output, let me know!)<br><br></div><div>If I go and comment out all the lines with logfetch in them in client/Makefile, then everything compiles successfully and I can even do a 'gmake install' and everything works just fine (but only after commenting out the logfetch lines in $XYMONHOME/bin/xymonclient.sh)<wbr>.<br><br></div><div>Honestly, this works fine for my case since I don't really need any logfetch functionality working for this particular client anyways. But it'd be nice if I didn't have to do all this commenting every time I want to compile a new version of the Xymon client on OpenBSD.<br><br></div><div>Has anyone run into this issue and/or know what needs to be done to resolve it?<br><br></div><div>Thanks in advance for any assistance!!<br></div><br clear="all"><div><div><div><div><div><div class="m_540636775795412885gmail_signature"><div>--</div><div>Matt Vander Werf</div></div></div>
</div></div></div></div></div></div>