Re: [Numpy-discussion] npy_log2 undefined on Linux

2014-10-26 Thread David Cournapeau
Not exactly: if you build numpy with mingw (as is the official binary), you need to build everything that uses numpy C API with it. On Sun, Oct 26, 2014 at 1:22 AM, Matthew Brett matthew.br...@gmail.com wrote: On Sat, Oct 25, 2014 at 2:15 PM, Matthew Brett matthew.br...@gmail.com wrote: On

Re: [Numpy-discussion] npy_log2 undefined on Linux

2014-10-25 Thread Matthew Brett
On Fri, Oct 24, 2014 at 6:04 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, We (dipy developers) have a hit a new problem trying to use the ``npy_log`` C function in our code. Specifically, on Linux, but not on Mac or Windows, we are getting errors of form: ImportError:

Re: [Numpy-discussion] npy_log2 undefined on Linux

2014-10-25 Thread Matthew Brett
On Sat, Oct 25, 2014 at 2:15 PM, Matthew Brett matthew.br...@gmail.com wrote: On Fri, Oct 24, 2014 at 6:04 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, We (dipy developers) have a hit a new problem trying to use the ``npy_log`` C function in our code. Specifically, on Linux, but

[Numpy-discussion] npy_log2 undefined on Linux

2014-10-24 Thread Matthew Brett
Hi, We (dipy developers) have a hit a new problem trying to use the ``npy_log`` C function in our code. Specifically, on Linux, but not on Mac or Windows, we are getting errors of form: ImportError: /path/to/extension/distances.cpython-34m.so: undefined symbol: npy_log2 when compiling