Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 18:17:05 +0200 (EET)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org
Subject:   Re: cvs commit: src/sys/net if_spppsubr.c src/sys/netinet ip_fw2.c tcp_hostcache.c tcp_input.c src/sys/netinet6 frag6.c icmp6.c in6.c in6_gif.c in6_src.c in6_var.h ip6_forward.c ip6_input.c ip6_mroute.c ipsec.c mld6.c nd6.c nd6_nbr.c nd6_rtr.c scope6.c ...
Message-ID:  <20061214181128.S29902@atlantis.atlantis.dp.ua>
In-Reply-To: <200612121217.kBCCHwP6019297@repoman.freebsd.org>
References:  <200612121217.kBCCHwP6019297@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello!

On Tue, 12 Dec 2006, Bjoern A. Zeeb wrote:
>    sys/netipsec         ipsec.c ipsec_input.c
...
>  1.19      +5 -1      src/sys/netipsec/ipsec.c

   I believe the following change in your commit:

+#if INET6
+       char ip6buf[INET6_ADDRSTRLEN];
+#endif

broke kernel build (at least, with "options FAST_IPSEC" and w/o INET6):

cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Wundef 
-fformat-extensions -nostdinc -I-  -I. -I/usr/CURRENT/src/sys 
-I/usr/CURRENT/src/sy
s/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/CURRENT/src/s
ys/netipsec/ipsec.c
/usr/CURRENT/src/sys/netipsec/ipsec.c:1846:5: "INET6" is not defined
*** Error code 1

It seems that it should be "#ifdef INET6" instead of "#if INET6"?


Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061214181128.S29902>