Subject: bin/4509: Can not link tcpdchk "static"
To: None <>
From: None <>
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
>Originator:     Jarle F. Greipsland
>Release:        <NetBSD-current source date>1997-11-11
System: NetBSD 1.3_ALPHA NetBSD 1.3_ALPHA (RRCVAX) #0: Tue Nov 11 02:48:01 MET 1997 vax

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.
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.
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.