Re: mathfunc.h:17:6: #error FINITE undefined



"Gansser, Martin" <MGansser rand de> writes:

I trying to compile Gnumeric 1.0.5 on HP-UX 11.00 and gcc gets the following

error: 

...
In file included from dialog-goal-seek.c:30:
../../src/mathfunc.h:17:6: #error FINITE undefined
dialog-goal-seek.c: In function `goal_seek_eval':
dialog-goal-seek.c:99: warning: implicit declaration of function `FINITE'
gmake[4]: *** [dialog-goal-seek.o] Error 1

This is the failing section:

#ifndef FINITE
#  if defined(HAVE_FINITE)
#    ifdef HAVE_IEEEFP_H
#      include <ieeefp.h>
#    endif
#    define FINITE finite
#  elif defined(HAVE_ISFINITE)
#    define FINITE isfinite
#  else
#    error FINITE undefined
#  endif
#endif

configure has tried to locate either of the functions 'finite' or
'isfinite', but failed. Can you find out if either exists on your system,
in which header it is declared and whether you have to link it in from an
extra library? Looks like we have to improve our autoconf setup.

Regards

Jon Kåre



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