<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Some help is appreciated! :)</TITLE>
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff size=2>use
gnu's make (make), usually in /usr/local/bin. If it is there modify your
path. If not download it from <A
href="http://www.sunfreeware.com">www.sunfreeware.com</A></FONT></SPAN></DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff size=2>Try to
re compile, don't forget to rm the config.* files before running
./configure</FONT></SPAN></DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff size=2>you
may need to download and install the packages autoconf and automake also
use pkgadd -d ./autoconf..........</FONT></SPAN></DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff
size=2>HTH</FONT></SPAN></DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=197432119-26082002><FONT face=Arial color=#0000ff
size=2>Dan</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Josh Skains
[mailto:JSkains@deltad.com]<BR><B>Sent:</B> Monday, August 26, 2002 1:29
PM<BR><B>To:</B> 'nagios-users@lists.sourceforge.net'<BR><B>Subject:</B>
[Nagios-users] Some help is appreciated! :)<BR><BR></FONT></DIV>
<P><FONT size=2>I am trying to compile nrpe and the plugins on a solaris
machine. Any help is appreciated..</FONT> </P>
<P><FONT size=2>With the plugins I get:</FONT> </P>
<P><FONT size=2>Making all in plugins</FONT> <BR><FONT size=2>mksh: Fatal
error in reader: = missing from replacement macro reference</FONT> <BR><FONT
size=2>Current working directory
/mhome/jskains/work/mon/nagiosplug-1.3-beta1/plugins</FONT> <BR><FONT
size=2>*** Error code 1</FONT> <BR><FONT size=2>make: Fatal error: Command
failed for target `all-recursive'</FONT> </P><BR>
<P><FONT size=2>With nrpe, I get:</FONT> </P>
<P><FONT size=2>cd ./src/; make ; cd ..</FONT> <BR><FONT size=2>gcc -g -O2
-DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe</FONT>
<BR><FONT size=2>In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/time.h:90,</FONT>
<BR><FONT
size=2>
from /usr/include/sys/time.h:405,</FONT> <BR><FONT
size=2>
from /usr/include/sys/select.h:17,</FONT> <BR><FONT
size=2>
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/types.h:281,</FONT>
<BR><FONT
size=2>
from /usr/include/strings.h:11,</FONT> <BR><FONT
size=2>
from ../common/config.h:49,</FONT> <BR><FONT
size=2>
from nrpe.c:22:</FONT> <BR><FONT size=2>/usr/include/sys/siginfo.h:74: parse
error before `pthread_attr_t'</FONT> <BR><FONT
size=2>/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct
or union</FONT> <BR><FONT size=2>/usr/include/sys/siginfo.h:76: parse error
before `}'</FONT> <BR><FONT size=2>In file included from
../common/config.h:120,</FONT> <BR><FONT
size=2>
from nrpe.c:22:</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:47: parse
error before `sa_family_t'</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:47: warning: data definition has no type or
storage class</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:56: parse
error before `socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:56:
warning: data definition has no type or storage class</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:187: parse error before `sa_family_t'</FONT>
<BR><FONT size=2>/usr/include/sys/socket.h:187: warning: no semicolon at end
of struct or union</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:189:
parse error before `}'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:234:
parse error before `socklen_t'</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:234: warning: no semicolon at end of struct
or union</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:246: parse error
before `}'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:312: parse error
before `socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:312:
warning: no semicolon at end of struct or union</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:315: parse error before `}'</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:385: parse error before `socklen_t'</FONT>
<BR><FONT size=2>/usr/include/sys/socket.h:386: parse error before
`socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:399: parse error
before `socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:400:
parse error before `socklen_t'</FONT> <BR><FONT size=2>In file included from
nrpe.c:24:</FONT> <BR><FONT size=2>netutils.h:37: warning: `struct in_addr'
declared inside parameter list</FONT> <BR><FONT size=2>netutils.h:37: warning:
its scope is only this definition or declaration,</FONT> <BR><FONT
size=2>netutils.h:37: warning: which is probably not what you want.</FONT>
<BR><FONT size=2>nrpe.c: In function `wait_for_connections':</FONT> <BR><FONT
size=2>nrpe.c:327: storage size of `myname' isn't known</FONT> <BR><FONT
size=2>nrpe.c:329: storage size of `addr' isn't known</FONT> <BR><FONT
size=2>nrpe.c:358: `INADDR_ANY' undeclared (first use this function)</FONT>
<BR><FONT size=2>nrpe.c:358: (Each undeclared identifier is reported only
once</FONT> <BR><FONT size=2>nrpe.c:358: for each function it appears
in.)</FONT> <BR><FONT size=2>nrpe.c:443: dereferencing pointer to incomplete
type</FONT> <BR><FONT size=2>nrpe.c:443: dereferencing pointer to incomplete
type</FONT> <BR><FONT size=2>nrpe.c:446: dereferencing pointer to incomplete
type</FONT> <BR><FONT size=2>In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/time.h:90,</FONT>
<BR><FONT
size=2>
from /usr/include/sys/time.h:405,</FONT> <BR><FONT
size=2>
from /usr/include/sys/select.h:17,</FONT> <BR><FONT
size=2>
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/types.h:281,</FONT>
<BR><FONT
size=2>
from /usr/include/strings.h:11,</FONT> <BR><FONT
size=2>
from ../common/config.h:49,</FONT> <BR><FONT
size=2>
from netutils.h:32,</FONT> <BR><FONT
size=2>
from netutils.c:33:</FONT> <BR><FONT size=2>/usr/include/sys/siginfo.h:74:
parse error before `pthread_attr_t'</FONT> <BR><FONT
size=2>/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct
or union</FONT> <BR><FONT size=2>/usr/include/sys/siginfo.h:76: parse error
before `}'</FONT> <BR><FONT size=2>In file included from
../common/config.h:120,</FONT> <BR><FONT
size=2>
from netutils.h:32,</FONT> <BR><FONT
size=2>
from netutils.c:33:</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:47:
parse error before `sa_family_t'</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:47: warning: data definition has no type or
storage class</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:56: parse
error before `socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:56:
warning: data definition has no type or storage class</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:187: parse error before `sa_family_t'</FONT>
<BR><FONT size=2>/usr/include/sys/socket.h:187: warning: no semicolon at end
of struct or union</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:189:
parse error before `}'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:234:
parse error before `socklen_t'</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:234: warning: no semicolon at end of struct
or union</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:246: parse error
before `}'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:312: parse error
before `socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:312:
warning: no semicolon at end of struct or union</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:315: parse error before `}'</FONT> <BR><FONT
size=2>/usr/include/sys/socket.h:385: parse error before `socklen_t'</FONT>
<BR><FONT size=2>/usr/include/sys/socket.h:386: parse error before
`socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:399: parse error
before `socklen_t'</FONT> <BR><FONT size=2>/usr/include/sys/socket.h:400:
parse error before `socklen_t'</FONT> <BR><FONT size=2>In file included from
netutils.c:33:</FONT> <BR><FONT size=2>netutils.h:37: warning: `struct
in_addr' declared inside parameter list</FONT> <BR><FONT size=2>netutils.h:37:
warning: its scope is only this definition or declaration,</FONT> <BR><FONT
size=2>netutils.h:37: warning: which is probably not what you want.</FONT>
<BR><FONT size=2>netutils.c: In function `my_connect':</FONT> <BR><FONT
size=2>netutils.c:48: storage size of `servaddr' isn't known</FONT> <BR><FONT
size=2>netutils.c:61: warning: assignment makes pointer from integer without a
cast</FONT> <BR><FONT size=2>netutils.c:67: dereferencing pointer to
incomplete type</FONT> <BR><FONT size=2>netutils.c:67: dereferencing pointer
to incomplete type</FONT> <BR><FONT size=2>netutils.c:71: warning: assignment
makes pointer from integer without a cast</FONT> <BR><FONT
size=2>netutils.c:77: dereferencing pointer to incomplete type</FONT>
<BR><FONT size=2>netutils.c: At top level:</FONT> <BR><FONT
size=2>netutils.c:110: warning: `struct in_addr' declared inside parameter
list</FONT> <BR><FONT size=2>netutils.c:110: conflicting types for
`my_inet_aton'</FONT> <BR><FONT size=2>netutils.h:37: previous declaration of
`my_inet_aton'</FONT> <BR><FONT size=2>netutils.c: In function
`my_inet_aton':</FONT> <BR><FONT size=2>netutils.c:203: dereferencing pointer
to incomplete type</FONT> <BR><FONT size=2>*** Error code 1</FONT> <BR><FONT
size=2>make: Fatal error: Command failed for target `nrpe'</FONT> <BR><FONT
size=2>Current working directory /mhome/jskains/work/mon/nrpe-1.5/src</FONT>
<BR><FONT size=2>*** Error code 1</FONT> <BR><FONT size=2>make: Fatal error:
Command failed for target `all'</FONT> </P></BLOCKQUOTE></BODY></HTML>