I am trying to embed a python interpreter into my C program for my gumstix.
My test program is this for simplicity:
int main(int argc, char *argv)
When I try to "import math" or any other common module (except for "os" or
"sys" for some reason) I get this error:
*** Error in `python_test': double free or corruption (out): 0x429bd020 ***
I only get this error when I cross compile for the ARM (gumstix) system. It
works if I compile and run it on my Host PC, windows and ubuntu (x86).
Does anyone know what can be wrong? The GCC I used to cross compile is 4.7.2
and the python version is 2.7.3.
View this message in context: http://gumstix.8.x6.nabble.com/error-embedding-python-tp4968779.html
Sent from the Gumstix mailing list archive at Nabble.com.