I have just compiled part of my C library as an extension using Cython, as a "proof of concept". I managed to hack the code (const correctnes problems etc aside), to finally get an extension built.
However, when I attempted to import the newly created extension, I got the following error:
ImportError: dynamic module does not define init function
What am I doing wrong and how do I fix this?
I am using Cythn 0.11.2 and Python 2.6.5 on Ubuntu 10.0.4
Copyright Notice:Content Author:「Homunculus Reticulli」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/8024805/cython-compiled-c-extension-importerror-dynamic-module-does-not-define-init-fu