[Nagiosplug-help] Compiling nagios-plugins-1.4.14 on
Baker, Charles H.
cbaker at nuvox.com
Thu Oct 22 21:57:55 CEST 2009
SunOS aragorn 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V440 with
aragorn:"/home1/sysadmin/nagios-plugins-1.4.14"> gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../gcc-4.3.4/configure --with-gnu-as
--with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--with-cpu=v7 --enable-threads=posix --enable-nls --prefix=/opt/csw/gcc4
--with-local-prefix=/opt/csw --enable-shared --enable-multilib
--with-included-gettext --with-libiconv-prefix=/opt/csw
--with-system-zlib --with-gmp=/opt/csw --with-mpfr=/opt/csw
--enable-languages=c,c++,fortran,java,objc,ada --enable-bootstrap
Thread model: posix
gcc version 4.3.4 (GCC)
aragorn:"/home1/sysadmin/nagios-plugins-1.4.14">
I did the standard ./configure --prefix=/usr/local/nagios which worked.
Then I ran make which bombed with
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I.. -I.. -I../lib -I../gl -I../intl -I../plugins
-I/usr/local/ssl/include -I/usr/local/ssl/include -m64 -g -O2 -MT
pst3-pst3.o -MD -MP -MF .deps/pst3-pst3.Tpo -c -o pst3-pst3.o `test -f
'pst3.c' || echo './'`pst3.c
mv -f .deps/pst3-pst3.Tpo .deps/pst3-pst3.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -m64 -g -O2 -m64 -L.
-L/usr/local/ssl/lib -o pst3 pst3-pst3.o -lpthread -ldl
gcc -m64 -g -O2 -m64 -o pst3 pst3-pst3.o
-L/home1/sysadmin/nagios-plugins-1.4.14/plugins-root
-L/usr/local/ssl/lib -lpthread -ldl
Undefined first referenced
symbol in file
rpl_open pst3-pst3.o
ld: fatal: Symbol referencing errors. No output written to pst3
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `pst3'
Current working directory
/home1/sysadmin/nagios-plugins-1.4.14/plugins-root
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home1/sysadmin/nagios-plugins-1.4.14
*** Error code 1
make: Fatal error: Command failed for target `all'
I've done some googling and the only suggestion I've found so far is to
remove -m64. Anyone have any other ideas? Or compiled in a similar
environment?
Charles H. Baker
Unix System Administration
cbaker at nuvox.com
864.331.7896 | 864.990.1297
Freedom of choice is more to be treasured than any possession earth can
give. David O. McKay
This email and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.
More information about the Help
mailing list