Errors while installing plugins


#1

Hi
I got the following error when I install Plugin 1.4 in a soalris 7 box;

bash-2.05b# make
make all-recursive
Making all in intl
gcc -c -DLOCALEDIR="/usr/local/nagios/share/locale" -DLOCALE_ALIAS_PATH="/usr/local/nagios/share/locale" -DLIBDIR="/usr/local/nagios/lib" -DIN_LIBINTL -DHAVE_CONFIG_H -I… -I. -I…/intl -g -O2 dcigettext.c
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 678: error: unknown opcode “.subsection”
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 678: error: statement syntax
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 692: error: unknown opcode “.previous”
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 692: error: statement syntax
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 2395: error: unknown opcode “.subsection”
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 2395: error: statement syntax
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 2405: error: unknown opcode “.previous”
/usr/ccs/bin/as: “/var/tmp/ccC4zCBT.s”, line 2405: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target dcigettext.o' Current working directory /tmp/nagios-plugins-1.4/intl *** Error code 1 make: Fatal error: Command failed for targetall-recursive’
Current working directory /tmp/nagios-plugins-1.4
*** Error code 1
make: Fatal error: Command failed for target `all’

When I tried to install Plugin 1.3 I got the following error while "make "ing;

bash-2.05b# make
Making all in lib
Making all in plugins
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I… -I…/lib -g -O2 -c check_disk.c
/usr/ccs/bin/as: “/var/tmp/ccfdE0Gv.s”, line 1466: error: unknown opcode “.subsection”
/usr/ccs/bin/as: “/var/tmp/ccfdE0Gv.s”, line 1466: error: statement syntax
/usr/ccs/bin/as: “/var/tmp/ccfdE0Gv.s”, line 1527: error: unknown opcode “.previous”
/usr/ccs/bin/as: “/var/tmp/ccfdE0Gv.s”, line 1527: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target check_disk.o' Current working directory /tmp/nagios-plugins-1.3.0/plugins *** Error code 1 make: Fatal error: Command failed for targetall-recursive’

Can anybody help me in resolving this

Thanks
Pramod


#2

I’m not expert in that area, but perhaps installing gcc would help.