Sorry, the Solaris2.6 manpage said that (#include <sunmath.h> / -lsunmath -lm).
But there is no such include or library file present on Solaris2.6, and no
other include file with isinf in it.
Maybe the problem is that HAVE_ISINF should not be defined.
Greets,
Arto


> From anirkko Thu May 10 10:55:02 2007
> To: [email protected]
> Subject: guile-1.8.1: libguile/numbers.c lacking include/lib for isinf() on 
> Solaris2.6
> 
> 
> 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 ...
> ...
> ...
> 



_______________________________________________
Bug-guile mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to