RPC support for modern (e)glibc toolchains

编译 busybox的时候,提示错误:

 make
  CC      networking/inetd.o
networking/inetd.c:178:22: fatal error: rpc/rpc.h: No such file or directory
 # include <rpc/rpc.h>

到  {SYSROOT}/usr/include 下搜索了下,确实没有这个文件。

网上查到了相关的信息:

since (e)glibc 2.14 (released in May
2011) and its subsequent version 2.15 (released in March 2012),the
RPC support has been completely removed from (e)glibc, and the
developers recommend to use the tirpc library instead. Apparently,
tirpc offers additional benefits over the traditional RPC support that
was part of (e)glibc, such as improved IPv6 support.
http://comments.gmane.org/gmane.comp.lib.uclibc.buildroot/42730

GLIBC也提供了一个配置项 --enable-obsolete-rpc.


你可能感兴趣的:(RPC support for modern (e)glibc toolchains)