[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Installing GSL on AIX 5.3
From: |
stuart Lynn |
Subject: |
[Help-gsl] Installing GSL on AIX 5.3 |
Date: |
Fri, 2 May 2008 15:21:47 +0100 |
Hi everyone
I am having trouble installing GSL 1.9 on an AIX 5.3 system. I
originally had the bug talked about in the INSTALL file
fp-aix.c: In function `gsl_ieee_set_mode':
fp-aix.c:30: error: `fprnd_t' undeclared (first use in this function)
so I copied /usr/include/float.h in to ieee-utils/aix_float.h and
stripped out anything not between #ifdef _ALL_SOURCE and its #endif. I
included aix_float.h in fp-aix.c as so
#ifdef _ALL_SOURCE
#include "fp-aix.c"
#ifndef _H_LIMITS
#include <sys/limits.h>
#endif
#define DINFINITY _DBLINF
extern unsigned int SINFINITY;
extern unsigned int _DBLINF[2];
extern unsigned int SQNAN;
extern unsigned int DQNAN[2];
extern unsigned int SSNAN;
extern unsigned int DSNAN[2];
...
The make routine happily compiled everything then but then dies on
linking with :
make[2]: Entering directory `/home/sl/gsl-1.9/siman'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o siman_tsp
siman_tsp.o libgslsiman.la ../rng/libgslrng.la
../ieee-utils/libgslieeeutils.la ../err/libgslerr.la
../sys/libgslsys.la ../utils/libutils.la -lm
gcc -g -O2 -o siman_tsp siman_tsp.o ./.libs/libgslsiman.a
../rng/.libs/libgslrng.a ../ieee-utils/.libs/libgslieeeutils.a
../err/.libs/libgslerr.a ../sys/.libs/libgslsys.a
../utils/.libs/libutils.a -lm
ld: 0711-317 ERROR: Undefined symbol: .gsl_ieee_set_mode
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
I really have no idea what to try now and would be really grateful of
any suggestions as to how to fix this.
cheers
stuart
- [Help-gsl] Installing GSL on AIX 5.3,
stuart Lynn <=