nfs-utils build w/uclibc libnsl

Peter S. Mazinger ps.m at gmx.net
Sun Mar 19 18:15:46 UTC 2006


On Tue, 14 Mar 2006 tonyb at thekrnl.sysdev.org wrote:

> The build of mountd in nfs-utils fails because of
> an undefined ref to getrpcbynumber_r (/usr/include/rcp/netdb.h),
> which looking at the gcc -L, line should have been resolved
> by -lnsl.
> 
> Comparing the glibc libnsl.a (100K) and the uClibc libnsl.a
> (1K), there seems to be a build problem with uClibc.

read libnsl/nsl.c, it is a dummy, getrpcbynumber_r was added to uClibc svn
(if you enable UCLIBC_HAS_REENTRANT_RPC)
The header was wrong, defining these independently of the chosen option, 
fixed in svn

Peter
> 
> Has anyone successfully built nfs-utils v1.0.7 with uClibc?
> 
> TonyB
> 
> --
>   __      __  _     I N C.               http://www.sysdev.org
> / __|\\// __||  \  __   __          /         tonyb at sysdev.org
> \__ \ \/\__ \||)|/ O_)\/ /        \/  System Tools / Utilities
> |___/ || ___/|_ /\___|\_/        WIntel / Linux Device Drivers
> 
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list