Re: gnumeric-1.2.5 Unsatisfied symbols: finite



On Mon, Apr 05, 2004 at 02:16:50PM +0200, Jean Brefort wrote:
Le lun 05/04/2004 ?? 13:16, Gansser, Martin a ??crit :
Hi,

I tried to compile gnumeric-1.2.5 on hpux11.00 with gnome-2.4 envirionment,
but this fails with the following error message:

/usr/ccs/bin/ld: Unsatisfied symbols:
   finite (first referenced in cut-n-paste-code/goffice/.libs/libgoffice.a(gog-axis.o)) (code)
collect2: ld returned 1 exit status

a  simple  '#define FINITE finite'  in gnumeric-1.2.5/src/cut-n-paste-code/goffice/graph/gog-axis.c
didn't solve the problem.

any ideas ?

thanks Martin

Seems like a bug. in src/numbers.h, I found:

#ifdef HAVE_FINITE
#define finitegnum finite
#elif defined(HAVE_ISFINITE)
#define finitegnum isfinite
#elif defined(FINITE)
#define finitegnum FINITE
#error "I don't know an equivalent of finite for your system; you lose"
#endif

We should probably use such a thing in libgoffice (create a
utils/go-numbers.h?).

Yah, I've be planning to do something like that for a while
    libgoffice/math/go-math.h

I'll tack it on for the 1.2.9 release



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