Re: Linuz Python Module using PythonC/ API

2005-05-25 Thread fraca7
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

Linuz Python Module using PythonC/ API

2005-05-24 Thread David
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