bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Problem compiling gsl 1.8 on AIX 5.2


From: Julian Seward
Subject: Re: [Bug-gsl] Problem compiling gsl 1.8 on AIX 5.2
Date: Fri, 23 Jun 2006 10:58:21 +0100
User-agent: KMail/1.9.1

> 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




reply via email to

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