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 ...

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Thu Dec 14 08:23:14 PST 2006


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 at atlantis.dp.ua
nic-hdl: LYNX-RIPE


More information about the cvs-src mailing list