[Nagios-devel] error-message for compilation of "nrpe.c"
Posted: Wed May 07, 2008 1:47 am
Hi List,
here is the error-message for compilation of "nrpe.c" on superdome with =
hpux 11.31 (version 3).
---schnipp---
superdome:/home/nagios/nrpe-2.12> make all
cd ./src/; make ; cd ..
cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -c =
./snprintf.c
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, =
ignored.
"./snprintf.c", line 273: warning #2068-D: integer conversion resulted in =
a
change of sign
size_t ret =3D -1;
^
cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o =
nrpe nrpe.c utils.c -L/usr/local/lib/hpux32 -lssl -lcrypto -lnsl -lwrap =
./snprintf.o
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, =
ignored.
nrpe.c:
"nrpe.c", line 617: error #2020: identifier "LOG_AUTHPRIV" is undefined
log_facility=3DLOG_AUTHPRIV;
^
"nrpe.c", line 619: error #2020: identifier "LOG_FTP" is undefined
log_facility=3DLOG_FTP;
^
"nrpe.c", line 852: warning #2167-D: argument of type "socklen_t *" is
incompatible with parameter of type "int *"
rc=3Dgetpeername(new_sd,&addr,&addrlen);
^
"nrpe.c", line 865: warning #4232-D: conversion from "struct sockaddr *" =
to a
more strictly aligned type "struct sockaddr_in *" may cause
misaligned access
nptr=3D(struct sockaddr_in *)&addr;
^
2 errors detected in the compilation of "nrpe.c".
utils.c:
*** Error exit code 2
Stop.
*** Error exit code 1
Stop.
---schnapp---
Is there some help? Thanks a lot!=20
nsca 2.7.2 and nagios-plugins 1.4.11 will works fine on the same maschine!
Detlef
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
here is the error-message for compilation of "nrpe.c" on superdome with =
hpux 11.31 (version 3).
---schnipp---
superdome:/home/nagios/nrpe-2.12> make all
cd ./src/; make ; cd ..
cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -c =
./snprintf.c
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, =
ignored.
"./snprintf.c", line 273: warning #2068-D: integer conversion resulted in =
a
change of sign
size_t ret =3D -1;
^
cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o =
nrpe nrpe.c utils.c -L/usr/local/lib/hpux32 -lssl -lcrypto -lnsl -lwrap =
./snprintf.o
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, =
ignored.
nrpe.c:
"nrpe.c", line 617: error #2020: identifier "LOG_AUTHPRIV" is undefined
log_facility=3DLOG_AUTHPRIV;
^
"nrpe.c", line 619: error #2020: identifier "LOG_FTP" is undefined
log_facility=3DLOG_FTP;
^
"nrpe.c", line 852: warning #2167-D: argument of type "socklen_t *" is
incompatible with parameter of type "int *"
rc=3Dgetpeername(new_sd,&addr,&addrlen);
^
"nrpe.c", line 865: warning #4232-D: conversion from "struct sockaddr *" =
to a
more strictly aligned type "struct sockaddr_in *" may cause
misaligned access
nptr=3D(struct sockaddr_in *)&addr;
^
2 errors detected in the compilation of "nrpe.c".
utils.c:
*** Error exit code 2
Stop.
*** Error exit code 1
Stop.
---schnapp---
Is there some help? Thanks a lot!=20
nsca 2.7.2 and nagios-plugins 1.4.11 will works fine on the same maschine!
Detlef
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]