[Nagiosplug-devel] [ nagiosplug-Bugs-2864596 ] 1.4.14 no longer compiles on solaris

SourceForge.net noreply at sourceforge.net
Wed Sep 23 07:52:38 CEST 2009


Bugs item #2864596, was opened at 2009-09-22 17:38
Message generated for change (Settings changed) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2864596&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
>Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robert C. Sheets (robert_sheets)
>Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: 1.4.14 no longer compiles on solaris

Initial Comment:
This is a regression relative to 1.4.13. Compilation aborts with the following messages:

/bin/bash ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.14"' -g -O2   -L. -o pst3 -m64 pst3-pst3.o  -lpthread -ldl
gcc -DNP_VERSION=\"1.4.14\" -g -O2 -o pst3 -m64 pst3-pst3.o  -L/home/rsheets/nagios-plugins-trunk-200909221200/plugins-root -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 /home/rsheets/nagios-plugins-trunk-200909221200/plugins-root
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/rsheets/nagios-plugins-trunk-200909221200
*** Error code 1
make: Fatal error: Command failed for target `all'

options to configure were --prefix=/opt/nagios-plugins-trunk --without-openssl
OS is solaris 9
uname -a output is SunOS remedy0 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-280R
I'm not sure how to get make to tell me its version, but it is /usr/ccs/bin/make
gcc -v reports the following:
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.1

Please contact me if any other information would be helpful.

----------------------------------------------------------------------

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-09-23 01:52

Message:
Looks like YAGB (Yet Another Gnulib Bug). Please try the attached patch:

1. Get the latest snapshot from repos.or.cz (not the daily snapsot!)
http://repo.or.cz/w/nagiosplugins.git?a=snapshot;f=tgz
2. Apply the patch (see attached files below)
3. Run tools/setup (this can be done form another system like Linux if you
don't have recent auto-tools on Solaris), then you can copy the directory
tree to the solaris and run configure.)

NB: There's a small probklem with gnulib that I haven't sorted out yet, if
make fails with something like:
***  /bin/bash: arpa: command not found
just add MKDIR_P="mkdir -p" to your make command, i.e.:
$ make MKDIR_P="mkdir -p"

Please let me know if you have difficulties getting the source
patched/setup'ed and I'll prepare a distrib snapshot for you

----------------------------------------------------------------------

Comment By: Robert C. Sheets (robert_sheets)
Date: 2009-09-22 17:39

Message:
Forgot to add to my initial report: the problem exists in 1.4.14 as well as
trunk-200909221200

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2864596&group_id=29880




More information about the Devel mailing list