svn commit: r216964 - stable/8/usr.bin/netstat

Luchesar V. ILIEV luchesar.iliev at gmail.com
Tue Jan 4 23:56:27 UTC 2011


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


More information about the svn-src-all mailing list