Cannot compile plugin in Solaris 10 - getting pst3 error


#1

I have been trying to compile nagios nagios-plugins-1.4.14 and ran into this error. Was wondering if anyone got this error and what did you do to resolve this:

gcc -DLOCALEDIR="/usr/local/nagios/share/locale" -DHAVE_CONFIG_H -I. -I… -I… -I…/lib -I…/gl -I…/intl -I…/plugins -I/usr/local/ssl/include -I/usr/local/ssl/include -m64 -g -O2 -MT pst3-pst3.o -MD -MP -MF .deps/pst3-pst3.Tpo -c -o pst3-pst3.o test -f 'pst3.c' || echo './'pst3.c
mv -f .deps/pst3-pst3.Tpo .deps/pst3-pst3.Po
/bin/bash …/libtool --tag=CC --mode=link gcc -m64 -g -O2 -m64 -L. -L/usr/local/ssl/lib -o pst3 pst3-pst3.o -lpthread -ldl
gcc -m64 -g -O2 -m64 -o pst3 pst3-pst3.o -L/export/home/netsml/nagios-plugins-1.4.14/plugins-root -L/usr/local/ssl/lib -lpthread -ldl
Undefined first referenced
symbol in file
rpl_open pst3-pst3.o
ld: fatal: Symbol referencing errors. No output written to pst3
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target pst3' Current working directory /export/home/netsml/nagios-plugins-1.4.14/plugins-root *** Error code 1 make: Fatal error: Command failed for targetall-recursive’
Current working directory /export/home/netsml/nagios-plugins-1.4.14
*** Error code 1
make: Fatal error: Command failed for target `all’

Thanks in advance

steve lushing


#2

This was asked previously about Solaris 8. Perhaps there was a recent check-in that broke building on Solaris.