[Top][All Lists]

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

Re: Help on installation - Can't find function `int isinf(...)'

From: Mats Bengtsson
Subject: Re: Help on installation - Can't find function `int isinf(...)'
Date: Thu, 19 Sep 2002 10:30:25 +0200

You did use the gcc compiler, did you?

I don't have access to Solaris myself, but checked in Google 
and found some answers indicating that isinf is not standardized
enough to appear on all systems, for example Solaris.

According to an old FAQ entry, the following workaround 
can be used

    #include <ieeefp.h>

    int isinf(double x) { return !finite(x) && x==x; }

configure does indeed check if isinf is available and 
defines a HAVE_ISINF preprocessor macro. If you 
manage to solve the problem in some appropriate 
lily/include/*.hh file please send a patch so other 
Solaris users can avoid the same problem.


> Hello all. I'm a newbie, and I'm having a difficult time installing lilypond.
> I'm using Solaris 8
> # uname -a
> SunOS sun 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
> I correct some problems that I had with configure script and I thought that 
> I would finally succeed but now I have this error when I try to make.
> # make all
> <snip>
> In function `static void Beam::consider_auto_knees(Grob *)':
> implicit declaration of function `int isinf(...)'
> make[1]: *** [out/beam.o] Error 1
> <snip>
> I checked and found the call to isinf. I searched for isinf and 
> found that usually it is on math.h (also found some reference to ieeefp.h). 
> I checked both files in my machine and couldn't find it.
> I'm stuck, any pointer is appreciated.
> []s,
> Rodrigo
> _______________________________________________
> Lilypond-user mailing list
> address@hidden

reply via email to

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