Nagios 2.0b1 compilation ends up with err message


#1

Hi All
here the output I receive from compilations attempt… ( on Solaris 8 ) only change is use of /var/nagios as the instrall dir (prefi:evil:, all libs are in place
Any clue?

TIA
V1

make all

cd ./base && make
make[1]: Entering directory /var/tmp/nagios/nagios-2.0b1/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c 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 notifications.o sehandlers.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 -lm -lnsl -lsocket -lpthread -lltdl -lrt Undefined first referenced symbol in file setenv utils.o unsetenv utils.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/tmp/nagios/nagios-2.0b1/base’
make: *** [all] Error 2

+++++++++++++++application SMCgd gd
application SMClpng libpng
application SMCftype freetype
application SMCjpeg jpeg
application SMCxpm xpm
application SMCliconv libiconv
application SMCjpeg jpeg
application SMClibgcc lgcc
application SMCzlib zlib
system SUNWzlib The Zip compression library
system SUNWzlibx The Info-Zip compression library (64-bit)

PKGINST: SMCgd
NAME: gd
CATEGORY: application
ARCH: sparc
VERSION: 2.0.28
BASEDIR: /usr/local
VENDOR: Thomas Boutell
PSTAMP: Steve Christensen
INSTDATE: Jan 07 2005 13:57
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 37 installed pathnames
4 shared pathnames
5 directories
12 executables
3979 blocks used (appro:evil:

-rw-r–r-- 1 bin bin 778424 Sep 21 03:27 /usr/local/lib/libgd.a
-rwxr-xr-x 1 bin bin 976 Sep 21 03:27 /usr/local/lib/libgd.la
lrwxrwxrwx 1 root other 14 Jan 7 13:57 /usr/local/lib/libgd.so -> libgd.so.2.0.0
lrwxrwxrwx 1 root other 14 Jan 7 13:57 /usr/local/lib/libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x 1 bin bin 756344 Sep 21 03:27 /usr/local/lib/libgd.so.2.0.0

PKGINST: SMClpng
NAME: libpng
CATEGORY: application
ARCH: sparc
VERSION: 1.2.8
BASEDIR: /usr/local
VENDOR: Glenn Randers-Pehrson et al
PSTAMP: Steve Christensen
INSTDATE: Jan 05 2005 13:15
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 105 installed pathnames
8 shared pathnames
15 directories
3 executables
3072 blocks used (appro:evil:

=========================================
PKGINST: SMCjpeg
NAME: jpeg
CATEGORY: application
ARCH: sparc
VERSION: 6b
BASEDIR: /usr/local
VENDOR: Independent JPEG Group
PSTAMP: Steve Christensen
INSTDATE: Jan 05 2005 13:14
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 36 installed pathnames
6 shared pathnames
7 directories
7 executables
1739 blocks used (appro:evil:

=========================================
PKGINST: SMCxpm
NAME: xpm
CATEGORY: application
ARCH: sparc
VERSION: 3.4k
BASEDIR: /usr/local
VENDOR: GROUPE BULL
PSTAMP: Steve Christensen
INSTDATE: Jan 05 2005 13:14
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 29 installed pathnames
6 shared pathnames
9 directories
4 executables
1035 blocks used (appro:evil:

=========================================
PKGINST: SMCftype
NAME: freetype
CATEGORY: application
ARCH: sparc
VERSION: 2.1.7
BASEDIR: /usr/local
VENDOR: The FreeType Team
PSTAMP: Steve Christensen
INSTDATE: Jan 05 2005 13:16
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 120 installed pathnames
7 shared pathnames
15 directories
3 executables
12669 blocks used (appro:evil:

=========================================
PKGINST: SMClibgcc
NAME: lgcc
CATEGORY: application
ARCH: sparc
VERSION: 3.3
BASEDIR: /usr/local/lib
VENDOR: Free Software Foundation
PSTAMP: Steve Christensen
INSTDATE: Jan 05 2005 13:16
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 15 installed pathnames
11 shared pathnames
1 directories
4 executables
60374 blocks used (appro:evil:

=========================================
PKGINST: SMCliconv
NAME: libiconv
CATEGORY: application
ARCH: sparc
VERSION: 1.8
BASEDIR: /usr/local
VENDOR: Bruno Haible
PSTAMP: Steve Christensen
INSTDATE: Jan 05 2005 13:16
EMAIL: steve@smc.vnet.net
STATUS: completely installed
FILES: 44 installed pathnames
7 shared pathnames
8 directories
3 executables
4994 blocks used (appro:evil:

=========================================
/usr/local/lib:/usr/lib

Default configuration file (/var/ld/ld.config) not found
Default Library Path (ELF): /usr/lib (system default)
Trusted Directories (ELF): /usr/lib/secure (system default)

which gcc

/usr/local/bin/gcc

/usr/local/bin/gcc --version

gcc (GCC) 3.1

++++++++++++++

:shock:

Edited ]