bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile-1.8.1: libguile/numbers.c lacking include/lib for isinf() on Solar


From: anirkko
Subject: guile-1.8.1: libguile/numbers.c lacking include/lib for isinf() on Solaris2.6
Date: Thu, 10 May 2007 10:55:03 +0200 (MET DST)

Hi
The build of guile-1.8.1 fails on Solaris2.6 at libguile/numbers.c
(see output below) because the isinf() function requires for compilation
   #include <sunmath.h>
and for linking
   -lsunmath -lm

This happens despite the protection by
  #if defined (HAVE_ISINF)
    return isinf (x);
  #elif
in numbers.c
Does it mean the configure finds isinf() (maybe somewhere else?), but the
necessary adaptations are not done in the Makefile??

Regards,
Arto


output of 'gmake':
-----------------------------------------------------------
...
...
gcc -DHAVE_CONFIG_H -I. -I/build/guile-1.8.1/libguile -I.. -I.. 
-I/build/guile-1.8.1 -D_REENTRANT -pthreads -O2 -funswitch-loops 
-fgcse-after-reload -mcpu=supersparc -mno-app-regs -Wall -Wmissing-prototypes 
-Werror -MT libguile_la-numbers.lo -MD -MP -MF .deps/libguile_la-numbers.Tpo -c 
/build/guile-1.8.1/libguile/numbers.c -o libguile_la-numbers.o
cc1: warnings being treated as errors
/build/guile-1.8.1/libguile/numbers.c: In function 'xisinf':
/build/guile-1.8.1/libguile/numbers.c:147: warning: implicit declaration of 
function 'isinf'
gmake[3]: *** [libguile_la-numbers.lo] Error 1
gmake[3]: Leaving directory ...
...
...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]