Going back to basics I created an even simpler test case with the same results.
arith.c ======= int add(int a, int b) { return a+b; }
arith.i ======= %module arith int add(int a, int b);
setup.py ======== import distutils from distutils.core import setup, Extension setup(name = 'arith', version = '1.0', ext_modules = [Extension('arith', ['arith.i', 'arith.c'])])
python setup.py install >>>import arith
The error message...
ImportError: Loaded module does not contain symbol _initarith
Perhaps you have a suggestion?
Tx, Larry
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig