public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: GNU C Library <libc-alpha@sourceware.org>
Subject: Statically linking against RPC functions
Date: Fri, 28 Oct 2016 12:39:00 -0000	[thread overview]
Message-ID: <82296d11-ab39-73f8-f65f-d55bab1dfc49@redhat.com> (raw)

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

                 reply	other threads:[~2016-10-28 12:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82296d11-ab39-73f8-f65f-d55bab1dfc49@redhat.com \
    --to=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).