Compiling NRPE issue with Solaris
Aseltine, Richard
dick.aseltine at giantloop.com
Thu Jul 17 23:15:56 CEST 2003
I have read the threads on problem compiling NRPE on Solaris. Not that knowledgable in C and need help understanding how to resolve this. I have it down to the following errors and can't get past it. Your help will be extremely helpfull. Thanks in advance.
make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/home/rha/nrpe-2.0b4/src'
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c
nrpe.c: In function `main':
nrpe.c:198: warning: assignment makes pointer from integer without a cast
Undefined first referenced
symbol in file
SSL_library_init /var/tmp/ccduSV1c.o
SSL_CTX_set_cipher_list /var/tmp/ccduSV1c.o
SSL_CTX_ctrl /var/tmp/ccduSV1c.o
SSL_shutdown /var/tmp/ccduSV1c.o
SSL_CTX_free /var/tmp/ccduSV1c.o
SSL_load_error_strings /var/tmp/ccduSV1c.o
DH_free /var/tmp/ccduSV1c.o
get_dh512 /var/tmp/ccduSV1c.o
SSL_CTX_new /var/tmp/ccduSV1c.o
SSL_set_fd /var/tmp/ccduSV1c.o
SSLv23_server_method /var/tmp/ccduSV1c.o
SSL_write /var/tmp/ccduSV1c.o
SSL_new /var/tmp/ccduSV1c.o
SSL_get_error /var/tmp/ccduSV1c.o
SSL_free /var/tmp/ccduSV1c.o
SSL_read /var/tmp/ccduSV1c.o
SSL_accept /var/tmp/ccduSV1c.o
ld: fatal: Symbol referencing errors. No output written to nrpe
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/home/rha/nrpe-2.0b4/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with installation. The NRPE daemon and client
binaries are located in the src/ subdirectory.
** If this is your monitoring host **
- Copy the check_nrpe client to the directory that
contains your Nagios plugins.
- Create a command definition in your Nagios config
file for the NRPE client. See the README file for
more info on doing this.
** If this host will be running the NRPE daemon **
- Copy the nrpe daemon to /usr/sbin, /usr/local/nagios
or wherever you feel it fits best.
- Copy the sample nrpe.cfg config file to /etc,
/usr/local/nagios or wherever you feel it fits best.
- Modify the /etc/services file and configure NRPE to
run under inetd, xinetd, or as a standalone daemon.
See the README file for more info on doing this.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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