[Nagiosplug-help] compiling plugins on sol 10

Peter Spatz peter.spatz at xchanging.com
Tue Oct 23 16:13:35 CEST 2007


 

Hello,

 

make fails after compiling:

 

mkdir .libs

cc -g -o check_disk check_disk.o utils.o popen.o
-L/mnt/devel/compile/sun4u/sol10/nagios-plugins-1.4.8/plugins
-L/usr/sfw/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket

Undefined                       first referenced

 symbol                             in file

floor                               check_disk.o

ld: fatal: Symbol referencing errors. No output written to check_disk

*** Error code 1

make: Fatal error: Command failed for target `check_disk'

Current working directory
/mnt/devel/compile/sun4u/sol10/nagios-plugins-1.4.8/plugins

*** Error code 1

The following command caused the error:

failcom='exit 1'; \

for f in x $MAKEFLAGS; do \

  case $f in \

    *=* | --[!k]*);; \

    *k*) failcom='fail=yes';; \

  esac; \

done; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='gl lib plugins plugins-scripts plugins-root po'; for subdir in
$list; do \

  echo "Making $target in $subdir"; \

  if test "$subdir" = "."; then \

    dot_seen=yes; \

    local_target="$target-am"; \

  else \

    local_target="$target"; \

  fi; \

  (cd $subdir && make  $local_target) \

  || eval $failcom; \

done; \

if test "$dot_seen" = "no"; then \

  make  "$target-am" || exit 1; \

fi; test -z "$fail"

make: Fatal error: Command failed for target `all-recursive'

Current working directory
/mnt/devel/compile/sun4u/sol10/nagios-plugins-1.4.8

*** Error code 1

make: Fatal error: Command failed for target `all'

 

 

Configure String: sh ./configure --prefix=/opt/nagios --without-mysql
--without-apt-get-command --with-openssl=/usr/sfw

 

Box: SunOS  5.10 Generic_120011-14 sun4u sparc SUNW,Ultra-80

 

Using Sun cc.

 

 

Regards,

 

Peter 

 

Xchanging Transaction Bank GmbH - HRB 58 951 - Sitz Frankfurt - Amtsgericht Frankfurt am Main
Vorsitzender des Aufsichtsrats: David Andrews - Geschaeftsfuehrer: Andreas Povel, Thomas Runge


-----------------------------------------------------------------------------------------------
"Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden."
-----------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20071023/e6291303/attachment.html>


More information about the Help mailing list