[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] `fprnd_t' undeclared - can't this be solved with autoconf?
From: |
Dr. David Kirkby |
Subject: |
[Bug-gsl] `fprnd_t' undeclared - can't this be solved with autoconf? |
Date: |
Sat, 25 Sep 2010 16:15:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100214 Thunderbird/3.0.1 |
I tried to build gsl-1.14 using gcc 4.2.4 on an IBM RS/6000 running AIX 5.3.
The build failed with:
fp-aix.c: In function 'gsl_ieee_set_mode':
fp-aix.c:30: error: 'fprnd_t' undeclared (first use in this function)
fp-aix.c:30: error: (Each undeclared identifier is reported only once
fp-aix.c:30: error: for each function it appears in.)
fp-aix.c:30: error: expected ';' before 'rnd'
fp-aix.c:55: error: 'rnd' undeclared (first use in this function)
fp-aix.c:55: error: 'FP_RND_RN' undeclared (first use in this function)
fp-aix.c:59: error: 'FP_RND_RM' undeclared (first use in this function)
fp-aix.c:63: error: 'FP_RND_RP' undeclared (first use in this function)
fp-aix.c:67: error: 'FP_RND_RZ' undeclared (first use in this function)
make[2]: *** [fp.lo] Error 1
make[2]: Leaving directory
`/home/users/drkirkby/sage-4.6.alpha1/spkg/build/gsl-1.14/src/ieee-utils'
make[1]: *** [all-recursive] Error 1
For more information see:
http://trac.sagemath.org/sage_trac/ticket/10000
I gather this is a known issue, and the INSTALL file tells one how to get around
this. But would it not be possible to take care of this in the configure script
by checking whether 'fprnd_t' is defined or not? It just seem to me that that is
one of the advantages of autoconf, yet it is not being used to detect this problem.
Dave
- [Bug-gsl] `fprnd_t' undeclared - can't this be solved with autoconf?,
Dr. David Kirkby <=