Compile issues on 7.0-p5

Steve Clement steve at localhost.lu
Wed Nov 5 04:50:44 PST 2008


Hi List,

I have the following altq issue:

/usr/src/sys/netinet/tcp_usrreq.c: In function 'tcp_fill_info':
/usr/src/sys/netinet/tcp_usrreq.c:1232: error: 'struct tcp_info' has no
member named 'tcpi_rcv_nxt'


it seems that tcp.h has either been updated or something else has
changed. the following altq options are in my kernel:

# ALTQ Support
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ


Cheers for help,

Steve



cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -std=c99  -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
/usr/src/sys/netinet/tcp_timer.c
cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -std=c99  -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
/usr/src/sys/netinet/tcp_timewait.c
cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -std=c99  -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
/usr/src/sys/netinet/tcp_usrreq.c
/usr/src/sys/netinet/tcp_usrreq.c: In function 'tcp_fill_info':
/usr/src/sys/netinet/tcp_usrreq.c:1232: error: 'struct tcp_info' has no
member named 'tcpi_rcv_nxt'
/usr/src/sys/netinet/tcp_usrreq.c:1235: error: 'struct tcp_info' has no
member named 'tcpi_snd_nxt'
/usr/src/sys/netinet/tcp_usrreq.c:1239: error: 'TCPI_OPT_TOE' undeclared
(first use in this function)
/usr/src/sys/netinet/tcp_usrreq.c:1239: error: (Each undeclared
identifier is reported only once
/usr/src/sys/netinet/tcp_usrreq.c:1239: error: for each function it
appears in.)
*** Error code 1

Stop in /usr/obj/usr/src/sys/IPF.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


More information about the freebsd-hackers mailing list