Subject: bin/672: ypbind doesn't compile
To: None <gnats-admin@NetBSD.ORG>
From: Daniel Carosone <dan@anarres.mame.mu.oz.au>
List: netbsd-bugs
Date: 01/01/1995 16:20:05
>Number:         672
>Category:       bin
>Synopsis:       ypbind doesn't compile, can't find svc_maxfd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan  1 16:20:03 1995
>Originator:     Daniel Carosone
>Organization:
Bozo Software Foundation
>Release:        today
>Environment:
	
System: NetBSD anarres 1.0A NetBSD 1.0A (_anarres_) #2: Sat Dec 31 18:02:51 EST 1994 dan@blah:/amd/oi/lfs/f/l/NetBSD/src/sys/arch/i386/compile/_anarres_ i386

>Description:

cc -O -DDAEMON -DHEURISTIC   -c /amd/oi/fs/f/l/NetBSD/src/usr.sbin/ypbind/ypbind.c
/amd/oi/fs/f/l/NetBSD/src/usr.sbin/ypbind/ypbind.c: In function `main':
/amd/oi/fs/f/l/NetBSD/src/usr.sbin/ypbind/ypbind.c:393: `svc_maxfd' undeclared (first use this function)
/amd/oi/fs/f/l/NetBSD/src/usr.sbin/ypbind/ypbind.c:393: (Each undeclared identifier is reported only once
/amd/oi/fs/f/l/NetBSD/src/usr.sbin/ypbind/ypbind.c:393: for each function it appears in.)
*** Error code 1

I can't find what it would be looking for. 

>How-To-Repeat:

cd /usr/src/usr.sbin/ypbind; make

>Fix:

The code could be rewritten not to need the variable, but someone
obviously had something in mind when they changed it - I'm just not
sure what.
>Audit-Trail:
>Unformatted: