Subject: bin/4119: trouble with src/libexec/rpc.rusersd
To: None <gnats-bugs@gnats.netbsd.org, bernd@arresum.inka.de>
From: Bernd Ernesti <bernd@parresum.inka.de>
List: netbsd-bugs
Date: 09/17/1997 23:52:33
>Number: 4119
>Category: bin
>Synopsis: trouble with src/libexec/rpc.rusersd
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 17 15:05:01 1997
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current of now
>Environment:
System: NetBSD parresum 1.2G NetBSD 1.2G (VEEGO) #19: Sat Sep 13 18:02:38 MEST 1997 bernd@parresum:/home/source/obj_i386/src/sys/arch/i386/compile/VEEGO i386
>Description:
src/libexec/rpc.rusersd cause some warnings during a make and has a
Makefile which checks for X11 directories.
It is just wrong to link a NetBSD binary from the offical source
tree with X11 libraries (You won't see this if you use the latest
X11 Release, because X11R6.3 no longer has a X11/extensions/xidle.h).
>How-To-Repeat:
cd src/libexec/rpc.rusersd; make depend; make
cc -O -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -c rusers_proc.c
rusers_proc.c: In function `rusers_num_svc':
rusers_proc.c:219: `ufp' undeclared (first use this function)
rusers_proc.c:219: (Each undeclared identifier is reported only once
rusers_proc.c:219: for each function it appears in.)
rusers_proc.c: In function `do_names_3':
rusers_proc.c:251: `ufp' undeclared (first use this function)
rusers_proc.c: In function `do_names_2':
rusers_proc.c:313: `ufp' undeclared (first use this function)
*** Error code 1
>Fix:
Unkown for rusers_proc.c
Remove lines 12-33 from the Makefile to remove the check for X11 libraries.
>Audit-Trail:
>Unformatted: