[uClibc]Still trouble building Python 2.2
Erik Andersen
andersen at codepoet.org
Tue Feb 5 22:06:11 UTC 2002
On Fri Feb 01, 2002 at 04:59:07PM -0600, Jon Nelson wrote:
> I'm looking to use the buildroot stuff to compile Python 2.2
> It looks like I run into a few issues, one of which being that
> *during* the build phase the newly-built python is run,
> resulting sometimes in errors (because the dynamic linker
> can't find the library) and other times in very strange
> behavior (infinite looping that is unexplained).
>
> I'm using the stock uClibc build flags with
> DODEBUG, INCLUDE_RPC, and DOPIC turned *off*
> and
> DOLFS and DO_C99_MATH turned *on*
>
[-------snip---------]
>
> Aha! I hacked setup.py to blather to me *why* the imports
> fail, and they both fail because of an unresolved symbol:
> fcntl64
Hmm. fcntl64 is in libc/sysdeps/linux/common/syscalls.c but is
only enabled when DOLFS is true and you compile using kernel
headers from a kernel supporting large file stuff. Could you
start with a clean tree (0.9.9 or CVS) and make sure you are
using kernel headers for something nice and current (2.4.17 say)
and give it another try? Thx,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list