nrpe-2.04b compile error: u_int32_t

Jordi Vidal jordivi at wtransnet.net
Tue Jul 8 20:24:30 CEST 2003


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





More information about the Users mailing list