help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] Installing GSL 1.6 on AIX


From: Donald Frederick
Subject: [Help-gsl] Installing GSL 1.6 on AIX
Date: Thu, 28 Jul 2005 17:23:42 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

I'm trying to install GSL 1.6 on AIX 5.3 OS machine, with gcc/xlc. xlc is IBM's C compiler, and the option for strict ANSI-compliancy is "c89".

I have run configure with either:

./configure --prefix=/usr/local/apps/gsl/gsl-1.6 --disable-shared

for using gcc
or
./configure --prefix=/usr/local/apps/gsl/gsl-1.6 CC=c89 --disable-shared

I encounter problems in the IEEE utilities directory:

for gcc:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -c fp.c -o 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


for c89:

c89 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -c env.c
echo timestamp > env.lo
/bin/sh ../libtool --mode=compile c89 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -c -o fp.lo `test -f 'fp.c' || echo './'`fp.c
c89 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -c fp.c
"fp-aix.c", line 30.14: 1506-277 (S) Syntax error: possible missing ';' or ','?
"fp-aix.c", line 30.3: 1506-045 (S) Undeclared identifier fprnd_t.
"fp-aix.c", line 55.7: 1506-045 (S) Undeclared identifier rnd.
"fp-aix.c", line 55.13: 1506-045 (S) Undeclared identifier FP_RND_RN.
"fp-aix.c", line 59.13: 1506-045 (S) Undeclared identifier FP_RND_RM.
"fp-aix.c", line 63.13: 1506-045 (S) Undeclared identifier FP_RND_RP.
"fp-aix.c", line 67.13: 1506-045 (S) Undeclared identifier FP_RND_RZ.


Any suggestions would be appreciated.

-Don Frederick





reply via email to

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