Date: Mon, 17 Jun 2002 09:50:00 +0200 (MEST) From: Michael Grant <mg-fbsd3@grant.org> To: freebsd-stable@freebsd.org Subject: compiling kernel with ipfilter Message-ID: <200206170750.g5H7o0907299@splat.grant.org>
next in thread | raw e-mail | index | archive | help
I have ipfilter in my kernel. I did a make buildkernel and received the following errors on 4.6: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c In file included from /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:102: /usr/src/sys/netinet/ip_ipsec_pxy.c: In function `ippr_ipsec_new': /usr/src/sys/netinet/ip_ipsec_pxy.c:49: too many arguments to function `nat_outlookup' /usr/src/sys/netinet/ip_ipsec_pxy.c:60: structure has no member named `ipsc_spi' /usr/src/sys/netinet/ip_ipsec_pxy.c:88: warning: passing arg 1 of `nat_new' from incompatible pointer type /usr/src/sys/netinet/ip_ipsec_pxy.c:88: warning: passing arg 3 of `nat_new' from incompatible pointer type /usr/src/sys/netinet/ip_ipsec_pxy.c:88: too few arguments to function `nat_new' /usr/src/sys/netinet/ip_ipsec_pxy.c:90: too few arguments to function `fr_addstate' /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c: At top level: /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:122: `ippr_ipsec_del' undeclared here (not in a function) /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:122: initializer element is not constant /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:122: (near initialization for `ap_proxies[3].apr_del') /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:123: `ippr_ipsec_match' undeclared here (not in a function) /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:123: initializer element is not constant /usr/src/sys/contrib/ipfilter/netinet/ip_proxy.c:123: (near initialization for `ap_proxies[3].apr_match') *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206170750.g5H7o0907299>