Created
October 4, 2013 17:45
-
-
Save augustfly/6829808 to your computer and use it in GitHub Desktop.
errors produced building astropy on Xcode 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (test_astropy)<01:43:39> aamn@lynds:astropy-0.2.4 > python setup.py build > /dev/null | |
| wcsbth.c:19947:16: warning: function 'input' is not needed and will not be emitted | |
| [-Wunneeded-internal-declaration] | |
| static int input (void) | |
| ^ | |
| 1 warning generated. | |
| wcspih.c:10041:16: warning: function 'input' is not needed and will not be emitted | |
| [-Wunneeded-internal-declaration] | |
| static int input (void) | |
| ^ | |
| 1 warning generated. | |
| wcsulex.c:8772:16: warning: function 'input' is not needed and will not be emitted | |
| [-Wunneeded-internal-declaration] | |
| static int input (void) | |
| ^ | |
| 1 warning generated. | |
| wcsutrn.c:5011:16: warning: function 'input' is not needed and will not be emitted | |
| [-Wunneeded-internal-declaration] | |
| static int input (void) | |
| ^ | |
| 1 warning generated. | |
| cextern/wcslib/C/wcsfix.c:248:18: warning: unused variable 'ctmp2' | |
| [-Wunused-variable] | |
| char ctmp[72], ctmp2[72]; | |
| ^ | |
| cextern/wcslib/C/wcsfix.c:248:8: warning: unused variable 'ctmp' | |
| [-Wunused-variable] | |
| char ctmp[72], ctmp2[72]; | |
| ^ | |
| 2 warnings generated. | |
| In file included from astropy/wcs/src/distortion_wrap.c:8: | |
| In file included from astropy/wcs/include/distortion_wrap.h:9: | |
| In file included from astropy/wcs/include/pyutil.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728: | |
| /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: | |
| "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API | |
| NPY_1_7_API_VERSION" [-W#warnings] | |
| #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPREC... | |
| ^ | |
| 1 warning generated. | |
| In file included from astropy/wcs/src/pyutil.c:9: | |
| In file included from astropy/wcs/include/pyutil.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728: | |
| /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: | |
| "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API | |
| NPY_1_7_API_VERSION" [-W#warnings] | |
| #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPREC... | |
| ^ | |
| 1 warning generated. | |
| In file included from astropy/wcs/src/astropy_wcs.c:6: | |
| In file included from astropy/wcs/include/astropy_wcs.h:10: | |
| In file included from astropy/wcs/include/pyutil.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728: | |
| /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: | |
| "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API | |
| NPY_1_7_API_VERSION" [-W#warnings] | |
| #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPREC... | |
| ^ | |
| 1 warning generated. | |
| In file included from astropy/wcs/src/astropy_wcs_api.c:3: | |
| In file included from astropy/wcs/include/astropy_wcs_api.h:5: | |
| In file included from astropy/wcs/include/pyutil.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17: | |
| In file included from /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728: | |
| /Users/aamn/.virtualenvs/test_astropy/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: | |
| "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API | |
| NPY_1_7_API_VERSION" [-W#warnings] | |
| #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPREC... | |
| ^ | |
| 1 warning generated. | |
| astropy/wcs/src/sip.c:16:5: error: unknown type name 'sip_t'; did you mean 'sig_t'? | |
| sip_t* sip) { | |
| ^~~~~ | |
| sig_t | |
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/sys/signal.h:348:16: note: | |
| 'sig_t' declared here | |
| typedef void (*sig_t)(int); /* type of signal function */ | |
| ^ | |
| astropy/wcs/src/sip.c:20:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->a_order = 0; | |
| ~~~^ ~~~~~~~ | |
| astropy/wcs/src/sip.c:21:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->a = NULL; | |
| ~~~^ ~ | |
| astropy/wcs/src/sip.c:22:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->b_order = 0; | |
| ~~~^ ~~~~~~~ | |
| astropy/wcs/src/sip.c:23:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->b = NULL; | |
| ~~~^ ~ | |
| astropy/wcs/src/sip.c:24:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->ap_order = 0; | |
| ~~~^ ~~~~~~~~ | |
| astropy/wcs/src/sip.c:25:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->ap = NULL; | |
| ~~~^ ~~ | |
| astropy/wcs/src/sip.c:26:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->bp_order = 0; | |
| ~~~^ ~~~~~~~~ | |
| astropy/wcs/src/sip.c:27:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->bp = NULL; | |
| ~~~^ ~~ | |
| astropy/wcs/src/sip.c:28:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->crpix[0] = 0.0; | |
| ~~~^ ~~~~~ | |
| astropy/wcs/src/sip.c:29:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->crpix[1] = 0.0; | |
| ~~~^ ~~~~~ | |
| astropy/wcs/src/sip.c:30:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->scratch = NULL; | |
| ~~~^ ~~~~~~~ | |
| astropy/wcs/src/sip.c:31:6: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->err = NULL; | |
| ~~~^ ~~~ | |
| astropy/wcs/src/sip.c:36:5: error: unknown type name 'sip_t'; did you mean 'sig_t'? | |
| sip_t* sip, | |
| ^~~~~ | |
| sig_t | |
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/sys/signal.h:348:16: note: | |
| 'sig_t' declared here | |
| typedef void (*sig_t)(int); /* type of signal function */ | |
| ^ | |
| astropy/wcs/src/sip.c:54:14: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| err = &(sip->err); | |
| ~~~^ ~~~ | |
| astropy/wcs/src/sip.c:58:12: warning: implicit declaration of function 'wcserr_set' | |
| is invalid in C99 [-Wimplicit-function-declaration] | |
| return wcserr_set( | |
| ^ | |
| astropy/wcs/src/sip.c:59:7: warning: implicit declaration of function 'WCSERR_SET' | |
| is invalid in C99 [-Wimplicit-function-declaration] | |
| SIP_ERRMSG(WCSERR_BAD_COORD_TRANS), | |
| ^ | |
| astropy/wcs/src/sip.c:12:28: note: expanded from macro 'SIP_ERRMSG' | |
| #define SIP_ERRMSG(status) WCSERR_SET(status) | |
| ^ | |
| astropy/wcs/src/sip.c:59:18: error: use of undeclared identifier | |
| 'WCSERR_BAD_COORD_TRANS' | |
| SIP_ERRMSG(WCSERR_BAD_COORD_TRANS), | |
| ^ | |
| astropy/wcs/src/sip.c:12:39: note: expanded from macro 'SIP_ERRMSG' | |
| #define SIP_ERRMSG(status) WCSERR_SET(status) | |
| ^ | |
| astropy/wcs/src/sip.c:65:18: error: use of undeclared identifier | |
| 'WCSERR_BAD_COORD_TRANS' | |
| SIP_ERRMSG(WCSERR_BAD_COORD_TRANS), | |
| ^ | |
| astropy/wcs/src/sip.c:12:39: note: expanded from macro 'SIP_ERRMSG' | |
| #define SIP_ERRMSG(status) WCSERR_SET(status) | |
| ^ | |
| astropy/wcs/src/sip.c:71:8: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->a_order = a_order; | |
| ~~~^ ~~~~~~~ | |
| astropy/wcs/src/sip.c:73:8: error: member reference base type 'sig_t' | |
| (aka 'void (*)(int)') is not a structure or union | |
| sip->a = malloc(a_size); | |
| ~~~^ ~ | |
| fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
| 2 warnings and 20 errors generated. | |
| error: command 'cc' failed with exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment