public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Statically linking against RPC functions
@ 2016-10-28 12:39 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2016-10-28 12:39 UTC (permalink / raw)
  To: GNU C Library

In a default build, librpcsvc.a cannot be linked successfully because it 
references functions which are not part of any static library.

sunrpc/librpcsvc.a(xyppasswd.o): In function `xdr_passwd':
sunrpc/xyppasswd.c:13: undefined reference to `xdr_string'
sunrpc/xyppasswd.c:15: undefined reference to `xdr_string'
sunrpc/xyppasswd.c:17: undefined reference to `xdr_int'
sunrpc/xyppasswd.c:19: undefined reference to `xdr_int'
sunrpc/xyppasswd.c:21: undefined reference to `xdr_string'
sunrpc/xyppasswd.c:23: undefined reference to `xdr_string'
sunrpc/xyppasswd.c:25: undefined reference to `xdr_string'
sunrpc/librpcsvc.a(xyppasswd.o): In function `xdr_yppasswd':
sunrpc/xyppasswd.c:35: undefined reference to `xdr_string'

Most functions in libnsl.a seem to suffer the same fate.

Is this an incompletely implemented removal of the Sun RPC interfaces, 
or is there an expectation that these functions come from somewhere else?

Thanks,
Florian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-28 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 12:39 Statically linking against RPC functions Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).