David a écrit :
> [snip]
> CC=g++
So actually your 'initutm' is '_Z7initutmv' for the linker. Try building
with gcc instead, or declaring
extern "C" PyMODINIT_FUNC initutm(void);
or something like that.
--
http://mail.python.org/mailman/listinfo/python-list
I have this error message poping up when I try to import a module I made in C
using the Python/C API. Everything compiles like a charm.
Gives me this error message :
Traceback (most recent call last):
File "mod_test.py", line 4, in ?
import utm
ImportError: dynamic module does not define in