ARM cross compile - one last problem

Justin T. jmtulloss at gmail.com
Tue Jun 19 19:33:14 EDT 2007


On Jun 19, 10:49 am, jmtull... at gmail.com 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:http://sourceforge.net/tracker/index.php?func=detail&aid=1597850&grou...
>
> 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?

Justin




More information about the Python-list mailing list