This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GSL 0.4.1 and SGI Irix 6.5.4



Greeting's

   Hardware : SGI Origin 200
   OS            : SGI Irix 6.5.4
   Compiler : MIPSpro 7.2.1 maintain level 3

   I tried to compile GSL-0.4.1 on one of ours SGI Origin 200.
   That wasn't straight forward. "configure" run fine but the
   compilation ended with this result

|   gmake[2]: Entering directory `/usr/local/freeware/src/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)
|    ^
|
|   2 errors detected in the compilation of "prec.c".
|   gmake[2]: *** [prec.o] Error 2
|   gmake[2]: Leaving directory `/usr/local/freeware/src/gsl-0.4.1/sys'

     In the file "config.h" there is a line "#define HAVE_INLINE 1" an
by removing
     that one  I got rid of first error message.

     The second one I solved by simply commenting out the offending line
in the
     sourcefile sys/prec.c

     After applying  these two changes I was able compile and install
it.

--
                        Best Regards
                            Trond

email-adr  :   datb@dnmi.no




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]