[Nagios-devel] Compilation problems on Solaris 10 Sparc for

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Compilation problems on Solaris 10 Sparc for

Post by Guest »



Solaris 10 voor sparc

Latest version that compiles is: nagios-3.0.6

Version that don't compile: nagios-3.1.0, nagios-3.1.1, nagios-3.1.2 &
nagios-3.2.0


All have the same error:

... cations.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 -L/opt/csw/gcc3/lib -R/opt/csw/gcc3/lib
-L/opt/csw/lib -R/opt/csw/lib -L/opt/csw/bdb44/lib
-R/opt/csw/bdb44/lib -L/opt/csw/lib -lm -lpthread -lltdl -lrt
-lglib-2.0
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
gmake[1]: *** [nagios] Error 1
gmake[1]: Leaving directory `/export/home/nagios/nagios-3.1.0/base'
gmake: *** [all] Error 2


bash-3.00$ more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --prefix=3D/opt/monitoring/nagios
--with-nagios-user=3Dnagios --with-nagios-group=3Dnagios
--with-command-group=3Dnagioscm --with-perlcache --enable-n
anosleep --enable-event-broker --with-gd-lib=3D/opt/csw/lib
--with-gd-inc=3D/opt/csw/include

## --------- ##
## Platform. ##
## --------- ##

hostname =3D crinaeatst01-bz
uname -m =3D sun4us
uname -r =3D 5.10
uname -s =3D SunOS
uname -v =3D Generic_125100-06

/usr/bin/uname -p =3D sparc
/bin/uname -X =3D System =3D SunOS
Node =3D crinaeatst01-bz
Release =3D 5.10
KernelID =3D Generic_125100-06
Machine =3D sun4us
BusType =3D
Serial =3D
Users =3D
OEM# =3D 0
Origin# =3D 1
NumCPU =3D 1

/bin/arch =3D sun4
/usr/bin/arch -k =3D sun4us
/usr/convex/getsysinfo =3D unknown
hostinfo =3D unknown
/bin/machine =3D unknown
/usr/bin/oslevel =3D unknown
/bin/universe =3D unknown

PATH: /opt/csw/gcc3/bin
PATH: /opt/csw/bdb44/bin
PATH: /usr/sbin
PATH: /usr/ccs/bin
PATH: /usr/bin
PATH: /opt/csw/bin
PATH: /usr/ucb


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1352: checking for a BSD-compatible install
configure:1407: result: ./install-sh -c
configure:1426: checking build system type
configure:1444: result: sparc-sun-solaris2.10
configure:1452: checking host system type
configure:1466: result: sparc-sun-solaris2.10
configure:1521: checking for gcc
configure:1547: result: /opt/csw/gcc3/bin/gcc
configure:1791: checking for C compiler version
configure:1794: /opt/csw/gcc3/bin/gcc --version &5
gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1797: $? =3D 0
configure:1799: /opt/csw/gcc3/bin/gcc -v &5
Reading specs from /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/specs
Configured with: ../sources/gcc-3.4.5/configure --prefix=3D/opt/csw/gcc3
--with-local-prefix=3D/opt/csw --without-gnu-as
--with-as=3D/usr/ccs/bin/as --without-gnu-l
d --with-ld=3D/usr/ccs/bin/ld --enable-threads=3Dposix --enable-shared
--enable-multilib --enable-nls --with-included-gettext
--with-libiconv-prefix=3D/opt/csw --wi
th-x --enable-java-awt=3Dxlib --enable-languages=3Dall
Thread model: posix
gcc version 3.4.5
configure:1802: $? =3D 0
configure:1804: /opt/csw/gcc3/bin/gcc -V &5
gcc: `-V' option must have argument
configure:1807: $? =3D 1
configure:1830: checking for C compiler default outpu

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked