<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6396.0">
<TITLE>NRPE 2.0 with IRIX 6.5.19m</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Folks</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Has any body managed to get NRPE 2.0 to compile under SGI IRIX 6.5.19m</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have tried both under gcc and cc</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Error messages are for cc</FONT>
<BR><FONT SIZE=2 FACE="Arial"># make</FONT>
<BR><FONT SIZE=2 FACE="Arial"> cd ./src/; make ; cd ..</FONT>
<BR><FONT SIZE=2 FACE="Arial"> /usr/bin/cc -g -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket</FONT></P>
<P><FONT SIZE=2 FACE="Arial">nrpe.c:</FONT>
<BR><FONT SIZE=2 FACE="Arial">"nrpe.c", line 684: warning(1110): statement is unreachable</FONT>
<BR><FONT SIZE=2 FACE="Arial"> syslog(LOG_NOTICE,"Terminating");</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ^</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">"nrpe.c", line 1442: error(1070): incomplete type is not allowed</FONT>
<BR><FONT SIZE=2 FACE="Arial"> static struct option long_options[]={</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ^</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">"nrpe.c", line 1443: error(1020): identifier "required_argument" is undefined</FONT>
<BR><FONT SIZE=2 FACE="Arial"> {"config", required_argument, 0, 'c'},</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ^</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Error messages for Gcc</FONT>
<BR><FONT SIZE=2 FACE="Arial"># make</FONT>
<BR><FONT SIZE=2 FACE="Arial"> cd ./src/; make ; cd ..</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gcc -g -O2 -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket</FONT></P>
<P><FONT SIZE=2 FACE="Arial">nrpe.c: In function `process_arguments':</FONT>
<BR><FONT SIZE=2 FACE="Arial">nrpe.c:1442: error: elements of array `long_options' have incomplete type</FONT>
<BR><FONT SIZE=2 FACE="Arial">nrpe.c:1443: warning: excess elements in struct initializer</FONT>
<BR><FONT SIZE=2 FACE="Arial">nrpe.c:1443: warning: (near initialization for `long_options[0]')</FONT>
<BR><FONT SIZE=2 FACE="Arial">nrpe.c:1443: error: `required_argument' undeclared (first use in this function)</FONT>
</P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Thanks</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Matt</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Matthew Garrett</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Unix System Support</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Shell Information Technology International Limited</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Tel:</FONT></B> <FONT SIZE=2 FACE="Arial">+44 (0)1224 81 8373</FONT><B><FONT SIZE=2 FACE="Arial"> Other Tel:</FONT></B> <FONT SIZE=2 FACE="Arial">Internal 630 8373</FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Email:</FONT></B> <FONT SIZE=2 FACE="Arial">Matt.M.Garrett@is.shell.com</FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Internet:</FONT></B> <FONT SIZE=2 FACE="Arial"><A HREF="http://www.shell.com">http://www.shell.com</A></FONT></SPAN>
</P>
</BODY>
</HTML>