GSL and Irix 6.5.3

Brian Gough bjg@network-theory.co.uk
Sat May 8 13:16:00 GMT 1999


Thanks. I have changed our configure file in CVS so that we now test
for "extern inline" (which is what we use) rather than just "inline"
(which is what the Irix compiler supports).

regards
Brian Gough

Trond Bo writes:
 > 
 >     Grreting's!
 > 
 >    I  downloaded GSL 0.4.1 and tried to compile it on one of ours Origin
 > computers
 >   running Irix 6.5.3.
 >  Compiler was MIPSpro 7.2.1 maintainslevel 3
 > 
 >    A plain configure and compile didn't work. The compilation ended with
 > this result.
 > 
 >   gmake[2]: Entering directory
 > `/usr/local/freeware/src/gnome/sources/gsl-0.4.1/sys'
 >   cc -DHAVE_CONFIG_H -I. -I. -I.. -I./..   -n32 -mips3 -c minmax.c
 >   cc -DHAVE_CONFIG_H -I. -I. -I.. -I./..   -n32 -mips3 -c prec.c
 >   "../gsl_mode.h", line 40: error(1300): "inline" is not allowed
 >    extern inline unsigned int
 >          ^
 >   "prec.c", line 50: error(1220): function "GSL_MODE_PREC" has already
 > been
 >           defined
 >   GSL_MODE_PREC(gsl_mode_t mt)
 >   ^
 > 
 > 
 >   To get gsl-0.4.1 through the compiler I had to remove the def
 > 'HAVE_INLINE' from
 >   the genereated 'config.h'
 > 
 >   I got it through and run a make check before I installed it.
 > 
 >                                                         Best Regards
 >                             Trond
 > 
 > email-adr  :   datb@dnmi.no
 > 


More information about the Gsl-discuss mailing list