nrpe-2.04b compile error: u_int32_t

Jordi Vidal jordivi at wtransnet.net
Wed Jul 9 17:57:26 CEST 2003


Hi Ethan

	I compiled and installed it succesfully in the following
plattforms (solaris 8 and 9):

SunOS e450 5.8 sun4u sparc SUNW,Ultra-4
SunOS e250 5.8 sun4u sparc SUNW,Ultra-250
SunOS v480 5.9 sun4u sparc SUNW,Sun-Fire-480R


Just in case it were an unwanted effect, I noticed that inetd.conf syntax 
has changed (dont work with "--inetd"): 

	.../nrpe -- -c /etc/nrpe.cfg -i
instead of
	.../nrpe -- -c /etc/nrpe.cfg --inetd


Thank you,
	Jordi Vidal

On Tue, 8 Jul 2003, Ethan Galstad wrote:

> Hi Jordi -
> 
> I made a few modifications to NRPE since beta 4 that should fix this 
> problem.  Could you grab the latest CVS tarball (URL is listed below) 
> and see if it compiles without problems?  Let me know how this works. 
>  Thanks!
> 
> http://nagios.sourceforge.net/download/cvs/nrpe-cvs.tar.gz
> 
> 
> 
> On 8 Jul 2003 at 20:24, Jordi Vidal wrote:
> 
> > Hi
> > 	I'm trying to compile nrpe-2.0b4 in a Solaris 8 box (SunOS wtn250 
> > 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-250). I get an error about
> > "u_int32_t". Can someone know what I'm doing wrong?
> > 
> > Regards,
> > 	Jordi Vidal 
> > 
> > Compiler packages:
> > binutils: SMCbinut  2.11.2
> > gcc:      SMCgcc302 3.0.2
> > make:	  SMCmake   3.80
> > 
> > ---------- Forwarded message ----------
> > Date: Tue, 8 Jul 2003 20:16:01 +0200 (CEST)
> > From: root at xxxxxxxx.xxx
> > To: jordivi at wtransnet.net
> > Subject: nrpe_compile_error
> > 
> > cd ./src/; make ; cd ..
> > make[1]: Entering directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src'
> > gcc -g -O2 -DHAVE_CONFIG_H  -o nrpe -lnsl -lsocket nrpe.c utils.c
> > In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45,
> >                  from /usr/include/strings.h:11,
> >                  from ../common/config.h:74,
> >                  from ../common/common.h:24,
> >                  from nrpe.c:21:
> > /usr/include/sys/int_types.h:69: conflicting types for `int32_t'
> > ../common/config.h:54: previous declaration of `int32_t'
> > In file included from nrpe.c:22:
> > ../common/config.h:53: redefinition of `u_int32_t'
> > ../common/config.h:53: `u_int32_t' previously declared here
> > ../common/config.h:54: conflicting types for `int32_t'
> > /usr/include/sys/int_types.h:69: previous declaration of `int32_t'
> > In file included from utils.h:35,
> >                  from nrpe.c:24:
> > ../common/config.h:53: redefinition of `u_int32_t'
> > ../common/config.h:53: `u_int32_t' previously declared here
> > ../common/config.h:54: redefinition of `int32_t'
> > ../common/config.h:54: `int32_t' previously declared here
> > In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:45,
> >                  from /usr/include/strings.h:11,
> >                  from ../common/config.h:74,
> >                  from ../common/common.h:24,
> >                  from utils.c:32:
> > /usr/include/sys/int_types.h:69: conflicting types for `int32_t'
> > ../common/config.h:54: previous declaration of `int32_t'
> > In file included from utils.h:35,
> >                  from utils.c:33:
> > ../common/config.h:53: redefinition of `u_int32_t'
> > ../common/config.h:53: `u_int32_t' previously declared here
> > ../common/config.h:54: conflicting types for `int32_t'
> > /usr/include/sys/int_types.h:69: previous declaration of `int32_t'
> > make[1]: *** [nrpe] Error 1
> > make[1]: Leaving directory `/export/home/jordivi/Nagios/nrpe-2.0b4/src'
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Parasoft
> > Error proof Web apps, automate testing & more.
> > Download & eval WebKing and get a free book.
> > www.parasoft.com/bulletproofapps
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> > 
> 
> 
> 
> Ethan Galstad,
> Nagios Developer
> ---
> Email: nagios at nagios.org
> Website: http://www.nagios.org
> 






-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list