Subject: bin/4509: Can not link tcpdchk "static"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@runit.sintef.no>
List: netbsd-bugs
Date: 11/16/1997 19:19:28
>Number:         4509
>Category:       bin
>Synopsis:       <synopsis of the problem (one line)Can not link tcpdchk "static">
>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 Nov 16 10:35:01 1997
>Last-Modified:
>Originator:     Jarle F. Greipsland
>Organization:
SINTEF/RUNIT
	
>Release:        <NetBSD-current source date>1997-11-11
>Environment:
	
System: NetBSD rrcvax.runit.sintef.no 1.3_ALPHA NetBSD 1.3_ALPHA (RRCVAX) #0: Tue Nov 11 02:48:01 MET 1997 root@rrcvax.runit.sintef.no:/usr/src/sys/arch/vax/compile/RRCVAX vax


>Description:
The program tcpdchk cannot be linked statically due to the fact that the
variable rfc931_timeout is declared both in the libwrap library and in the
file scaffold.c in the sources for tcpdchk.
	
>How-To-Repeat:
Try to build tcpdchk on an architechture without static libraries, e.g.
a VAX.  Also, building the application statically on the i386 platform
produces the same results.
	
>Fix:
Since the initial value of the variable in the file scaffold.c is the same
as the one from the wrap library the variable in the scaffold.c file can
be removed.
	
>Audit-Trail:
>Unformatted: