[Nagiosplug-help] Plugin Compile error in Solaris 10 -

Jeffrey Stormshak jsstormshak at comcast.net
Sun Sep 10 23:47:42 CEST 2006


Greetings again -

Still struggling with compiling the Plug-ins on a Solaris 10 system.   
Listed below is the versions of various items and if anyone has any  
suggestions, it would be greatly appreciated.  The *core* Nagios  
complied clean without any mods to my shell environment, etc - so I'm  
perplexed as to why the plug-ins don't follow suit.  Actual comp.  
error is listed below as well as some of the version and settings  
used to compile.

Compilation Error:
/usr/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl   -I/ 
include  -g -O2 -c fsusage.c
rm -f libcoreutils.a
false cru libcoreutils.a cloexec.o exitfail.o  full-read.o full- 
write.o getopt.o  getopt1.o safe-read.o safe-write.o  xmalloc.o  
xstrdup.o error.o mountlist.o fsusage.o
*** Error code 255
make: Fatal error: Command failed for target `libcoreutils.a'
Current working directory /home/jstormsh/Downloads/nagios- 
plugins-1.4.3/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/jstormsh/Downloads/nagios- 
plugins-1.4.3/lib
*** Error code 1

Solaris Ver:
SunOS gravity 5.10 Generic sun4u sparc SUNW,Sun-Blade-100

$ crle
Configuration file [version 4]: /var/ld/ld.config
   Default Library Path (ELF):   /lib:/usr/lib:/usr/local/lib:/usr/ 
sfw/lib
   Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system  
default)

Command line:
   crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib:/usr/sfw/ 
lib

GCC:
-bash-3.00$ gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/ 
gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas -- 
with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable- 
languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

$PATH
/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sfw/bin:/usr/ccs/bin

$LD_LIBRARY_PATH
/lib:/usr/lib:/usr/sfw/lib

echo $CC
/usr/sfw/bin/gcc 




More information about the Help mailing list