Subject: bin/35056: netstat does not compile in crunched environment
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <keiichi@keiichi01.osaka.iij.ad.jp>
List: netbsd-bugs
Date: 11/15/2006 07:15:00
>Number:         35056
>Category:       bin
>Synopsis:       netstat does not compile in crunched environment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 15 07:15:00 +0000 2006
>Originator:     Keiichi Shima
>Release:        NetBSD 4.99.3
>Organization:
	Internet Initiative Japan Inc.
>Environment:
System: NetBSD keiichi01.osaka.iij.ad.jp 4.99.3 NetBSD 4.99.3 (SHISA) #0: Thu Nov 2 22:21:03 JST 2006 keiichi@keiichi01.osaka.iij.ad.jp:/home/keiichi/work/shisa-netbsd-current/obj/sys/arch/i386/compile/SHISA i386
Architecture: i386
Machine: i386
>Description:
	Compilation fails when making a crunched binary during netstat build.
>How-To-Repeat:
	sh build.sh -m evbarm release
>Fix:
Index: main.c
===================================================================
RCS file: /cvsroot/shisa-netbsd/src/usr.bin/netstat/main.c,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 main.c
--- main.c      30 Oct 2006 11:33:26 -0000      1.1.1.6
+++ main.c      14 Nov 2006 08:12:51 -0000
@@ -388,7 +388,9 @@
        } else if (qflag ||
                   rflag ||
                   iflag ||
+#ifndef SMALL
                   gflag ||
+#endif
                   Pflag) {
                /* These flags are not yet supported via sysctl(3). */
                use_sysctl = 0;

>Unformatted:
 	CVS source retrieved around 2006-10-30