lilypond-user
[Top][All Lists]
Advanced

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

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


From: Rodrigo
Subject: Re: Help on installation - Can't find function `int isinf(...)'
Date: Fri, 20 Sep 2002 22:06:45 -0300

Thanks Mats. I tried some ways of doing this without success and I finally create a isinf.h and a isinf.c ... Probably not the most elegant way of solving it, but it seems to have solved the issue. I successfully built it. But now I'm having problems running the program. I will send another post related to this new problem.

[]s,

Rodrigo

PS-I'm not sure what I'm supposed to do about the patch you said in your email ...

At 10:30 19/09/2002 +0200, Mats Bengtsson wrote:
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.

  /Mats



> 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>
> beam.cc: In function `static void Beam::consider_auto_knees(Grob *)':
> beam.cc:669: implicit declaration of function `int isinf(...)'
> make[1]: *** [out/beam.o] Error 1
> <snip>
>
> I checked beam.cc 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
> http://mail.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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