[Scipy-tickets] [SciPy] #1715: Scipy compilation of veclib_cabi_c.c fails, even with Accelerate.h on OS X 10.8

SciPy Trac scipy-tickets@scipy....
Thu Aug 2 11:06:49 CDT 2012


#1715: Scipy compilation of veclib_cabi_c.c fails, even with Accelerate.h on OS X
10.8
----------------------+-----------------------------------------------------
 Reporter:  oyiptong  |       Owner:  somebody   
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  Unscheduled
Component:  Other     |     Version:  0.10.0     
 Keywords:            |  
----------------------+-----------------------------------------------------
 This is the output i get from the setup.py build process:

 {{{
 error: Command "gcc-4.2 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv
 -O3 -Wall -Wstrict-prototypes
 -Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC
 -I/Users/oyiptong/.pythonbrew/venvs/Python-2.7.2/learning/lib/python2.7
 /site-packages/numpy/core/include -c
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c -o
 build/temp.macosx-10.7-x86_64-2.7/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.o"
 failed with exit status 1
 }}}

 Trying to run the command manually yields:

 {{{
 $ gcc-4.2 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
 -Wstrict-prototypes -Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC
 -I/Users/oyiptong/.pythonbrew/venvs/Python-2.7.2/learning/lib/python2.7
 /site-packages/numpy/core/include -c
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c -o
 build/temp.macosx-10.7-x86_64-2.7/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.o
 In file included from
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h:193,
                  from
 /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:24,
                  from
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:2:
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:
 In function ‘vImagePremultiplyData_ARGB16U’:
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:130:
 error: expected declaration specifiers before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:131:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:170:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:171:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:249:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h:250:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 In file included from
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h:195,
                  from
 /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:24,
                  from
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:2:
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:501:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:507:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:522:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:525:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:568:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:575:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:582:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h:589:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 In file included from
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h:196,
                  from
 /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:24,
                  from
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:2:
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:133:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:134:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:135:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:136:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:141:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:142:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:143:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:144:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:249:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:250:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:251:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:252:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:254:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:255:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:256:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h:257:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
 ‘__AVAILABILITY_INTERNAL__MAC_10_8’
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:29:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:31:
 error: old-style parameter declarations in prototyped function definition
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:31:
 error: expected ‘{’ at end of input
 scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:31:
 warning: no return statement in function returning non-void
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1715>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list