[Nagiosplug-devel] [ nagiosplug-Bugs-1180928 ] Failure to configure v1.4 on AIX5.1

SourceForge.net noreply at sourceforge.net
Mon Apr 18 10:32:15 CEST 2005


Bugs item #1180928, was opened at 2005-04-11 18:07
Message generated for change (Settings changed) made by heierman
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1180928&group_id=29880

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Hubert Eiermann (heierman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Failure to configure v1.4 on AIX5.1

Initial Comment:
I'm trying to compile Nagios Plugins 1.4 on AIX 5.1 
using gcc 3.0.1.0 (built by Bull Freeware).
configure script fails to compile <signal.h>. This seems 
to be a known error with gcc on AIX 5.1. But I could not 
find a remedy on the Web.
Does anybody have an idea, what is going wrong.

configure:12710: checking signal.h usability
configure:12722: gcc -c -g -O2   conftest.c >&5
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-
aix4.3.2.0/3.0.1/include/sys/signal.h:309,
                 from /usr/include/signal.h:20,
                 from conftest.c:69:
/usr/include/sys/context.h:155: parse error 
before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' 
token
configure:12728: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "nagios-plugins"
| #define PACKAGE_TARNAME "nagios-plugins"
| #define PACKAGE_VERSION "1.4"
| #define PACKAGE_STRING "nagios-plugins 1.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nagios-plugins"
| #define VERSION "1.4"
| #define _GNU_SOURCE 1
| #define _ALL_SOURCE 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define HAVE_MALLOC 0
| #define malloc rpl_malloc
| #define HAVE_REALLOC 0
| #define realloc rpl_realloc
| #define C_GETLOADAVG 1
| #define HAVE_SETLOCALE 1
| #define HAVE_NLIST_H 1
| #define GETLOADAVG_PRIVILEGED 1
| #define CGIURL "/nagios/cgi-bin"
| #define HAVE_LIBCRYPT 1
| #define HAVE_UNISTD_H 1
| #define USE_IPV6 1
| #define HAVE_GETADDRINFO 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #include <signal.h>
configure:12751: result: no
configure:12755: checking signal.h presence
configure:12765: gcc -E   conftest.c
configure:12771: $? = 0
configure:12791: result: yes
configure:12804: WARNING: signal.h: present but 
cannot be compiled
configure:12806: WARNING: signal.h:     check for 
missing prerequisite headers?
configure:12808: WARNING: signal.h: see the Autoconf 
documentation
configure:12810: WARNING: signal.h:     
section "Present But Cannot Be Compiled"
configure:12812: WARNING: signal.h: proceeding with 
the preprocessor's result
configure:12814: WARNING: signal.h: in the future, the 
compiler will take preced
ence
configure:12826: checking for signal.h
configure:12833: result: yes

Regards
hubert.eiermann at web.de


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

Comment By: Hubert Eiermann (heierman)
Date: 2005-04-18 17:28

Message:
Logged In: YES 
user_id=1257263

Problem resolved.
Sorry, I got a rotten gcc from Bull AIX 5.1 download site. I 
told them about the problem, I hope they will eventually 
remove the link. For AIX 5.1 and higher, use the gcc 
distributions from the "AIX Toolbox for Linux Applications" at 
the IBM site.

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

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




More information about the Devel mailing list