NPRE Compilation Issues...

lem stottsjr at excite.com
Mon Jun 9 22:05:21 CEST 2003


Hi all!

I was trying to compile NPRE 2.0b4 and I get the following error, I've compiled NPRE 1.8 without any issues.  What gives?

Thanks!
Jason

---Output as follows---

cd ./src/; make ; cd ..
gcc -g -O2 -DHAVE_CONFIG_H  -o nrpe -lnsl -lsocket nrpe.c utils.c
In file included from /usr/include/sys/types.h:36,
                 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/include/sys/types.h:36,
                 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'
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Current working directory /tmp/nagios/nrpe-2.0b4/src
*** Error code 1
make: Fatal error: Command failed for target `all'

---End of Output---


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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