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

From: Matthew Farkas-Dyck <>
Date: Sun, 26 Feb 2012 23:24:57 -0500

On 26/02/2012, Anthony Martin <> wrote:
> The link order in is wrong.
> Try building with this patch.

Problem solved. Many thanks.

Unfortunately, now linkage fails later. Solution might be quite plain;
I shall try to further diagnose when I have the time.

Failure mode:
make[2]: Entering directory
CC du.c
LD du
../lib9/lib9.a(dirread.o): In function `mygetdents':
dirread.c:(.text+0x3a): undefined reference to `getdirentries64'
collect2: ld returned 1 exit status
make[2]: *** [du] Error 1
make[2]: Leaving directory
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/strake/buildroot-2011.11/output/build/9base-6'
make: *** [/home/strake/buildroot-2011.11/output/build/9base-6/.stamp_built]
Error 2

Thanks again.

Received on Mon Feb 27 2012 - 05:24:57 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 27 2012 - 05:36:04 CET