Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2011 01:27:10 +0200
From:      "Luchesar V. ILIEV" <luchesar.iliev@gmail.com>
To:        John Nielsen <lists@jnielsen.net>
Cc:        src-committers@freebsd.org, svn-src-stable@freebsd.org, svn-src-all@freebsd.org, "George V. Neville-Neil" <gnn@freebsd.org>, svn-src-stable-8@freebsd.org, Dan Allen <danallen46@airwired.net>
Subject:   Re: svn commit: r216964 - stable/8/usr.bin/netstat
Message-ID:  <4D23ACCE.6070602@gmail.com>
In-Reply-To: <394C0FD2-E197-4899-8868-DC761D3AFB03@jnielsen.net>
References:  <201101041651.p04GpO15046054@svn.freebsd.org> <394C0FD2-E197-4899-8868-DC761D3AFB03@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/04/11 23:21, John Nielsen wrote:
> The build on -STABLE is broken for me at at least one other person today and my guess is that this commit is to blame.  My buildworld output:
> 
> ===> usr.bin/netstat (all)
> cc -O2 -pipe -march=k6-3 -fno-strict-aliasing -DIPSEC -DSCTP -DNETGRAPH -DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.bin/netstat/if.c
> cc -O2 -pipe -march=k6-3 -fno-strict-aliasing -DIPSEC -DSCTP -DNETGRAPH -DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.bin/netstat/inet.c
> /usr/src/usr.bin/netstat/inet.c: In function 'protopr':
> /usr/src/usr.bin/netstat/inet.c:462: error: 'struct tcpcb' has no member named 't_sndrexmitpack'
> /usr/src/usr.bin/netstat/inet.c:463: error: 'struct tcpcb' has no member named 't_rcvoopack'
> /usr/src/usr.bin/netstat/inet.c:463: error: 'struct tcpcb' has no member named 't_sndzerowin'
> *** Error code 1
> 
> Stop in /usr/src/usr.bin/netstat.
> *** Error code 1
> 
> Stop in /usr/src/usr.bin.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> 
> JN
> 
> <...snip..>
> 

It seems to me that you need to update your src tree, as the variables
mentioned in the error message were (later) defined in r216968:

http://svn.freebsd.org/viewvc/base?view=revision&revision=216968

specifically

http://svn.freebsd.org/viewvc/base/stable/8/sys/netinet/tcp_var.h?r1=214860&r2=216968&pathrev=216968

Hope that helps,

Luchesar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D23ACCE.6070602>