FreeBSD Tinderbox wrote: [SNIP most of the build log] >>>> Kernel build for LINT started on Sat Mar 24 13:24:12 UTC 2007 >>>> stage 1: configuring the kernel >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3.1: making dependencies >>>> stage 3.2: building everything > [...] > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/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 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/netinet/tcp_hostcache.c > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/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 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/netinet/tcp_input.c > /src/sys/netinet/tcp_input.c: In function `tcp_do_segment': > /src/sys/netinet/tcp_input.c:1275: error: `ostate' undeclared (first use in this function) > /src/sys/netinet/tcp_input.c:1275: error: (Each undeclared identifier is reported only once > /src/sys/netinet/tcp_input.c:1275: error: for each function it appears in.) > /src/sys/netinet/tcp_input.c:1276: error: `tcp_saveipgen' undeclared (first use in this function) > /src/sys/netinet/tcp_input.c:1276: error: `tcp_savetcp' undeclared (first use in this function) > *** Error code 1 > > Stop in /obj/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2007-03-24 13:34:50 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2007-03-24 13:34:50 - ERROR: failed to build lint kernel > TB --- 2007-03-24 13:34:50 - tinderbox aborted > TB --- 0.53 user 2.02 system 4362.57 real > > > http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full I've found the reason for this build breakage, and noted that it only affects kernels with TCPDEBUG. The issue is that ostadte , tcp_saveipgen and tcp_savetcp are declared at the top of tcp_input() , which was fine when tcp_input and tcp_do_segment() was one function. When tcp_input() was split, the declarations stayed, but the new tcp_do_segment() has references to them as well. Regards! //NiclasReceived on Sat Mar 24 2007 - 15:36:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC