I am unable to compile a 5.4p3 kernel. I get the following error: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -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 -ffreestanding -Werror /usr/src/sys/netinet/tcp_input.c /usr/src/sys/netinet/tcp_input.c: In function `tcp_dooptions': /usr/src/sys/netinet/tcp_input.c:2706: warning: implicit declaration of function `TSTMP_GT' /usr/src/sys/netinet/tcp_input.c:2706: warning: nested extern declaration of `TSTMP_GT' *** Error code 1 Stop in /usr/obj/usr/src/sys/AURA. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Kernel config is GENERIC with SCSI ripped out and IPF added.
Janet Sullivan wrote:> I am unable to compile a 5.4p3 kernel. I get the following error: > > /usr/src/sys/netinet/tcp_input.c: In function `tcp_dooptions': > /usr/src/sys/netinet/tcp_input.c:2706: warning: implicit declaration of > function `TSTMP_GT' > /usr/src/sys/netinet/tcp_input.c:2706: warning: nested extern > declaration of `TSTMP_GT'What version of /usr/src/sys/netinet/tcp_var.h do you have on that system? Colin Percival
Janet Sullivan wrote:> Colin Percival wrote: > >> Janet Sullivan wrote: >> >>> I am unable to compile a 5.4p3 kernel. I get the following error: >>> >>> /usr/src/sys/netinet/tcp_input.c: In function `tcp_dooptions': >>> /usr/src/sys/netinet/tcp_input.c:2706: warning: implicit declaration of >>> function `TSTMP_GT' >>> /usr/src/sys/netinet/tcp_input.c:2706: warning: nested extern >>> declaration of `TSTMP_GT'Although I cvsup'd from both cvsup8 and cvsup18, it looks like I might have gotten an incomplete update. I just re-cvsup'd, and got a new version of src/sys/netinet/tcp_seq.h - might that have been the problem?