bash-3.2$ python Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.test('full') Running unit tests for numpy NumPy version 1.8.0rc1 NumPy is installed in /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy Python version 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] nose version 1.3.0 .......................................................................................................................................................................................S.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K......................................................................................................................................................................................................................................................................................................K....................................................................................................................................................................................................................................................K...........................................................................................................K...SK.S.......S.......................................................................................................................................................................................................................................................................................................................................................................................................................................................EEEEEEEEEEEEEE.EEEEE..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E..........................................................................................................................................................................................................................................................S.........SS..SS.....................................................................................................SSSSSSSS......................................................................................................................................................................................................................................................................................Parameter 4 to routine DGETRF was incorrect S..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.................................................... ====================================================================== ERROR: test_assumed_shape.TestAssumedShapeSumExample.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_use.f90', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/precision.f90', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_mod.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90' (format:free) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_use.f90' (format:free) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/precision.f90' (format:free) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_mod.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: sum Block: fsum Block: sum_with_use In: :_test_ext_module_5403:/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_use.f90:sum_with_use get_useparameters: no module precision info used by sum_with_use Block: precision Block: mod Block: sum Block: fsum Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: sum Block: fsum Block: sum_with_use Block: precision Block: mod Block: sum Block: fsum Building modules... Building module "_test_ext_module_5403"... Creating wrapper for Fortran subroutine "sum"("sum")... Constructing wrapper function "sum"... res = sum(x) Creating wrapper for Fortran function "fsum"("fsum")... Constructing wrapper function "fsum"... res = fsum(x) Creating wrapper for Fortran subroutine "sum_with_use"("sum_with_use")... Constructing wrapper function "sum_with_use"... res = sum_with_use(x) Constructing F90 module support for "precision"... Variables: rk ik Constructing F90 module support for "mod"... Creating wrapper for Fortran subroutine "sum"("sum")... Constructing wrapper function "mod.sum"... res = sum(x) Creating wrapper for Fortran function "fsum"("fsum")... Constructing wrapper function "mod.fsum"... res = fsum(x) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/precision.f90 gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_mod.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90 gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_use.f90 gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/precision.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_mod.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_use.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... _f2py_rout__test_ext_module_5403_mod_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_mod_sum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum_with_use in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_fsum in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sum in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/precision.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_mod.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_use.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpbgx264/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_callback.TestF77Callback.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f' (format:fix,strict) Line #22 in /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f:" intent(callback) fun" analyzeline: missing __user__ module (could be nothing) Line #22 in /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f:" intent(callback) fun" analyzeline: appending intent(callback) fun to t2 arguments Post-processing... Block: _test_ext_module_5403 Block: t Block: fun Block: func Block: func0 Block: t2 Block: fun Post-processing (stage 2)... Building modules... Constructing call-back function "cb_fun_in_t__user__routines" def fun(): return a Constructing call-back function "cb_fun_in_t2__user__routines" def fun(): return a Building module "_test_ext_module_5403"... Constructing wrapper function "t"... a = t(fun,[fun_extra_args]) Constructing wrapper function "func"... a = func(a) Constructing wrapper function "func0"... a = func0() Constructing wrapper function "t2"... a = t2(fun,[fun_extra_args]) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyObject_HasAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o ... "_PyTuple_Size", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyTuple_New", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyTuple_GetItem", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_Tuple", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o ... "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyObject_CallObject", referenced from: _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyFunction_Type", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyTuple_Type", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyObject_HasAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o ... "_PyTuple_Size", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyTuple_New", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyTuple_GetItem", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_Tuple", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o ... "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyObject_CallObject", referenced from: _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyFunction_Type", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyTuple_Type", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_callback.TestF77Callback.test_docstring ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 80, in wrapper raise ret File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 384, in _executeTestPart function() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f' (format:fix,strict) Line #22 in /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f:" intent(callback) fun" analyzeline: missing __user__ module (could be nothing) Line #22 in /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f:" intent(callback) fun" analyzeline: appending intent(callback) fun to t2 arguments Post-processing... Block: _test_ext_module_5403 Block: t Block: fun Block: func Block: func0 Block: t2 Block: fun Post-processing (stage 2)... Building modules... Constructing call-back function "cb_fun_in_t__user__routines" def fun(): return a Constructing call-back function "cb_fun_in_t2__user__routines" def fun(): return a Building module "_test_ext_module_5403"... Constructing wrapper function "t"... a = t(fun,[fun_extra_args]) Constructing wrapper function "func"... a = func(a) Constructing wrapper function "func0"... a = func0() Constructing wrapper function "t2"... a = t2(fun,[fun_extra_args]) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyObject_HasAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o ... "_PyTuple_Size", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyTuple_New", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyTuple_GetItem", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_Tuple", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o ... "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyObject_CallObject", referenced from: _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyFunction_Type", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyTuple_Type", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_func0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyObject_HasAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o ... "_PyTuple_Size", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyTuple_New", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyTuple_GetItem", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_Tuple", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o ... "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyObject_CallObject", referenced from: _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyFunction_Type", referenced from: _create_cb_arglist in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyTuple_Type", referenced from: _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... _create_cb_arglist in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_func in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t in _test_ext_module_5403module.o _fun_ in _test_ext_module_5403module.o _cb_fun_in_t__user__routines in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdb_kgv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmp6ubagu.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_kind.TestKind.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: selectedrealkind Block: selectedintkind Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Constructing wrapper function "selectedrealkind"... res = selectedrealkind(p,[r]) Constructing wrapper function "selectedintkind"... res = selectedintkind(p) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3 build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_Occurred", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyErr_SetString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_Occurred", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyErr_SetString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_selectedintkind in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_selectedrealkind in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmph1k3gy/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_mixed.TestMixed.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.f90', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f' (format:fix,strict) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.f90' (format:fix) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: bar11 Block: foo_fixed Block: bar12 Block: foo_free Block: bar13 Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: bar11 Block: foo_fixed Block: bar12 Block: foo_free Block: bar13 Building modules... Building module "_test_ext_module_5403"... Constructing wrapper function "bar11"... a = bar11() Constructing F90 module support for "foo_fixed"... Constructing wrapper function "foo_fixed.bar12"... a = bar12() Constructing F90 module support for "foo_free"... Constructing wrapper function "foo_free.bar13"... a = bar13() Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/' gfortran:fix: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.f90 gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "__Py_NoneStruct", referenced from: _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "__Py_NoneStruct", referenced from: _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_mixed.TestMixed.test_docstring ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 80, in wrapper raise ret File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 384, in _executeTestPart function() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.f90', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f' (format:fix,strict) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.f90' (format:fix) Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: bar11 Block: foo_fixed Block: bar12 Block: foo_free Block: bar13 Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: bar11 Block: foo_fixed Block: bar12 Block: foo_free Block: bar13 Building modules... Building module "_test_ext_module_5403"... Constructing wrapper function "bar11"... a = bar11() Constructing F90 module support for "foo_fixed"... Constructing wrapper function "foo_fixed.bar12"... a = bar12() Constructing F90 module support for "foo_free"... Constructing wrapper function "foo_free.bar13"... a = bar13() Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/' gfortran:fix: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.f90 gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "__Py_NoneStruct", referenced from: _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_foo_free_bar13 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo_fixed_bar12 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_bar11 in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "__Py_NoneStruct", referenced from: _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_fixed.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo_free.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2u7rl7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_character.TestF77ReturnCharacter.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpnjnstq.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpnjnstq.f' (format:fix,strict) Post-processing... Block: _test_ext_module_5403 Block: t0 Block: t1 Block: t5 Block: ts Block: s0 Block: s1 Block: s5 Block: ss Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "t0"... t0 = t0(value) Creating wrapper for Fortran function "t1"("t1")... Constructing wrapper function "t1"... t1 = t1(value) Creating wrapper for Fortran function "t5"("t5")... Constructing wrapper function "t5"... t5 = t5(value) Creating wrapper for Fortran function "ts"("ts")... Constructing wrapper function "ts"... ts = ts(value) Constructing wrapper function "s0"... t0 = s0(value) Constructing wrapper function "s1"... t1 = s1(value) Constructing wrapper function "s5"... t5 = s5(value) Constructing wrapper function "ss"... ts = ss(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpnjnstq.f gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpnjnstq.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Occurred", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o ... "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyUnicode_AsASCIIString", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyObject_Str", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyExc_MemoryError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "__Py_NoneStruct", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o ... _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o ... "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ValueError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Occurred", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o ... "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyUnicode_AsASCIIString", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyObject_Str", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyExc_MemoryError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "__Py_NoneStruct", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o ... _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t5 in _test_ext_module_5403module.o ... "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ValueError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpnjnstq.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp61hhvv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_character.TestF90ReturnCharacter.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmprk2hii.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmprk2hii.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: f90_return_char Block: t0 Block: t1 Block: t5 Block: ts Block: s0 Block: s1 Block: s5 Block: ss Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: f90_return_char Block: t0 Block: t1 Block: t5 Block: ts Block: s0 Block: s1 Block: s5 Block: ss Building modules... Building module "_test_ext_module_5403"... Constructing F90 module support for "f90_return_char"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "f90_return_char.t0"... t0 = t0(value) Creating wrapper for Fortran function "t1"("t1")... Constructing wrapper function "f90_return_char.t1"... t1 = t1(value) Creating wrapper for Fortran function "t5"("t5")... Constructing wrapper function "f90_return_char.t5"... t5 = t5(value) Creating wrapper for Fortran function "ts"("ts")... Constructing wrapper function "f90_return_char.ts"... ts = ts(value) Constructing wrapper function "f90_return_char.s0"... t0 = s0(value) Constructing wrapper function "f90_return_char.s1"... t1 = s1(value) Constructing wrapper function "f90_return_char.s5"... t5 = s5(value) Constructing wrapper function "f90_return_char.ss"... ts = ss(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmprk2hii.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmprk2hii.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Occurred", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o ... "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyUnicode_AsASCIIString", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyObject_Str", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t1 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t1 in _test_ext_module_5403module.o ... "_PyExc_MemoryError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ValueError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o ... _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Occurred", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o ... "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyUnicode_AsASCIIString", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyObject_Str", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t1 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t1 in _test_ext_module_5403module.o ... "_PyExc_MemoryError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ValueError", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _string_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o ... _string_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ss in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s5 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_ts in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_char_t5 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmprk2hii.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp7h5as5/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_complex.TestF77ReturnComplex.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmppf0jzm.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmppf0jzm.f' (format:fix,strict) Post-processing... Block: _test_ext_module_5403 Block: t0 Block: t8 Block: t16 Block: td Block: s0 Block: s8 Block: s16 Block: sd Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "t0"... t0 = t0(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "t8"... t8 = t8(value) Creating wrapper for Fortran function "t16"("t16")... Constructing wrapper function "t16"... t16 = t16(value) Creating wrapper for Fortran function "td"("td")... Constructing wrapper function "td"... td = td(value) Constructing wrapper function "s0"... t0 = s0(value) Constructing wrapper function "s8"... t8 = s8(value) Constructing wrapper function "s16"... t16 = s16(value) Constructing wrapper function "sd"... td = sd(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmppf0jzm.f gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmppf0jzm.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyComplex_AsCComplex", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PySequence_Check", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PySequence_GetItem", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_PyComplex_FromDoubles", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_TypeError", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyComplex_AsCComplex", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PySequence_Check", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PySequence_GetItem", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_PyComplex_FromDoubles", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_TypeError", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmppf0jzm.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpgxrdop/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_complex.TestF90ReturnComplex.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpz2uped.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpz2uped.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: f90_return_complex Block: t0 Block: t8 Block: t16 Block: td Block: s0 Block: s8 Block: s16 Block: sd Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: f90_return_complex Block: t0 Block: t8 Block: t16 Block: td Block: s0 Block: s8 Block: s16 Block: sd Building modules... Building module "_test_ext_module_5403"... Constructing F90 module support for "f90_return_complex"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "f90_return_complex.t0"... t0 = t0(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "f90_return_complex.t8"... t8 = t8(value) Creating wrapper for Fortran function "t16"("t16")... Constructing wrapper function "f90_return_complex.t16"... t16 = t16(value) Creating wrapper for Fortran function "td"("td")... Constructing wrapper function "f90_return_complex.td"... td = td(value) Constructing wrapper function "f90_return_complex.s0"... t0 = s0(value) Constructing wrapper function "f90_return_complex.s8"... t8 = s8(value) Constructing wrapper function "f90_return_complex.s16"... t16 = s16(value) Constructing wrapper function "f90_return_complex.sd"... td = sd(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpz2uped.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpz2uped.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyComplex_AsCComplex", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PySequence_Check", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PySequence_GetItem", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_PyComplex_FromDoubles", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_TypeError", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyComplex_AsCComplex", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyLong_AsLong", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PySequence_Check", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PySequence_GetItem", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_PyComplex_FromDoubles", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_TypeError", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o _complex_double_from_pyobj in _test_ext_module_5403module.o _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _complex_double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_complex_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t16 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_complex_s8 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpz2uped.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpl3y39t/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_integer.TestF77ReturnInteger.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpmega1a.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpmega1a.f' (format:fix,strict) Post-processing... Block: _test_ext_module_5403 Block: t0 Block: t1 Block: t2 Block: t4 Block: t8 Block: s0 Block: s1 Block: s2 Block: s4 Block: s8 Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "t0"... t0 = t0(value) Creating wrapper for Fortran function "t1"("t1")... Constructing wrapper function "t1"... t1 = t1(value) Creating wrapper for Fortran function "t2"("t2")... Constructing wrapper function "t2"... t2 = t2(value) Creating wrapper for Fortran function "t4"("t4")... Constructing wrapper function "t4"... t4 = t4(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "t8"... t8 = t8(value) Constructing wrapper function "s0"... t0 = s0(value) Constructing wrapper function "s1"... t1 = s1(value) Constructing wrapper function "s2"... t2 = s2(value) Constructing wrapper function "s4"... t4 = s4(value) Constructing wrapper function "s8"... t8 = s8(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpmega1a.f gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpmega1a.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyLong_AsLongLong", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o ... "_PyNumber_Long", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_SetString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o ... "_PySequence_Check", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyLong_AsLongLong", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o ... "_PyNumber_Long", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_SetString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o ... "_PySequence_Check", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpmega1a.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpdc6t93/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_integer.TestF90ReturnInteger.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpy_s5sk.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpy_s5sk.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: f90_return_integer Block: t0 Block: t1 Block: t2 Block: t4 Block: t8 Block: s0 Block: s1 Block: s2 Block: s4 Block: s8 Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: f90_return_integer Block: t0 Block: t1 Block: t2 Block: t4 Block: t8 Block: s0 Block: s1 Block: s2 Block: s4 Block: s8 Building modules... Building module "_test_ext_module_5403"... Constructing F90 module support for "f90_return_integer"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "f90_return_integer.t0"... t0 = t0(value) Creating wrapper for Fortran function "t1"("t1")... Constructing wrapper function "f90_return_integer.t1"... t1 = t1(value) Creating wrapper for Fortran function "t2"("t2")... Constructing wrapper function "f90_return_integer.t2"... t2 = t2(value) Creating wrapper for Fortran function "t4"("t4")... Constructing wrapper function "f90_return_integer.t4"... t4 = t4(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "f90_return_integer.t8"... t8 = t8(value) Constructing wrapper function "f90_return_integer.s0"... t0 = s0(value) Constructing wrapper function "f90_return_integer.s1"... t1 = s1(value) Constructing wrapper function "f90_return_integer.s2"... t2 = s2(value) Constructing wrapper function "f90_return_integer.s4"... t4 = s4(value) Constructing wrapper function "f90_return_integer.s8"... t8 = s8(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpy_s5sk.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpy_s5sk.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyLong_AsLongLong", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o ... "_PyNumber_Long", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_SetString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o ... "_PySequence_Check", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyLong_AsLongLong", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o ... "_PyNumber_Long", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyErr_SetString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o ... "_PySequence_Check", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _long_long_from_pyobj in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_integer_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_integer_s2 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpy_s5sk.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpvx3ixo/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_logical.TestF77ReturnLogical.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpkrxyrd.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpkrxyrd.f' (format:fix,strict) Post-processing... Block: _test_ext_module_5403 Block: t0 Block: t1 Block: t2 Block: t4 Block: s0 Block: s1 Block: s2 Block: s4 Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "t0"... t0 = t0(value) Creating wrapper for Fortran function "t1"("t1")... Constructing wrapper function "t1"... t1 = t1(value) Creating wrapper for Fortran function "t2"("t2")... Constructing wrapper function "t2"... t2 = t2(value) Creating wrapper for Fortran function "t4"("t4")... Constructing wrapper function "t4"... t4 = t4(value) Constructing wrapper function "s0"... t0 = s0(value) Constructing wrapper function "s1"... t1 = s1(value) Constructing wrapper function "s2"... t2 = s2(value) Constructing wrapper function "s4"... t4 = s4(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpkrxyrd.f gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpkrxyrd.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyObject_IsTrue", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyObject_IsTrue", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t1 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpkrxyrd.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpd0tsyc/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_logical.TestF90ReturnLogical.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpvnyjz8.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpvnyjz8.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: f90_return_logical Block: t0 Block: t1 Block: t2 Block: t4 Block: t8 Block: s0 Block: s1 Block: s2 Block: s4 Block: s8 Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: f90_return_logical Block: t0 Block: t1 Block: t2 Block: t4 Block: t8 Block: s0 Block: s1 Block: s2 Block: s4 Block: s8 Building modules... Building module "_test_ext_module_5403"... Constructing F90 module support for "f90_return_logical"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "f90_return_logical.t0"... t0 = t0(value) Creating wrapper for Fortran function "t1"("t1")... Constructing wrapper function "f90_return_logical.t1"... t1 = t1(value) Creating wrapper for Fortran function "t2"("t2")... Constructing wrapper function "f90_return_logical.t2"... t2 = t2(value) Creating wrapper for Fortran function "t4"("t4")... Constructing wrapper function "f90_return_logical.t4"... t4 = t4(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "f90_return_logical.t8"... t8 = t8(value) Constructing wrapper function "f90_return_logical.s0"... t0 = s0(value) Constructing wrapper function "f90_return_logical.s1"... t1 = s1(value) Constructing wrapper function "f90_return_logical.s2"... t2 = s2(value) Constructing wrapper function "f90_return_logical.s4"... t4 = s4(value) Constructing wrapper function "f90_return_logical.s8"... t8 = s8(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpvnyjz8.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpvnyjz8.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyObject_IsTrue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyObject_IsTrue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyObject_GetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_SetString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_logical_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s2 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s1 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_s0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_logical_t4 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyErr_Clear", referenced from: _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyType_IsSubtype", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpvnyjz8.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmp2klx1p/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_real.TestF77ReturnReal.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpue2fl_.f'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpue2fl_.f' (format:fix,strict) Post-processing... Block: _test_ext_module_5403 Block: t0 Block: t4 Block: t8 Block: td Block: s0 Block: s4 Block: s8 Block: sd Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "t0"... t0 = t0(value) Creating wrapper for Fortran function "t4"("t4")... Constructing wrapper function "t4"... t4 = t4(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "t8"... t8 = t8(value) Creating wrapper for Fortran function "td"("td")... Constructing wrapper function "td"... td = td(value) Constructing wrapper function "s0"... t0 = s0(value) Constructing wrapper function "s4"... t4 = s4(value) Constructing wrapper function "s8"... t8 = s8(value) Constructing wrapper function "sd"... td = sd(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpue2fl_.f gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpue2fl_.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyNumber_Float", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyNumber_Float", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_s4 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpue2fl_.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmphy59pv/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_return_real.TestF90ReturnReal.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 348, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 163, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpa46fmp.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpa46fmp.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: f90_return_real Block: t0 Block: t4 Block: t8 Block: td Block: s0 Block: s4 Block: s8 Block: sd Post-processing (stage 2)... Block: _test_ext_module_5403 Block: unknown_interface Block: f90_return_real Block: t0 Block: t4 Block: t8 Block: td Block: s0 Block: s4 Block: s8 Block: sd Building modules... Building module "_test_ext_module_5403"... Constructing F90 module support for "f90_return_real"... Creating wrapper for Fortran function "t0"("t0")... Constructing wrapper function "f90_return_real.t0"... t0 = t0(value) Creating wrapper for Fortran function "t4"("t4")... Constructing wrapper function "f90_return_real.t4"... t4 = t4(value) Creating wrapper for Fortran function "t8"("t8")... Constructing wrapper function "f90_return_real.t8"... t8 = t8(value) Creating wrapper for Fortran function "td"("td")... Constructing wrapper function "f90_return_real.td"... td = td(value) Constructing wrapper function "f90_return_real.s0"... t0 = s0(value) Constructing wrapper function "f90_return_real.s4"... t4 = s4(value) Constructing wrapper function "f90_return_real.s8"... t8 = s8(value) Constructing wrapper function "f90_return_real.sd"... td = sd(value) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 90 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7 creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:17: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran 90 module sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpa46fmp.f90 compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' extra options: '-J/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/ -I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.f90 /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpa46fmp.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyNumber_Float", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyType_IsSubtype", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyNumber_Float", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o ... "_PyErr_SetString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o "_PyObject_GetAttrString", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _double_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyFloat_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _double_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... _f2py_rout__test_ext_module_5403_f90_return_real_sd in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_td in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t8 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t4 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_t0 in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_f90_return_real_s4 in _test_ext_module_5403module.o ... "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyDict_GetItemString", referenced from: _fortran_getattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/tmpa46fmp.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmppszio7/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers2.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_size.TestSizeSumExample.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: foo Block: trans Block: flatten Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Constructing wrapper function "foo"... b = foo(a,[n,m]) Creating wrapper for Fortran subroutine "trans"("trans")... Constructing wrapper function "trans"... y = trans(x) Creating wrapper for Fortran subroutine "flatten"("flatten")... Constructing wrapper function "flatten"... y = flatten(x) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90 gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_size.TestSizeSumExample.test_flatten ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 80, in wrapper raise ret File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 384, in _executeTestPart function() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: foo Block: trans Block: flatten Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Constructing wrapper function "foo"... b = foo(a,[n,m]) Creating wrapper for Fortran subroutine "trans"("trans")... Constructing wrapper function "trans"... y = trans(x) Creating wrapper for Fortran subroutine "flatten"("flatten")... Constructing wrapper function "flatten"... y = flatten(x) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90 gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_size.TestSizeSumExample.test_transpose ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 80, in wrapper raise ret File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 384, in _executeTestPart function() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 80, in wrapper raise ret File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 384, in _executeTestPart function() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/case.py", line 382, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/nose/util.py", line 469, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 353, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/tests/util.py", line 135, in build_module % (cmd[4:], asstr(out))) RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90'] Reading .f2py_f2cmap ... Mapping "real(kind=rk)" to "double" Succesfully applied user defined changes from .f2py_f2cmap 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 build_src building extension "_test_ext_module_5403" sources f2py options: [] f2py:> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 Reading fortran codes... Reading file '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90' (format:free) Post-processing... Block: _test_ext_module_5403 Block: foo Block: trans Block: flatten Post-processing (stage 2)... Building modules... Building module "_test_ext_module_5403"... Constructing wrapper function "foo"... b = foo(a,[n,m]) Creating wrapper for Fortran subroutine "trans"("trans")... Constructing wrapper function "trans"... y = trans(x) Creating wrapper for Fortran subroutine "flatten"("flatten")... Constructing wrapper function "flatten"... y = flatten(x) Wrote C/API module "_test_ext_module_5403" to file "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c" Fortran 77 wrappers are saved to "/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f" adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c' to sources. adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3' to include_dirs. copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 copying /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 adding '/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building '_test_ext_module_5403' extension compiling C sources C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp- creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.c:2: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" gcc-4.2: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1760, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.h:13, from /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.c:18: /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops creating /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y compile options: '-I/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3 -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c' gfortran:f90: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.f90 gfortran:f77: /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.f /usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture i386: "_PyArg_ParseTupleAndKeywords", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_Occurred", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_Py_BuildValue", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o "_PyErr_SetString", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _int_from_pyobj in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o ... "_PyLong_AsLong", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyNumber_Long", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyType_IsSubtype", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o "_PyObject_GetAttrString", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o "_PyErr_Clear", referenced from: _int_from_pyobj in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _F2PyCapsule_AsVoidPtr in fortranobject.o _F2PyCapsule_FromVoidPtr in fortranobject.o _F2PyDict_SetItemString in fortranobject.o _fortran_getattr in fortranobject.o "_PySequence_Check", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PySequence_GetItem", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyModule_Create2", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyImport_ImportModule", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyErr_Print", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o "_PyCapsule_GetPointer", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_AsVoidPtr in fortranobject.o "_PyErr_Format", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyModule_GetDict", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyBytes_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_SetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyDict_SetItemString in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyUnicode_FromString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_repr in fortranobject.o _fortran_getattr in fortranobject.o "_PyErr_NewException", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyDict_GetItemString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_getattr in fortranobject.o "_PyObject_SetAttrString", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyType_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyExc_AttributeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_setattr in fortranobject.o "_PyExc_ImportError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o "_PyComplex_Type", referenced from: _int_from_pyobj in _test_ext_module_5403module.o "_PyCapsule_Type", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _F2PyCapsule_Check in fortranobject.o "__Py_NoneStruct", referenced from: _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o _f2py_rout__test_ext_module_5403_flatten in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_trans in _test_ext_module_5403module.o _f2py_rout__test_ext_module_5403_foo in _test_ext_module_5403module.o _array_from_pyobj in fortranobject.o _fortran_setattr in fortranobject.o _fortran_getattr in fortranobject.o "_PyExc_RuntimeError", referenced from: _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o _PyInit__test_ext_module_5403 in _test_ext_module_5403module.o _fortran_call in fortranobject.o "_PyUnicode_FromFormat", referenced from: _fortran_repr in fortranobject.o "_PyMem_Free", referenced from: _fortran_dealloc in fortranobject.o "_PyCapsule_New", referenced from: _F2PyCapsule_FromVoidPtr in fortranobject.o _fortran_getattr in fortranobject.o "_PyObject_Type", referenced from: _array_from_pyobj in fortranobject.o "_PyObject_Str", referenced from: _array_from_pyobj in fortranobject.o "_PyBytes_AsString", referenced from: _array_from_pyobj in fortranobject.o "__PyObject_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_New", referenced from: _PyFortranObject_NewAsAttr in fortranobject.o _fortran_setattr in fortranobject.o _PyFortranObject_New in fortranobject.o "_PyDict_DelItemString", referenced from: _fortran_setattr in fortranobject.o "_PyObject_GenericGetAttr", referenced from: _fortran_getattr in fortranobject.o "_PyUnicode_Concat", referenced from: _fortran_getattr in fortranobject.o "_PyExc_TypeError", referenced from: _fortran_call in fortranobject.o _array_from_pyobj in fortranobject.o "_PyExc_ValueError", referenced from: _array_from_pyobj in fortranobject.o "_MAIN__", referenced from: _main in libgfortranbegin.a(fmain.o) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status error: Command "/usr/local/bin/gfortran -Wall -L/opt/local/lib /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403module.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/fortranobject.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpq7y35y/foo.o /var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/var/folders/5r/5r4ywY4e2ReN7U+8ZPQSJ++++TI/-Tmp-/tmpg_nmqg/src.macosx-10.6-intel-3.3/_test_ext_module_5403-f2pywrappers.o -lgfortran -o ./_test_ext_module_5403.so" failed with exit status 1 ====================================================================== ERROR: test_big_arrays (test_io.TestSavezLoad) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/testing/decorators.py", line 146, in skipper_func return f(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/tests/test_io.py", line 149, in test_big_arrays np.savez(tmp, a=a) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/npyio.py", line 530, in savez _savez(file, args, kwds, False) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/npyio.py", line 589, in _savez format.write_array(fid, np.asanyarray(val)) File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/format.py", line 417, in write_array fp.write(array.tostring('C')) OSError: [Errno 22] Invalid argument ---------------------------------------------------------------------- Ran 5240 tests in 1951.161s FAILED (KNOWNFAIL=6, SKIP=18, errors=20) >>> bash-3.2$ which gcc /usr/bin/gcc bash-3.2$ gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) bash-3.2$ gcc-4.2 -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) bash-3.2$