Bug 249

Summary: xdr_ypall is missing from libnsl.so
Product: [Retired] Red Hat Linux Reporter: lionel.cons
Component: glibcAssignee: Cristian Gafton <gafton>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-09 02:36:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lionel.cons 1998-12-01 14:38:52 UTC
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
file:

$ 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)

Comment 1 Preston Brown 1999-03-18 16:10:59 UTC
Cristian, this still appears to be the case.  Should we remove the
function prototype, or implement the function?

Comment 2 Cristian Gafton 1999-03-18 19:55:59 UTC
I think we will have to remove the function, as Unix98 fails to define
it...

Comment 3 Jay Turner 1999-06-29 17:16:59 UTC
Christian, is this taken care of . . . i.e. can I close this bug?

Comment 4 Cristian Gafton 1999-07-09 02:36:59 UTC
implemented in glibc-2.1.2-1. A new package will hit rawhide shortly