Re: Need clarification
Posted: Thu Aug 22, 2013 9:16 am
Our system admin have installed nagios plugins but they are now getting issues with nrpe plugin installs
Below is error
bash-3.2$ pwd
/tmp/nrpe-2.13
bash-3.2$ sudo make all
cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c acl.c -L/usr/local/ssl/lib/ -lssl -lcrypto -lnsl -lsocket
nrpe.c: In function `main':
nrpe.c:218: warning: assignment discards qualifiers from pointer target type
nrpe.c:251: warning: assignment makes pointer from integer without a cast
Undefined first referenced
symbol in file
get_dh512 /var/tmp//ccqtQFFB.o
ld: fatal: symbol referencing errors. No output written to nrpe
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Current working directory /tmp/nrpe-2.13/src
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.2$ uname -a
SunOS usa0300ux255 5.10 Generic_148888-05 sun4v sparc sun4v
Below is error
bash-3.2$ pwd
/tmp/nrpe-2.13
bash-3.2$ sudo make all
cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c acl.c -L/usr/local/ssl/lib/ -lssl -lcrypto -lnsl -lsocket
nrpe.c: In function `main':
nrpe.c:218: warning: assignment discards qualifiers from pointer target type
nrpe.c:251: warning: assignment makes pointer from integer without a cast
Undefined first referenced
symbol in file
get_dh512 /var/tmp//ccqtQFFB.o
ld: fatal: symbol referencing errors. No output written to nrpe
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Current working directory /tmp/nrpe-2.13/src
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.2$ uname -a
SunOS usa0300ux255 5.10 Generic_148888-05 sun4v sparc sun4v