> I have a problem compiling gsl on a AIX 5.2. The configure runs without
> any errors. Are some libs or headers missing on my system so the
> compiling fails on this OS? Or is gsl on AIX not supported?

> -I. -I. -I.. -I..     -g -O2 -c -o fp.lo fp.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -c fp.c  -DPIC -o .libs/fp.o
> In file included from fp.c:22:
> 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: parse error 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: 1254-004 The error code from the last command is 1.

I had the same problem with gsl-1.6 on AIX 5.3.  I simply #if 0'd the 
body of the function gsl_ieee_set_mode (have a look, what to do is 
obvious) and then it compiled and ran its regression tests OK.

J


_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to