On 27/02/2012, Paul Onyschuk <blink_AT_bojary.koba.pl> wrote:
> I didn't drink my coffee yet, so my head isn't straight yet. I tried
> to build 9base/plan9port/9vx with uClibc year or two ago (without
> success). Those errors looks familiar, but my memory isn't fresh.
I hope that the coffee is.
> AFAIK uClibc doesn't provide getdirentries(), which is used by lib9/dirread.c.
Ah, true.
$ nm uClibc-0.9.32/lib/* | grep getdir
getdirname.os:
$
> As for error with getdirentries64, just look at /usr/include/dirent.h:
>
> # define getdirentries getdirentries64
>
> I think I fixed that by providing own version of getdirentries(), but
> hit later other issues.
>
> Still it would be nice to fix this once and for all, because plan9port
> and 9vx has same issues (I don't think that this got fixed).
I agree. A quick search yielded this:
http://9fans.net/archive/2006/06/463
Not sure where the patch is, though.
Cheers,
strake
Received on Tue Feb 28 2012 - 03:05:07 CET