Re: FreeBSD-7-RC1 /usr/src/sys/netinet/tcp_output.c:963: error: 'IPSEC_DIR_OUTBOUND' undeclared

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Sun, 23 Dec 2007 13:14:53 +0000 (UTC)
On Sun, 23 Dec 2007, Hanno Krusken wrote:

> CVSUP from 22-12-2007 for FreeBSD-7-RC1 / make buildworld / make buildkernel.....
> this is my 1st build stop... how to fix this
>
> running on FreeBSD-6.3-RC3 right now and want to step up to 7.x
>
> cc -c -O2 -pipe -msse -msse2 -mmmx -mtune=pentium4m -fno-strict-aliasing -march=pentium4m -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
> -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
> Werror -pg -mprofiler-epilogue /usr/src/sys/netinet/tcp_output.c /usr/src/sys/netinet/tcp_output.c: In
> function 'tcp_output': /usr/src/sys/netinet/tcp_output.c:963: error: 'IPSEC_DIR_OUTBOUND'
> undeclared (first use in this function) /usr/src/sys/netinet/tcp_output.c:963: error: (Each
> undeclared identifier is reported only once /usr/src/sys/netinet/tcp_output.c:963: error: for each
> function it appears in.) *** Error code 1


seems you are compiling with TCP_SIGNATURE but w/o IPSEC in your
kernel config. IPSEC will need crypto as well.

-- 
Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
Software is harder than hardware  so better get it right the first time.
Received on Sun Dec 23 2007 - 12:15:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC