[Nagios-devel] Antw: error-message for compilation of "nrpe.c"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Antw: error-message for compilation of "nrpe.c"

Post by Guest »

Hi Wolfgang,
fine, I have made the changes. After compiling I have made the
following steps:

--- schnipp ---

superdome:/home/nagios/nrpe-2.12> make all 2>error-make.log
cd ./src/; make ; cd ..
cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -c
./snprintf.c
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
nrpe.c:
utils.c:
cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o
check_nrpe check_nrpe.c utils.c -L/usr/local/lib/hpux32 -lssl -lcrypto
-lnsl
check_nrpe.c:
utils.c:

*** Compile finished ***

If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.

Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

superdome:/home/nagios/nrpe-2.12> cd src
superdome:/home/nagios/nrpe-2.12/src> ./nrpe
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'rfc931_timeout' in
load module '/usr/lib/hpux32/libwrap.so'.
Killed

--- schnapp ---

The error-make.log shows the lines:

--- schnipp ---

(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 = -1;
^

(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler,
ignored.
"nrpe.c", line 852: warning #2167-D: argument of type "socklen_t *" is
incompatible with parameter of type "int *"
rc=getpeername(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
misali
gned access
nptr=(struct sockaddr_in *)&addr;
^

ld: (Warning) Unsatisfied symbol "rfc931_timeout" in file
/usr/lib/hpux32/libwrap.so
1 warnings.
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler,
ignored.

--- schnapp ---

The addon is still not running.

Detlef

>>> "Wolfgang" 11.05.2008 12:29 >>>
SuSE's syslog.h (and eventually most other Linux distributions)
contains two more facility codes:
#define LOG_AUTHPRIV (10<<3) /* security/authorization messages
(private) */
#define LOG_FTP (11<<3) /* ftp daemon */

Adding these lines to /usr/include/syslog.h on HP-UX (11.11) will
result in a "make all" without obvious errors.

Wolfgang
--
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.

Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673 ... om/javaone

_______________________________________________
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked