Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

From: Matthew Farkas-Dyck <>
Date: Mon, 27 Feb 2012 21:05:07 -0500

On 27/02/2012, Paul Onyschuk <> 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

> 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:
Not sure where the patch is, though.

Received on Tue Feb 28 2012 - 03:05:07 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 28 2012 - 03:12:03 CET