NRPE 2.0 with IRIX 6.5.19m
Garrett, Matt M SITI-ITDIEEE
matt.garrett at shell.com
Mon Oct 13 17:22:14 CEST 2003
Folks
Has any body managed to get NRPE 2.0 to compile under SGI IRIX 6.5.19m
I have tried both under gcc and cc
Error messages are for cc
# make
cd ./src/; make ; cd ..
/usr/bin/cc -g -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket
nrpe.c:
"nrpe.c", line 684: warning(1110): statement is unreachable
syslog(LOG_NOTICE,"Terminating");
^
"nrpe.c", line 1442: error(1070): incomplete type is not allowed
static struct option long_options[]={
^
"nrpe.c", line 1443: error(1020): identifier "required_argument" is undefined
{"config", required_argument, 0, 'c'},
^
Error messages for Gcc
# make
cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket
nrpe.c: In function `process_arguments':
nrpe.c:1442: error: elements of array `long_options' have incomplete type
nrpe.c:1443: warning: excess elements in struct initializer
nrpe.c:1443: warning: (near initialization for `long_options[0]')
nrpe.c:1443: error: `required_argument' undeclared (first use in this function)
Thanks
Matt
Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom
Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: Matt.M.Garrett at is.shell.com
Internet: http://www.shell.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031013/1541174c/attachment.html>
More information about the Users
mailing list