Re: [f2py] wrapping C/C++
Yves Frederix <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Looks like you are missing the python header files. Have you installed the python-dev package? In any case, your example runs fine on my Ubuntu 9.10. Cheers, YVES On Tue, Nov 24, 2009 at 6:49 AM, Ariel Balter <ariel-ZF+EKEZ8/[email protected]> wrote: > Hi, > I am trying to wrap c code with f2py. I have found a couple of resources > such as > http://www.scipy.org/Cookbook/f2py_and_NumPy > and this post > http://cens.ioc.ee/pipermail/f2py-users/2005-February/001059.html > > Since I am writing, you might guess I'm having some trouble. I'm running > ubuntu 9.10 and compiling with gfortran and gcc. My python version is > 2.6.4. > > Here are my files: > > // ---------- f2ctest.c ----------- // > #include<stdio.h> > > int f2ctest(int num) > { > printf( "Test:%i",num); > return -1; > } > > // --------------------------------- // > > #-------- f2c.pyf ----------- # > python module f2c > interface > function f2ctest(num) > intent(c) f2ctest > integer f2ctest, num > intent(c) num > end function f2ctest > end interface > end python module f2c > #------------------------------- # > > These are just the 2 example files in the post. However, when I run "f2py > -c f2c.pyf f2ctest.c", I get a lot of very bad looking output, full of the > ominous word "error". Since you probably have nothing better to do than to > read it, I have attached it. > > I would have posted this to the f2py forum, but I sincerely can't figure out > how. I got this by clicking on your email link on the above post. > > Cheer, Ariel > > > > > -- > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > > Ariel I Balter, Ph.D. > Postdoc > Biological Monitoring/Modeling > Fundamental and Computational Sciences Directorate > > Pacific Northwest National Laboratory Mail: > PO Box 999, MS P7-58,Richland, WA 99352 > Shipping: > 790 6th Street, MS P7-58, Richland, WA 99354 > > Tel: 509-376-7605 Cell: 509-713-0087 > ariel.balter-Y2zl/[email protected] > www.arielbalter.com > www.pnl.gov > > running build > running config_cc > unifing config_cc, config, build_clib, build_ext, build commands --compiler > options > running config_fc > unifing config_fc, config, build_clib, build_ext, build commands --fcompiler > options > running build_src > building extension "f2c" sources > creating /tmp/tmp6MoTqW > creating /tmp/tmp6MoTqW/src.linux-i686-2.6 > f2py options: [] > f2py: f2c.pyf > Reading fortran codes... > Reading file 'f2c.pyf' (format:free) > Post-processing... > Block: f2c > Block: f2ctest > Post-processing (stage 2)... > Building modules... > Building module "f2c"... > Constructing wrapper function "f2ctest"... > f2ctest = f2ctest(num) > Wrote C/API module "f2c" to file > "/tmp/tmp6MoTqW/src.linux-i686-2.6/f2cmodule.c" > adding '/tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c' to sources. > adding '/tmp/tmp6MoTqW/src.linux-i686-2.6' to include_dirs. > copying /usr/lib/python2.6/dist-packages/numpy/f2py/src/fortranobject.c -> > /tmp/tmp6MoTqW/src.linux-i686-2.6 > copying /usr/lib/python2.6/dist-packages/numpy/f2py/src/fortranobject.h -> > /tmp/tmp6MoTqW/src.linux-i686-2.6 > running build_ext > customize UnixCCompiler > customize UnixCCompiler using build_ext > building 'f2c' extension > compiling C sources > C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC > > creating /tmp/tmp6MoTqW/tmp > creating /tmp/tmp6MoTqW/tmp/tmp6MoTqW > creating /tmp/tmp6MoTqW/tmp/tmp6MoTqW/src.linux-i686-2.6 > compile options: '-I/tmp/tmp6MoTqW/src.linux-i686-2.6 > -I/usr/lib/python2.6/dist-packages/numpy/core/include > -I/usr/include/python2.6 -c' > gcc: /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c > In file included from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:7:20: error: Python.h: No > such file or directory > In file included from > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:61, > from > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/arrayobject.h:14, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:13, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/npy_common.h:71:2: > error: #error Must use Python with unicode enabled. > In file included from > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/arrayobject.h:14, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:13, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:181: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:182: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘npy_uintp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:284: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:285: > error: expected ‘)’ before ‘*’ token > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:287: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:287: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:288: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:298: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:298: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:300: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:300: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:301: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:303: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:308: > error: expected ‘)’ before ‘*’ token > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:313: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:315: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:316: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:316: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:318: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:322: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:324: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:325: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:326: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:327: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:327: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:328: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:328: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:332: > error: expected specifier-qualifier-list before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:345: > error: expected specifier-qualifier-list before ‘PyArray_GetItemFunc’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:446: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:478: > error: expected specifier-qualifier-list before ‘PyObject’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:488: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:513: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:521: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:528: > error: expected declaration specifiers or ‘...’ before ‘PyObject’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:670: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:817: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:871: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:1084: > error: expected specifier-qualifier-list before ‘npy_intp’ > In file included from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:61: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:63: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:73: error: expected > specifier-qualifier-list before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:85: error: expected > specifier-qualifier-list before ‘PyObject_HEAD’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:94: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyFortran_Type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:95: error: expected ‘)’ > before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:96: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:97: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:111: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:114: error: expected > declaration specifiers or ‘...’ before ‘PyObject’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:17: error: expected ‘)’ > before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:32: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:34: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:75: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘fortran_dealloc’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:90: warning: implicit > declaration of function ‘Py_XDECREF’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:90: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:91: warning: implicit > declaration of function ‘PyMem_Del’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:95: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fortran_methods’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:100: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:177: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function ‘set_data’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:178: error: ‘f’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:178: error: (Each > undeclared identifier is reported only once > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:178: error: for each > function it appears in.) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:181: error: ‘NULL’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:185: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:241: error: expected > declaration specifiers or ‘...’ before ‘PyObject’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘fortran_setattr’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:243: error: ‘NULL’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:244: error: > ‘PyFortranObject’ has no member named ‘len’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:244: warning: implicit > declaration of function ‘strcmp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:244: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:246: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:247: warning: implicit > declaration of function ‘PyErr_SetString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:247: error: > ‘PyExc_AttributeError’ undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:250: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:251: error: ‘npy_intp’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:251: error: expected ‘;’ > before ‘dims’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:253: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:254: error: ‘v’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:254: error: ‘Py_None’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:257: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:257: error: ‘dims’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:258: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:258: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:258: error: too many > arguments to function ‘array_from_pyobj’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:260: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:260: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:260: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:262: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:263: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:263: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:264: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: warning: implicit > declaration of function ‘memcpy’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: warning: incompatible > implicit declaration of built-in function ‘memcpy’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: too many > arguments to function ‘array_from_pyobj’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:271: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:272: error: expected ‘;’ > before ‘s’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:273: error: ‘s’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: warning: implicit > declaration of function ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: called object > ‘npy_intp(<erroneous-expression>)’ is not a function > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: warning: incompatible > implicit declaration of built-in function ‘memcpy’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:277: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:277: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:278: warning: implicit > declaration of function ‘Py_DECREF’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:282: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:285: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:288: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:289: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:289: warning: implicit > declaration of function ‘PyDict_New’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:290: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:294: warning: implicit > declaration of function ‘PyDict_DelItemString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:294: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:300: warning: implicit > declaration of function ‘PyDict_SetItemString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:300: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:303: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:326: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyFortran_Type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:480: warning: type > defaults to ‘int’ in declaration of ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:480: error: expected ‘;’, > ‘,’ or ‘)’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:491: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘swap_arrays’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: ‘npy_intp’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: ‘c’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:536: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:539: error: expected > declaration specifiers or ‘...’ before ‘PyObject’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘array_from_pyobj’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:552: error: ‘NULL’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:558: error: ‘obj’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:558: error: ‘Py_None’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:562: warning: implicit > declaration of function ‘count_nonpos’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:562: error: ‘dims’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:564: warning: implicit > declaration of function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:564: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:567: warning: implicit > declaration of function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:567: warning: incompatible > implicit declaration of built-in function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:569: error: > ‘PyExc_ValueError’ undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: ‘PyTypeObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: warning: implicit > declaration of function ‘memset’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: warning: incompatible > implicit declaration of built-in function ‘memset’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: called object > ‘npy_intp(<erroneous-expression>)’ is not a function > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:584: error: > ‘PyArray_Descr’ has no member named ‘elsize’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:585: error: > ‘PyArray_Descr’ has no member named ‘type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:587: warning: implicit > declaration of function ‘PyObject_TypeCheck’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:587: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:594: error: too many > arguments to function ‘check_and_fix_dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:598: warning: implicit > declaration of function ‘Py_INCREF’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:601: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:603: warning: incompatible > implicit declaration of built-in function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:604: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:606: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:614: error: too many > arguments to function ‘check_and_fix_dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:619: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:632: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:633: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:633: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:634: warning: incompatible > implicit declaration of built-in function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:635: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:635: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:637: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:640: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:644: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:680: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:682: warning: implicit > declaration of function ‘PyString_AsString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:682: warning: implicit > declaration of function ‘PyObject_Str’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:682: warning: implicit > declaration of function ‘PyObject_Type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:683: warning: format ‘%s’ > expects type ‘char *’, but argument 3 has type ‘int’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:684: error: > ‘PyExc_TypeError’ undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:691: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:691: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:696: error: too many > arguments to function ‘check_and_fix_dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:708: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘check_and_fix_dimensions’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘arr_size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: ‘arr_size’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: called object > ‘npy_intp(<erroneous-expression>)’ is not a function > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:720: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:721: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:721: error: expected ‘;’ > before ‘new_size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:724: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:724: error: expected ‘;’ > before ‘d’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:726: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:727: error: ‘d’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:727: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:728: error: ‘dims’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:730: warning: implicit > declaration of function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:730: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:730: error: ‘stderr’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:739: error: ‘new_size’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:741: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:743: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:756: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:761: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:762: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:762: error: expected ‘;’ > before ‘new_size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:764: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:764: error: expected ‘;’ > before ‘d’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:766: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:769: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:779: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:785: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:785: error: expected ‘;’ > before ‘d’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:787: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:787: error: expected ‘;’ > before ‘size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:788: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:789: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:792: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:793: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:798: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:798: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:799: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:800: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:803: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:813: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:814: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:814: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:815: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:816: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:819: error: ‘size’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:821: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:823: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:826: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:826: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > In file included from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:7:20: error: Python.h: No > such file or directory > In file included from > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:61, > from > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/arrayobject.h:14, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:13, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/npy_common.h:71:2: > error: #error Must use Python with unicode enabled. > In file included from > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/arrayobject.h:14, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:13, > from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:181: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:182: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘npy_uintp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:284: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:285: > error: expected ‘)’ before ‘*’ token > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:287: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:287: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:288: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:298: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:298: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:300: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:300: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:301: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:303: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:308: > error: expected ‘)’ before ‘*’ token > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:313: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:315: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:316: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:316: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:318: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:322: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:324: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:325: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:326: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:327: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:327: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:328: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:328: > error: expected declaration specifiers or ‘...’ before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:332: > error: expected specifier-qualifier-list before ‘npy_intp’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:345: > error: expected specifier-qualifier-list before ‘PyArray_GetItemFunc’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:446: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:478: > error: expected specifier-qualifier-list before ‘PyObject’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:488: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:513: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:521: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:528: > error: expected declaration specifiers or ‘...’ before ‘PyObject’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:670: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:817: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:871: > error: expected specifier-qualifier-list before ‘PyObject_HEAD’ > /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:1084: > error: expected specifier-qualifier-list before ‘npy_intp’ > In file included from /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:2: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:61: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:63: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:73: error: expected > specifier-qualifier-list before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:85: error: expected > specifier-qualifier-list before ‘PyObject_HEAD’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:94: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyFortran_Type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:95: error: expected ‘)’ > before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:96: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:97: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:111: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.h:114: error: expected > declaration specifiers or ‘...’ before ‘PyObject’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:17: error: expected ‘)’ > before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:32: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:34: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:75: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘fortran_dealloc’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:90: warning: implicit > declaration of function ‘Py_XDECREF’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:90: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:91: warning: implicit > declaration of function ‘PyMem_Del’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:95: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fortran_methods’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:100: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:177: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function ‘set_data’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:178: error: ‘f’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:178: error: (Each > undeclared identifier is reported only once > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:178: error: for each > function it appears in.) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:181: error: ‘NULL’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:185: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:241: error: expected > declaration specifiers or ‘...’ before ‘PyObject’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘fortran_setattr’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:243: error: ‘NULL’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:244: error: > ‘PyFortranObject’ has no member named ‘len’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:244: warning: implicit > declaration of function ‘strcmp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:244: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:246: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:247: warning: implicit > declaration of function ‘PyErr_SetString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:247: error: > ‘PyExc_AttributeError’ undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:250: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:251: error: ‘npy_intp’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:251: error: expected ‘;’ > before ‘dims’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:253: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:254: error: ‘v’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:254: error: ‘Py_None’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:257: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:257: error: ‘dims’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:258: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:258: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:258: error: too many > arguments to function ‘array_from_pyobj’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:260: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:260: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:260: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:262: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:263: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:263: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:264: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: warning: implicit > declaration of function ‘memcpy’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: warning: incompatible > implicit declaration of built-in function ‘memcpy’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:266: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:268: error: too many > arguments to function ‘array_from_pyobj’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:271: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:272: error: expected ‘;’ > before ‘s’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:273: error: ‘s’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: warning: implicit > declaration of function ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: called object > ‘npy_intp(<erroneous-expression>)’ is not a function > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:274: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: warning: incompatible > implicit declaration of built-in function ‘memcpy’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:276: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:277: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:277: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:278: warning: implicit > declaration of function ‘Py_DECREF’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:282: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:285: error: > ‘PyFortranObject’ has no member named ‘defs’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:288: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:289: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:289: warning: implicit > declaration of function ‘PyDict_New’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:290: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:294: warning: implicit > declaration of function ‘PyDict_DelItemString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:294: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:300: warning: implicit > declaration of function ‘PyDict_SetItemString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:300: error: > ‘PyFortranObject’ has no member named ‘dict’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:303: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:326: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyFortran_Type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:480: warning: type > defaults to ‘int’ in declaration of ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:480: error: expected ‘;’, > ‘,’ or ‘)’ before ‘*’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:491: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘swap_arrays’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:517: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:518: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: ‘npy_intp’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: ‘c’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:519: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:520: error: > ‘PyArrayObject’ has no member named ‘strides’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:521: error: > ‘PyArrayObject’ has no member named ‘base’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:522: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:523: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:536: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:539: error: expected > declaration specifiers or ‘...’ before ‘PyObject’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘array_from_pyobj’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:552: error: ‘NULL’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:558: error: ‘obj’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:558: error: ‘Py_None’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:562: warning: implicit > declaration of function ‘count_nonpos’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:562: error: ‘dims’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:564: warning: implicit > declaration of function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:564: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:567: warning: implicit > declaration of function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:567: warning: incompatible > implicit declaration of built-in function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:569: error: > ‘PyExc_ValueError’ undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: ‘PyTypeObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:573: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: warning: implicit > declaration of function ‘memset’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: warning: incompatible > implicit declaration of built-in function ‘memset’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘data’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: called object > ‘npy_intp(<erroneous-expression>)’ is not a function > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:579: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:584: error: > ‘PyArray_Descr’ has no member named ‘elsize’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:585: error: > ‘PyArray_Descr’ has no member named ‘type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:587: warning: implicit > declaration of function ‘PyObject_TypeCheck’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:587: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:594: error: too many > arguments to function ‘check_and_fix_dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:598: warning: implicit > declaration of function ‘Py_INCREF’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:601: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:603: warning: incompatible > implicit declaration of built-in function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:604: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:606: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:614: error: too many > arguments to function ‘check_and_fix_dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:619: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:620: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:622: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:632: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:633: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:633: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:634: warning: incompatible > implicit declaration of built-in function ‘strlen’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:635: error: > ‘PyArrayObject’ has no member named ‘flags’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:635: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:637: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:640: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:642: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:644: error: > ‘PyArrayObject’ has no member named ‘descr’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:653: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:680: warning: incompatible > implicit declaration of built-in function ‘sprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:682: warning: implicit > declaration of function ‘PyString_AsString’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:682: warning: implicit > declaration of function ‘PyObject_Str’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:682: warning: implicit > declaration of function ‘PyObject_Type’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:683: warning: format ‘%s’ > expects type ‘char *’, but argument 3 has type ‘int’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:684: error: > ‘PyExc_TypeError’ undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:691: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:691: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:696: error: too many > arguments to function ‘check_and_fix_dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: At top level: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:708: error: expected > declaration specifiers or ‘...’ before ‘npy_intp’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c: In function > ‘check_and_fix_dimensions’: > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected ‘=’, > ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘arr_size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: ‘arr_size’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: ‘PyObject’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: called object > ‘npy_intp(<erroneous-expression>)’ is not a function > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected ‘)’ > before ‘PyArray_API’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:714: error: expected > expression before ‘)’ token > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:720: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:721: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:721: error: expected ‘;’ > before ‘new_size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:724: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:724: error: expected ‘;’ > before ‘d’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:726: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:727: error: ‘d’ undeclared > (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:727: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:728: error: ‘dims’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:730: warning: implicit > declaration of function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:730: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:730: error: ‘stderr’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:739: error: ‘new_size’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:741: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:743: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:756: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:761: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:762: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:762: error: expected ‘;’ > before ‘new_size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:764: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:764: error: expected ‘;’ > before ‘d’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:766: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:769: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:779: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:785: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:785: error: expected ‘;’ > before ‘d’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:787: warning: statement > with no effect > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:787: error: expected ‘;’ > before ‘size’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:788: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:789: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:792: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:793: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:798: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:798: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:799: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:800: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:803: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:813: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:814: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:814: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:815: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:816: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:819: error: ‘size’ > undeclared (first use in this function) > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:821: warning: incompatible > implicit declaration of built-in function ‘fprintf’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:823: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:826: error: > ‘PyArrayObject’ has no member named ‘nd’ > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c:826: error: > ‘PyArrayObject’ has no member named ‘dimensions’ > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 > -Wall -Wstrict-prototypes -fPIC -I/tmp/tmp6MoTqW/src.linux-i686-2.6 > -I/usr/lib/python2.6/dist-packages/numpy/core/include > -I/usr/include/python2.6 -c > /tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.c -o > /tmp/tmp6MoTqW/tmp/tmp6MoTqW/src.linux-i686-2.6/fortranobject.o" failed with > exit status 1 > > _______________________________________________ > f2py-users mailing list > f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] > http://cens.ioc.ee/mailman/listinfo/f2py-users > >