nrpe-2.04b compile error: u_int32_t

Jason Long jlong at messiah.edu
Tue Jul 8 21:54:08 CEST 2003


I had the same problem on an HP/UX box. To compile, I changed all the
"u_int32_t" to "uint32_t" in the source code. But I must of encountered some
other problem I can't remember, because I ended up giving up on the beta
version and downgrading to the stable version, nrpe-1.8.

Jason


>>> Jordi Vidal <jordivi at wtransnet.net> 7/8/03 2:24:30 PM >>>
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


-------------------------------------------------------
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