There is no reasonable, reliable way of getting errno under different operating systems. That's why we introduced per-system hack at the very bottom of ll2ctypes that tries to get errno. Can you think about a way to do it on FreeBSD? There is also nice, generic way to do it on top of python2.6, if you're up to trying it on it, I can provide the fix (it's not implemented yet). Cheers, fijal On Fri, Nov 21, 2008 at 4:13 AM, Gabriel Lavoie <glavoie@gmail.com> wrote:
Hello, I'm trying to translate PyPy into pypy-c on FreeBSD 7.0 but at the beginning of the translation process I get the following error,
NotImplementedError("don't know how to get the C-level errno!")
from the file "pypy/rpython/lltypesystem/ll2ctypes.py". How can I solve this problem? It seems it's python-ctypes related. I'm using Python 2.5.3 (from ports tree) and when I tried to build the port "devel/py-ctypes", it told me that ctypes was provided with Python 2.5.x.
Thanks!
Gabriel
-- Gabriel Lavoie glavoie@gmail.com
_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev