[Nagiosplug-devel] [ nagiosplug-Bugs-701515 ] 1.3.0 compilation error

SourceForge.net noreply at sourceforge.net
Wed May 14 15:51:15 CEST 2003


Bugs item #701515, was opened at 2003-03-11 12:52
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=701515&group_id=29880

Category: None
Group: Release (specify)
Status: Open
Resolution: Works For Me
Priority: 5
Submitted By: Kief Morris (kief_morris)
>Assigned to: Ton Voon (tonvoon)
Summary: 1.3.0 compilation error

Initial Comment:
I'm compiling the 1.3.0 plugins on a Solaris 7 Sparc
box. Configure runs fine, but Make fails on utils.c.

Making all in plugins
make[1]: Entering directory
`/export/home/nagios/plugins-src/nagios-plugins-1.3.0/plugins'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.
-I.. -I../lib   -I/usr/include     -g -O2 -c check_disk.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.
-I.. -I../lib   -I/usr/include     -g -O2 -c utils.c
utils.c: In function `terminate':
utils.c:151: `__builtin_va_alist' undeclared (first use
in this function)
utils.c:151: (Each undeclared identifier is reported
only once
utils.c:151: for each function it appears in.)
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory
`/export/home/nagios/plugins-src/nagios-plugins-1.3.0/plugins'
make: *** [all-recursive] Error 1


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

>Comment By: Ton Voon (tonvoon)
Date: 2003-05-14 23:50

Message:
Logged In: YES 
user_id=664364

Is this still a problem? As several people have managed to compile on Solaris 
7, I'm inclined to think this is not a common problem.

If there are no updates in the next 7 days, I'll close this call.

Ton

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

Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-17 00:08

Message:
Logged In: YES 
user_id=10485

I've built successfully on SPARC Solaris 7 with current CVS
HEAD version. Install of Solaris 7 was stock with the only
acceptions being:

application SMCautoc       autoconf
application SMCautom       automake
application SMCcvs         cvs
application SMCgawk        gawk
application SMCgcc         gcc
application SMCm4          m4
application SMCmake        make
application SMCperl        perl

from www.sunfreeware.com

bash-2.05$ uname -a
SunOS sparc7 5.7 Generic_106541-02 sun4m sparc
SUNW,SPARCstation-20

bash-2.05$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.2/specs
Configured with: ../configure --disable-nls
--with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
Thread model: posix
gcc version 3.2.2

bash-2.05$ make --version
GNU Make 3.80
Copyright (C) 2002  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.

Please try the current CVS version if you can...

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

Comment By: Karl DeBisschop (kdebisschop)
Date: 2003-03-12 06:48

Message:
Logged In: YES 
user_id=1671

I just ran compile on Solaris 2.7 (with many GNU utils)

Worked perfectly fine with 1.3.0 release.

(does not work with CVS HEAD since IPv6 development started
in earnest)

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

Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-11 21:51

Message:
Logged In: YES 
user_id=10485

Can you provide the config.log and plugins/config.h so I can look 
further into this... I have been unable to reproduce this in Solaris 
8 or Solaris 9 and don't have access to a Solaris 7 machine... 

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

Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-11 18:38

Message:
Logged In: YES 
user_id=10485

Can you provide the config.log and plugins/config.h so I can look 
further into this... I have been unable to reproduce this in Solaris 
8 or Solaris 9 and don't have access to a Solaris 7 machine... 

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

Comment By: Kief Morris (kief_morris)
Date: 2003-03-11 18:12

Message:
Logged In: YES 
user_id=565460

This is from the downloaded tarball downloaded, not CVS.
Some more info:

gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
gcc version 2.95.3 20010315 (release)

and:

GNU Make 3.80



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

Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-11 14:35

Message:
Logged In: YES 
user_id=10485

Is this while compiling the official 1.3.0 release tarball
or from CVS? CVS still reports itself as 1.3.0 but the code
has changed in some areas...

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

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




More information about the Devel mailing list