Q: NRPE 2.0 compile problems Solaris 2.6
Thomas Löfstrand
thomas.lofstrand at gp.se
Tue Dec 2 00:10:20 CET 2003
Hi,
I'm having trouble compiling NRPE 2.0 on a Solaris 2.6 box.
I get this when I do: make all
gpspux08(ksh)> make all
cd ./src/; make ; cd ..
gcc -g -O2 -I/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/include/openssl
-I/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/include -DHAVE_CONFIG_H -o nrpe
nrpe.c utils.c -L/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/lib -lssl
-lcrypto -lnsl -lsocket
nrpe.c: In function `wait_for_connections':
nrpe.c:520: `socklen_t' undeclared (first use in this function)
nrpe.c:520: (Each undeclared identifier is reported only once
nrpe.c:520: for each function it appears in.)
nrpe.c:520: parse error before `addrlen'
nrpe.c:619: `addrlen' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Current working directory
/opt/utils/development/other/nagios/5.6/nrpe-2.0/src
*** Error code 1
make: Fatal error: Command failed for target `all'
gpspux08(ksh)>
Can anyone please help?
Regards,
Thomas
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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