Problem to compile NRPE on TRU64 5.1

Massimo Buttafuoco massimo.buttafuoco at teuco.it
Fri Feb 20 10:45:12 CET 2004


I have problem to compile NRPE on Tru64 5.1.
 
I use Gnu Make 3.80, Gnu Gcc 3.3.2, OpenSSL 0.9.7c, NRPE 2.0
 
./configure --with-ssl-lib=/usr/local --with-ssl-inc=/usr/local

make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/usr/local/source/nrpe-2.0/src'
gcc -g -O2 -I/usr/local/include/openssl -I/usr/local/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local  -lssl -lcrypto
nrpe.c: In function `wait_for_connections':
nrpe.c:520: error: `socklen_t' undeclared (first use in this function)
nrpe.c:520: error: (Each undeclared identifier is reported only once
nrpe.c:520: error: for each function it appears in.)
nrpe.c:520: error: parse error before "addrlen"
nrpe.c:619: error: `addrlen' undeclared (first use in this function)
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)
nrpe.c:1443: warning: excess elements in struct initializer
nrpe.c:1443: warning: (near initialization for `long_options[0]')
nrpe.c:1443: warning: excess elements in struct initializer
nrpe.c:1443: warning: (near initialization for `long_options[0]')
nrpe.c:1443: warning: excess elements in struct initializer
nrpe.c:1443: warning: (near initialization for `long_options[0]')
nrpe.c:1444: warning: excess elements in struct initializer
nrpe.c:1444: warning: (near initialization for `long_options[1]')
nrpe.c:1444: error: `no_argument' undeclared (first use in this
function)
nrpe.c:1444: warning: excess elements in struct initializer
nrpe.c:1444: warning: (near initialization for `long_options[1]')
nrpe.c:1444: warning: excess elements in struct initializer
nrpe.c:1444: warning: (near initialization for `long_options[1]')
nrpe.c:1444: warning: excess elements in struct initializer
nrpe.c:1444: warning: (near initialization for `long_options[1]')
nrpe.c:1445: warning: excess elements in struct initializer
nrpe.c:1445: warning: (near initialization for `long_options[2]')
nrpe.c:1445: warning: excess elements in struct initializer
nrpe.c:1445: warning: (near initialization for `long_options[2]')
nrpe.c:1445: warning: excess elements in struct initializer
nrpe.c:1445: warning: (near initialization for `long_options[2]')
nrpe.c:1445: warning: excess elements in struct initializer
nrpe.c:1445: warning: (near initialization for `long_options[2]')
nrpe.c:1446: warning: excess elements in struct initializer
nrpe.c:1446: warning: (near initialization for `long_options[3]')
nrpe.c:1446: warning: excess elements in struct initializer
nrpe.c:1446: warning: (near initialization for `long_options[3]')
nrpe.c:1446: warning: excess elements in struct initializer
nrpe.c:1446: warning: (near initialization for `long_options[3]')
nrpe.c:1446: warning: excess elements in struct initializer
nrpe.c:1446: warning: (near initialization for `long_options[3]')
nrpe.c:1447: warning: excess elements in struct initializer
nrpe.c:1447: warning: (near initialization for `long_options[4]')
nrpe.c:1447: warning: excess elements in struct initializer
nrpe.c:1447: warning: (near initialization for `long_options[4]')
nrpe.c:1447: warning: excess elements in struct initializer
nrpe.c:1447: warning: (near initialization for `long_options[4]')
nrpe.c:1447: warning: excess elements in struct initializer
nrpe.c:1447: warning: (near initialization for `long_options[4]')
nrpe.c:1448: warning: excess elements in struct initializer
nrpe.c:1448: warning: (near initialization for `long_options[5]')
nrpe.c:1448: warning: excess elements in struct initializer
nrpe.c:1448: warning: (near initialization for `long_options[5]')
nrpe.c:1448: warning: excess elements in struct initializer
nrpe.c:1448: warning: (near initialization for `long_options[5]')
nrpe.c:1448: warning: excess elements in struct initializer
nrpe.c:1448: warning: (near initialization for `long_options[5]')
nrpe.c:1449: warning: excess elements in struct initializer
nrpe.c:1449: warning: (near initialization for `long_options[6]')
nrpe.c:1449: warning: excess elements in struct initializer
nrpe.c:1449: warning: (near initialization for `long_options[6]')
nrpe.c:1449: warning: excess elements in struct initializer
nrpe.c:1449: warning: (near initialization for `long_options[6]')
nrpe.c:1449: warning: excess elements in struct initializer
nrpe.c:1449: warning: (near initialization for `long_options[6]')
nrpe.c:1442: error: storage size of `long_options' isn't known
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/usr/local/source/nrpe-2.0/src'
 
*** Compile finished ***

 
Thanks
 

Massimo Buttafuoco


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040220/2c814be3/attachment.html>


More information about the Users mailing list