[Numpy-discussion] 1.4.1 build failure under OSX

Todd Miller jmiller at stsci.edu
Thu Nov 3 10:10:05 CST 2005


Chris Fonnesbeck wrote:

>Hi,
>
>Compiling 1.4.1 under OSX with either gcc 3.3 or 4.0 fails (all
>previous versions of numarray compiled without error). Here is the
>full output:
>
>  
>
What version of OS-X are your running? 

Where is the actual error?  (There are a lot of warnings now on OS-X,  
but 1.4.1 builds fine for me.)

Todd

>Using EXTRA_COMPILE_ARGS = ['-Ddarwin']
>Using external BLAS and LAPACK
>running config
>Wrote config.h
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Src/_convmodule.c:13:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Src/_sortmodule.c:13:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Src/_bytesmodule.c:13:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>
>... several dozen of the above, then ...
>
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:12: warning: function
>declaration isn't a prototype
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:17: warning: function
>declaration isn't a prototype
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dgeev':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:107: warning: implicit
>declaration of function 'dgeev_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dsyevd':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:199: warning: implicit
>declaration of function 'dsyevd_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zheevd':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:296: warning: implicit
>declaration of function 'zheevd_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dgelsd':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:340: warning: implicit
>declaration of function 'dgelsd_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dgesv':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:378: warning: implicit
>declaration of function 'dgesv_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dgesdd':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:418: warning: implicit
>declaration of function 'dgesdd_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dgetrf':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:449: warning: implicit
>declaration of function 'dgetrf_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zungqr':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:477: warning: implicit
>declaration of function 'zungqr_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dorgqr':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:508: warning: implicit
>declaration of function 'dorgqr_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zgeqrf':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:539: warning: implicit
>declaration of function 'zgeqrf_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dgeqrf':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:570: warning: implicit
>declaration of function 'dgeqrf_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_dpotrf':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:594: warning: implicit
>declaration of function 'dpotrf_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zgeev':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:632: warning: implicit
>declaration of function 'zgeev_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zgelsd':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:679: warning: implicit
>declaration of function 'zgelsd_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zgesv':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:714: warning: implicit
>declaration of function 'zgesv_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zgesdd':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:759: warning: implicit
>declaration of function 'zgesdd_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zgetrf':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:794: warning: implicit
>declaration of function 'zgetrf_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: In function
>'lapack_lite_zpotrf':
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:818: warning: implicit
>declaration of function 'zpotrf_'
>Packages/LinearAlgebra2/Src/lapack_litemodule.c: At top level:
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:851: warning: function
>declaration isn't a prototype
>Packages/LinearAlgebra2/Src/lapack_litemodule.c:848: warning:
>'lapack_liteError' defined but not used
>powerpc-apple-darwin8-gcc-4.0.0: -framework: linker input file unused
>because linking not done
>powerpc-apple-darwin8-gcc-4.0.0: vecLib: linker input file unused
>because linking not done
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Packages/RandomArray2/Src/ranlib.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Packages/RandomArray2/Src/ranlibmodule.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Packages/RandomArray2/Src/com.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Src/_dotblas.c:12:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from Src/_dotblas.c:15:
>/System/Library/Frameworks/vecLib.framework/Headers/cblas.h:665:
>warning: function declaration isn't a prototype
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Examples/convolve/high_levelmodule.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Examples/convolve/element_wisemodule.c:3:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Examples/convolve/one_dimensionalmodule.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Examples/convolve/numpy_compatmodule.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Examples/convolve/numpy_compat2.c:1:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>In file included from
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
>                 from Examples/convolve/testlite.c:26:
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396:
>warning: 'struct winsize' declared inside parameter list
>/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397:
>warning: 'struct winsize' declared inside parameter list
>
>
>Any ideas for a solution to this problem are welcome.
>
>--
>Chris Fonnesbeck
>Atlanta, GA
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by:
>Tame your development challenges with Apache's Geronimo App Server. Download
>it for free - -and be entered to win a 42" plasma tv or your very own
>Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
>_______________________________________________
>Numpy-discussion mailing list
>Numpy-discussion at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>  
>





More information about the Numpy-discussion mailing list