[Nagios-devel] Compilation problems on Solaris 10 Sparc for
Posted: Thu Sep 17, 2009 10:05 am
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 & =20
nagios-3.2.0
All have the same error:
... cations.o sehandlers.o skiplist.o utils.o retention-base.o =20
xretention-base.o comments-base.o xcomments-base.o objects-base.o =20
xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o =20
xperfdata-base.o downtime-base.o xdowntime-base.o =20
../common/snprintf.o -L/opt/csw/gcc3/lib -R/opt/csw/gcc3/lib =20
-L/opt/csw/lib -R/opt/csw/lib -L/opt/csw/bdb44/lib =20
-R/opt/csw/bdb44/lib -L/opt/csw/lib -lm -lpthread -lltdl -lrt =20
-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 =20
--with-nagios-user=3Dnagios --with-nagios-group=3Dnagios =20
--with-command-group=3Dnagioscm --with-perlcache --enable-n
anosleep --enable-event-broker --with-gd-lib=3D/opt/csw/lib =20
--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
configure
configure
configure
configure
configure
configure
configure
configure
configure
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
configure
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 =20
--with-local-prefix=3D/opt/csw --without-gnu-as =20
--with-as=3D/usr/ccs/bin/as --without-gnu-l
d --with-ld=3D/usr/ccs/bin/ld --enable-threads=3Dposix --enable-shared =20
--enable-multilib --enable-nls --with-included-gettext =20
--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
configure
gcc: `-V' option must have argument
configure
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]