[Scipy-tickets] [SciPy] #1168: Error building scipy from svn

SciPy Trac scipy-tickets@scipy....
Mon Apr 26 23:37:55 CDT 2010


#1168: Error building scipy from svn
--------------------------+-------------------------------------------------
 Reporter:  ysr           |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  highest       |   Milestone:  0.7.2   
Component:  scipy.signal  |     Version:  devel   
 Keywords:                |  
--------------------------+-------------------------------------------------
 I am trying to build scipy that I just checked out from the SVN. It gives
 the following errors.


 {{{
 compiling C sources
 C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
 -Wall -Wstrict-prototypes -fPIC

 compile options: '-Iscipy/signal -I/usr/lib/python2.6/dist-
 packages/numpy/core/include -I/usr/include/python2.6 -c'
 gcc: build/src.linux-x86_64-2.6/scipy/signal/correlate_nd.c
 In file included from scipy/signal/correlate_nd.c.src:10:
 scipy/signal/sigtools.h:59: warning: function declaration isn’t a
 prototype
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:150: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:150: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:150: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:185: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src: In function ‘_correlate_nd_imp’:
 scipy/signal/correlate_nd.c.src:234: error:
 ‘PyArrayNeighborhoodIterObject’ undeclared (first use in this function)
 scipy/signal/correlate_nd.c.src:234: error: (Each undeclared identifier is
 reported only once
 scipy/signal/correlate_nd.c.src:234: error: for each function it appears
 in.)
 scipy/signal/correlate_nd.c.src:234: error: ‘curneighx’ undeclared (first
 use in this function)
 scipy/signal/correlate_nd.c.src:234: error: ‘curx’ undeclared (first use
 in this function)
 scipy/signal/correlate_nd.c.src:234: warning: left-hand operand of comma
 expression has no effect
 scipy/signal/correlate_nd.c.src:276: error: expected expression before ‘)’
 token
 scipy/signal/correlate_nd.c.src:290: error: expected expression before ‘)’
 token
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ubyte’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_byte’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ushort’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_short’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_uint’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_int’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ulong’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_long’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ulonglong’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_longlong’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_float’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_double’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_longdouble’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_cfloat’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_cdouble’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_clongdouble’
 scipy/signal/correlate_nd.c.src:311: warning: implicit declaration of
 function ‘_imp_correlate_nd_object’
 In file included from scipy/signal/correlate_nd.c.src:10:
 scipy/signal/sigtools.h:59: warning: function declaration isn’t a
 prototype
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:116: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:150: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:150: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:150: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src:185: error: expected ‘)’ before ‘*’ token
 scipy/signal/correlate_nd.c.src: In function ‘_correlate_nd_imp’:
 scipy/signal/correlate_nd.c.src:234: error:
 ‘PyArrayNeighborhoodIterObject’ undeclared (first use in this function)
 scipy/signal/correlate_nd.c.src:234: error: (Each undeclared identifier is
 reported only once
 scipy/signal/correlate_nd.c.src:234: error: for each function it appears
 in.)
 scipy/signal/correlate_nd.c.src:234: error: ‘curneighx’ undeclared (first
 use in this function)
 scipy/signal/correlate_nd.c.src:234: error: ‘curx’ undeclared (first use
 in this function)
 scipy/signal/correlate_nd.c.src:234: warning: left-hand operand of comma
 expression has no effect
 scipy/signal/correlate_nd.c.src:276: error: expected expression before ‘)’
 token
 scipy/signal/correlate_nd.c.src:290: error: expected expression before ‘)’
 token
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ubyte’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_byte’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ushort’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_short’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_uint’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_int’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ulong’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_long’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_ulonglong’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_longlong’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_float’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_double’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_longdouble’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_cfloat’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_cdouble’
 scipy/signal/correlate_nd.c.src:304: warning: implicit declaration of
 function ‘_imp_correlate_nd_clongdouble’
 scipy/signal/correlate_nd.c.src:311: warning: implicit declaration of
 function ‘_imp_correlate_nd_object’
 error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
 -Wall -Wstrict-prototypes -fPIC -Iscipy/signal -I/usr/lib/python2.6/dist-
 packages/numpy/core/include -I/usr/include/python2.6 -c
 build/src.linux-x86_64-2.6/scipy/signal/correlate_nd.c -o
 build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/signal/correlate_nd.o"
 failed with exit status 1
 }}}

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


More information about the Scipy-tickets mailing list