While compiling a small program playing with NIS, I got:
$ cc -O -o ypc ypc.o -lrpcsvc -lnsl
ypc.o: In function `get_all':
ypc.o(.text+0x204): undefined reference to `xdr_ypall'
And indeed I didn't find xdr_ypall in libnsl.so or in any
other library. OTOH, this function is defined in an include
$ grep xdr_ypall /usr/include/rpcsvc/yp_prot.h
extern bool_t xdr_ypall __P ((XDR *__xdrs, struct
ypall_callback * __objp));
(I see the same problem on Red Hat 5.1 BTW)
Cristian, this still appears to be the case. Should we remove the
function prototype, or implement the function?
I think we will have to remove the function, as Unix98 fails to define
Christian, is this taken care of . . . i.e. can I close this bug?
implemented in glibc-2.1.2-1. A new package will hit rawhide shortly