From owner-freebsd-stable Mon Jun 17 0:51:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from grant.org (grant.org [206.190.164.98]) by hub.freebsd.org (Postfix) with ESMTP id 5889D37B421 for ; Mon, 17 Jun 2002 00:51:00 -0700 (PDT) Received: from splat.grant.org (mgrant@splat.grant.org [213.39.2.177]) by grant.org (8.11.6/8.11.6) with ESMTP id g5H7ovk85597 for ; Mon, 17 Jun 2002 03:50:58 -0400 (EDT) (envelope-from mgrant@splat.grant.org) Received: (from mgrant@localhost) by splat.grant.org (8.11.6+Sun/8.11.6) id g5H7o0907299; Mon, 17 Jun 2002 09:50:00 +0200 (MEST) Date: Mon, 17 Jun 2002 09:50:00 +0200 (MEST) Message-Id: <200206170750.g5H7o0907299@splat.grant.org> From: Michael Grant To: freebsd-stable@freebsd.org Subject: compiling kernel with ipfilter Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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