This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Problems compiling GSL on a Mac OS X
- From: Daniel T Konkle <daniel dot konkle at dynetics dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: Wed, 04 Jun 2003 10:23:07 -0500
- Subject: Problems compiling GSL on a Mac OS X
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