ARM cross compile - one last problem

Justin T. jmtulloss at
Wed Jun 20 01:33:14 CEST 2007

On Jun 19, 10:49 am, jmtull... at wrote:
> Hello all,
> I've been trying to get Python to cross compile to linux running on an
> ARM. I've been fiddling with the cross compile patches here:
> and I've had some success. Python compiles and now all of the
> extensions do too, but when I try to import some of them (time,
> socket, etc.), they have trouble finding certain symbols.
> Py_Exc_IOError and _Py_NoneStruct are the two I remember seeing. It
> would appear that they are exported by libpython, which I believe is
> statically linked into the python executable? That's where I start to
> get confused. What part of python is breaking? Where should I be
> looking for problems?
> Thanks a lot!
> Justin

Alright, I looked into this a little more, and those symbols
definitely exist in my compiled python executable. How are extensions
linked to the python interpreter?


More information about the Python-list mailing list