[rrd-users] IEEE math error installing 1.0.7 on alphaserver 4100 (du 4.0d)

lombardi emanuele lele at mantegna.casaccia.enea.it
Wed Oct 6 10:30:28 MEST 1999



Good morning from Italy!
I'm a RRDtool newcomer and I soon need your help.

I'm trying to install RRD 1.0.7 on my DEC (COMPAQ) Alphaserver 4100
running Digital Unix (tru64 unix) 4.0d with 4th patch applied.
I don't succed since configure gives the following error. I attach the
config.log file since it might be usefull.

Any help will be very apreciate!
Emanuele

-- 
 Emanuele Lombardi
 mail:  AMB-GEM-CLIM ENEA Casaccia
        I-00060 S.M. di Galeria (RM)  ITALY
 mailto:lele at mantegna.casaccia.enea.it
 tel	+39 06 30483366 fax	+39 06 30483591

* This transmission was made possible by 100% recycled electrons.

                               |||
                               \|/  ;_;
What does a process need        |   /"\
to become a daemon ?            |   \v/
                                |    | 
- a fork                        o---/!\---
                                |   |_|
                                |  _/ \_

* Contrary to popular belief, UNIX is user friendly.
  It's just very particular about who it makes friends with.
* Computers are not intelligent, but they think they are. 
* True programmers never die, they just branch to an odd address



 

./configure 
loading cache ./config.cache
checking host system type... alphaev56-dec-osf4.0d
checking target system type... alphaev56-dec-osf4.0d
checking build system type... alphaev56-dec-osf4.0d
checking for a BSD compatible install... (cached) /usr/local/rsi/idl/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for perl... (cached) /usr/bin/perl
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0b/2.8.1/ld) is GNU ld... no
checking whether the linker (/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0b/2.8.1/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0b/2.8.1/ld option to reload object files... -r
checking dynamic linker characteristics... osf4.0d ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for malloc.h... yes
checking for unistd.h... yes
checking for math.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/resource.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for acos in -lm... yes
checking if we can use GCC-specific compiler options... yes
checking for strftime... yes
checking for vprintf... yes
checking for snprintf... no
checking for fpclass... no
checking for isnan... yes
checking for finite... yes
checking for isinf... no
checking for memmove... yes
checking for strchr... yes
checking for mktime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking if realloc can deal with NULL... yes
checking if IEEE math works out of the box... no
checking if IEEE math works with the -ieee switch... no
checking if IEEE math works with the -mieee switch... no
checking if IEEE math works with the -q float=rndsngl switch... no
checking if IEEE math works with fpsetmask(0)... no
checking if IEEE math works with signal(SIGFPE,SIG_IGN)... no
--------------------------------------------------------------
Your Compiler does not do propper IEEE math ... 
Please find out how to make IEEE math work with your Compiler
and let me know (oetiker at ee.ethz.ch)
Check config.log to see what went wrong ...





-- Attached file included as plaintext by Listar --
-- Desc: config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:585: checking host system type
configure:606: checking target system type
configure:624: checking build system type
configure:659: checking for a BSD compatible install
configure:712: checking whether build environment is sane
configure:769: checking whether make sets ${MAKE}
configure:815: checking for working aclocal
configure:828: checking for working autoconf
configure:841: checking for working automake
configure:854: checking for working autoheader
configure:867: checking for working makeinfo
configure:903: checking for perl
configure:947: checking for gcc
configure:1060: checking whether the C compiler (gcc  ) works
configure:1076: gcc -o conftest    conftest.c  1>&5
configure:1102: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1107: checking whether we are using GNU C
configure:1135: checking whether gcc accepts -g
configure:1167: checking how to run the C preprocessor
configure:1320: checking for ranlib
configure:1359: checking for ld used by GCC
configure:1422: checking if the linker (/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0b/2.8.1/ld) is GNU ld
configure:1438: checking for BSD-compatible nm
configure:1475: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
ltconfig:1592: checking if global_symbol_pipe works
ltconfig:1593: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1596: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([BCDEGRST]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1648: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions   conftest.c conftstm.o 1>&5
configure:1656: checking for ANSI C header files
configure:1669: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1736: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1763: checking for fcntl.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1763: checking for malloc.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1763: checking for unistd.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1763: checking for math.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1763: checking for sys/time.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1763: checking for sys/times.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1763: checking for sys/resource.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1801: checking for working const
configure:1855: gcc -c -g -O2  conftest.c 1>&5
configure:1876: checking whether time.h and sys/time.h may both be included
configure:1890: gcc -c -g -O2  conftest.c 1>&5
configure:1911: checking whether struct tm is in sys/time.h or time.h
configure:1924: gcc -c -g -O2  conftest.c 1>&5
configure:1946: checking for acos in -lm
configure:1965: gcc -o conftest -g -O2   conftest.c -lm   1>&5
configure:1997: checking if we can use GCC-specific compiler options
configure:2010: gcc -c -g -O2 -Wall -pedantic  conftest.c 1>&5
configure:2030: checking for strftime
configure:2058: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2126: checking for vprintf
configure:2154: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for snprintf
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
snprintf
configure: failed program was:
#line 2239 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char snprintf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char snprintf();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_snprintf) || defined (__stub___snprintf)
choke me
#else
snprintf();
#endif

; return 0; }
configure:2234: checking for fpclass
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
fpclass
configure: failed program was:
#line 2239 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fpclass(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fpclass();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fpclass) || defined (__stub___fpclass)
choke me
#else
fpclass();
#endif

; return 0; }
configure:2234: checking for isnan
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for finite
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for isinf
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
isinf
configure: failed program was:
#line 2239 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char isinf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char isinf();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_isinf) || defined (__stub___isinf)
choke me
#else
isinf();
#endif

; return 0; }
configure:2234: checking for memmove
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for strchr
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for mktime
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for getrusage
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2234: checking for gettimeofday
configure:2262: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2289: checking if realloc can deal with NULL
configure:2307: gcc -o conftest -g -O2 -Wall -pedantic   conftest.c -lm  1>&5
configure:2337: checking if IEEE math works out of the box
configure:2380: gcc -o conftest    conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
isinf
configure: failed program was:
#line 2345 "configure"
#include "confdefs.h"


#if (! defined(HAVE_FINITE) && defined(HAVE_ISNAN) && defined(HAVE_ISINF))
#  define HAVE_FINITE 1
#  define finite(a) (! isnan(a) && ! isinf(a))
#endif

#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
#  define HAVE_ISINF 1
#  include <ieeefp.h>
#  define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif

#include <stdio.h>
int main(void){
    double nan,inf,c,d;
     ;
     /* some math to see if we get a segfault; */
     nan=0.0/0.0;
     inf=1.0/0.0;
     c = 1.0;
     c = c / 0.0; /* try getting fpe */
     c = inf + nan;
     c = inf / nan;
     if (! isnan(nan)) {printf ("isnan(NaN) ... "); return 1;}
     if (nan == nan) {printf ("nan != nan ..."); return 1;}
     if (! isinf(inf)) {printf ("isinf(oo) ... "); return 1;}
     if (! isinf(-inf)) {printf ("isinf(-oo) ... "); return 1;}
     if (! inf > 0) {printf ("inf > 0 ... "); return 1;}
     if (! -inf < 0) {printf ("inf < 0 ... "); return 1;}
     return 0;
}
configure:2400: checking if IEEE math works with the -ieee switch
configure:2443: gcc -o conftest -ieee   conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
isinf
configure: failed program was:
#line 2408 "configure"
#include "confdefs.h"


#if (! defined(HAVE_FINITE) && defined(HAVE_ISNAN) && defined(HAVE_ISINF))
#  define HAVE_FINITE 1
#  define finite(a) (! isnan(a) && ! isinf(a))
#endif

#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
#  define HAVE_ISINF 1
#  include <ieeefp.h>
#  define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif

#include <stdio.h>
int main(void){
    double nan,inf,c,d;
     ;
     /* some math to see if we get a segfault; */
     nan=0.0/0.0;
     inf=1.0/0.0;
     c = 1.0;
     c = c / 0.0; /* try getting fpe */
     c = inf + nan;
     c = inf / nan;
     if (! isnan(nan)) {printf ("isnan(NaN) ... "); return 1;}
     if (nan == nan) {printf ("nan != nan ..."); return 1;}
     if (! isinf(inf)) {printf ("isinf(oo) ... "); return 1;}
     if (! isinf(-inf)) {printf ("isinf(-oo) ... "); return 1;}
     if (! inf > 0) {printf ("inf > 0 ... "); return 1;}
     if (! -inf < 0) {printf ("inf < 0 ... "); return 1;}
     return 0;
}
configure:2463: checking if IEEE math works with the -mieee switch
configure:2506: gcc -o conftest -mieee   conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
isinf
configure: failed program was:
#line 2471 "configure"
#include "confdefs.h"


#if (! defined(HAVE_FINITE) && defined(HAVE_ISNAN) && defined(HAVE_ISINF))
#  define HAVE_FINITE 1
#  define finite(a) (! isnan(a) && ! isinf(a))
#endif

#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
#  define HAVE_ISINF 1
#  include <ieeefp.h>
#  define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif

#include <stdio.h>
int main(void){
    double nan,inf,c,d;
     ;
     /* some math to see if we get a segfault; */
     nan=0.0/0.0;
     inf=1.0/0.0;
     c = 1.0;
     c = c / 0.0; /* try getting fpe */
     c = inf + nan;
     c = inf / nan;
     if (! isnan(nan)) {printf ("isnan(NaN) ... "); return 1;}
     if (nan == nan) {printf ("nan != nan ..."); return 1;}
     if (! isinf(inf)) {printf ("isinf(oo) ... "); return 1;}
     if (! isinf(-inf)) {printf ("isinf(-oo) ... "); return 1;}
     if (! inf > 0) {printf ("inf > 0 ... "); return 1;}
     if (! -inf < 0) {printf ("inf < 0 ... "); return 1;}
     return 0;
}
configure:2526: checking if IEEE math works with the -q float=rndsngl switch
configure:2569: gcc -o conftest -q float=rndsngl   conftest.c -lm  1>&5
gcc: float=rndsngl: No such file or directory
gcc: unrecognized option `-q'
configure: failed program was:
#line 2534 "configure"
#include "confdefs.h"


#if (! defined(HAVE_FINITE) && defined(HAVE_ISNAN) && defined(HAVE_ISINF))
#  define HAVE_FINITE 1
#  define finite(a) (! isnan(a) && ! isinf(a))
#endif

#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
#  define HAVE_ISINF 1
#  include <ieeefp.h>
#  define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif

#include <stdio.h>
int main(void){
    double nan,inf,c,d;
     ;
     /* some math to see if we get a segfault; */
     nan=0.0/0.0;
     inf=1.0/0.0;
     c = 1.0;
     c = c / 0.0; /* try getting fpe */
     c = inf + nan;
     c = inf / nan;
     if (! isnan(nan)) {printf ("isnan(NaN) ... "); return 1;}
     if (nan == nan) {printf ("nan != nan ..."); return 1;}
     if (! isinf(inf)) {printf ("isinf(oo) ... "); return 1;}
     if (! isinf(-inf)) {printf ("isinf(-oo) ... "); return 1;}
     if (! inf > 0) {printf ("inf > 0 ... "); return 1;}
     if (! -inf < 0) {printf ("inf < 0 ... "); return 1;}
     return 0;
}
configure:2590: checking if IEEE math works with fpsetmask(0)
configure:2633: gcc -o conftest    conftest.c -lm  1>&5
configure:2599: floatingpoint.h: No such file or directory
configure: failed program was:
#line 2598 "configure"
#include "confdefs.h"
#include <floatingpoint.h>

#if (! defined(HAVE_FINITE) && defined(HAVE_ISNAN) && defined(HAVE_ISINF))
#  define HAVE_FINITE 1
#  define finite(a) (! isnan(a) && ! isinf(a))
#endif

#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
#  define HAVE_ISINF 1
#  include <ieeefp.h>
#  define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif

#include <stdio.h>
int main(void){
    double nan,inf,c,d;
     fpsetmask(0);
     /* some math to see if we get a segfault; */
     nan=0.0/0.0;
     inf=1.0/0.0;
     c = 1.0;
     c = c / 0.0; /* try getting fpe */
     c = inf + nan;
     c = inf / nan;
     if (! isnan(nan)) {printf ("isnan(NaN) ... "); return 1;}
     if (nan == nan) {printf ("nan != nan ..."); return 1;}
     if (! isinf(inf)) {printf ("isinf(oo) ... "); return 1;}
     if (! isinf(-inf)) {printf ("isinf(-oo) ... "); return 1;}
     if (! inf > 0) {printf ("inf > 0 ... "); return 1;}
     if (! -inf < 0) {printf ("inf < 0 ... "); return 1;}
     return 0;
}
configure:2652: checking if IEEE math works with signal(SIGFPE,SIG_IGN)
configure:2695: gcc -o conftest    conftest.c -lm  1>&5
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
isinf
configure: failed program was:
#line 2660 "configure"
#include "confdefs.h"
#include <signal.h>

#if (! defined(HAVE_FINITE) && defined(HAVE_ISNAN) && defined(HAVE_ISINF))
#  define HAVE_FINITE 1
#  define finite(a) (! isnan(a) && ! isinf(a))
#endif

#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
#  define HAVE_ISINF 1
#  include <ieeefp.h>
#  define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif

#include <stdio.h>
int main(void){
    double nan,inf,c,d;
     signal(SIGFPE,SIG_IGN);
     /* some math to see if we get a segfault; */
     nan=0.0/0.0;
     inf=1.0/0.0;
     c = 1.0;
     c = c / 0.0; /* try getting fpe */
     c = inf + nan;
     c = inf / nan;
     if (! isnan(nan)) {printf ("isnan(NaN) ... "); return 1;}
     if (nan == nan) {printf ("nan != nan ..."); return 1;}
     if (! isinf(inf)) {printf ("isinf(oo) ... "); return 1;}
     if (! isinf(-inf)) {printf ("isinf(-oo) ... "); return 1;}
     if (! inf > 0) {printf ("inf > 0 ... "); return 1;}
     if (! -inf < 0) {printf ("inf < 0 ... "); return 1;}
     return 0;
}


--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list