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