Problems compiling GSL on a Mac OS X

Daniel T Konkle daniel.konkle@dynetics.com
Wed Jun 4 15:35:00 GMT 2003


I'm in the process of trying to get the GSL libraries to compile & run on 
an PowerMac G4 running Mac OS X 10.2.6

During compilation, I get this error message & I was hoping someone could 
tell me what to do to fix this warning message.

******************************************************************************
******************************************************************************
/usr/include/architecture/ppc/math.h:106: warning: redefinition of macro isinf
../config.h:192: warning: this is the location of the previous definition
/usr/include/architecture/ppc/math.h:111: warning: redefinition of macro isnan
../config.h:196: warning: this is the location of the previous definition
******************************************************************************
******************************************************************************


The compilation process works fine but when I run 'make check' I get errors 
int the 'Making check in vector'

The output is below.

******************************************************************************
******************************************************************************
Making check in vector
make  test test_static
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..    -O3 -fomit-frame-pointer 
-fno-sche
dule-insns -fschedule-insns2 -fstrict-aliasing -mcpu=powerpc 
-Wno-long-double -c
  test.c
/usr/include/architecture/ppc/math.h:106: warning: redefinition of macro isinf
../config.h:192: warning: this is the location of the previous definition
/usr/include/architecture/ppc/math.h:111: warning: redefinition of macro isnan
../config.h:196: warning: this is the location of the previous definition
In file included from test.c:61:
test_complex_source.c: In function `test_complex_float_trap':
test_complex_source.c:258: Internal compiler error in subst, at combine.c:3546
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [test.o] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
******************************************************************************
******************************************************************************

I'm running the following:  gcc (GCC) 3.1 20020420 (prerelease)

uname -a:
    Darwin newyork.local. 6.6 Darwin Kernel Version 6.6: Thu May  1 
21:48:54 PDT 2003;
    root:xnu/xnu-344.34.obj~1/RELEASE_PPC  Power Macintosh powerpc


Any help or insight would be appreciated.

Danny



More information about the Gsl-discuss mailing list