Solaris 9 x86 install help needed


#1

I want to install Nagios from scratch (I’ve never done it before) on an x86 server running Solaris 9
I have downloaded nagios-3.2.0.tar.gz and gunzipped and untarred the file.

I then changed to the directory and tried the following commands:
./configure (which works with no errors)

make all ** This fails - please see below, this is the GNU make I am using:

bash-2.05# /usr/local/bin/make all
cd ./base && /usr/local/bin/make
make[1]: Entering directory /var/spool/pkg/nagios-3.2.0/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -ldl -lrt Undefined first referenced symbol in file recv netutils.o send netutils.o socket netutils.o getsockopt netutils.o connect netutils.o getaddrinfo netutils.o freeaddrinfo netutils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory/var/spool/pkg/nagios-3.2.0/base’
make: *** [all] Error 2

Can anyone help, I dont know even where to start?


#2

search the forum sfor solaris references, if i remeber right you need to pas some extra arguments due to linker problems.