This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Statically linking against RPC functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]