[ctypes-users] how to cross compile ctypes for ARM9 MontaVista
Brought to you by:
theller
From: Border <bo...@gm...> - 2008-08-25 05:41:41
|
Hi All: I have build python 2.5.2 from source for an embedded ARM9 MontaVista, but ctypes doesn't build. Anybody have any idea what the problem is? root:/> python Python 2.5.2 (r252:60911, Aug 25 2008, 23:00:14) [GCC 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ctypes Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/arm-test/rootfs/lib/python2.5/ctypes/__init__.py", line 10, in <module> ImportError: /lib/python2.5/lib-dynload/_ctypes.so: cannot open shared object file: No such file or directory >>> border@debian:/opt/arm-test/rootfs/lib/python2.5/lib-dynload$ file binascii.so binascii.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), not stripped border@debian:/opt/arm-test/rootfs/lib/python2.5/lib-dynload$ file _ctypes.so _ctypes.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped -- Border Blog: http://www.b0rder.com/ Mail: borderj {at} gmail.com |