mhash hope

Bummer. My "last stand" on this is to try to compile it with mingw. I get the following errors (besides a few warnings from the include files, which I choose to ignore for now):

mhash.c:230: error: initializer element is not constant
mhash.c:230: error: (near initialization for `MHASH_Type.tp_getattro')
mhash.c:231: error: initializer element is not constant
mhash.c:231: error: (near initialization for `MHASH_Type.tp_setattro')
mhash.c:250: error: initializer element is not constant
mhash.c:250: error: (near initialization for `MHASH_Type.tp_alloc')
mhash.c:251: error: initializer element is not constant
mhash.c:251: error: (near initialization for `MHASH_Type.tp_new')
mhash.c:252: error: initializer element is not constant
mhash.c:252: error: (near initialization for `MHASH_Type.tp_free')


A search on this reveals that it is because I don't have the Unix-y "libpython25.a" static library. But I have it in my C:\Python25\libs! It ships with Python 2.5 now.

This may be my last light of hope at the end of this tunnel, or just another compatibility freight train trying to run me down.

Any thoughts before I abandon beating my brain against the bricks? :-)
Written in WikklyText.

Reply

The content of this field is kept private and will not be shown publicly.