From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 17:15:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD46116A4CE for ; Mon, 1 Mar 2004 17:15:35 -0800 (PST) Received: from hotmail.com (bay2-f14.bay2.hotmail.com [65.54.247.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4F6843D1F for ; Mon, 1 Mar 2004 17:15:35 -0800 (PST) (envelope-from bryan1024@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Mar 2004 17:15:35 -0800 Received: from 66.61.22.121 by by2fd.bay2.hotmail.msn.com with HTTP; Tue, 02 Mar 2004 01:15:35 GMT X-Originating-IP: [66.61.22.121] X-Originating-Email: [bryan1024@hotmail.com] X-Sender: bryan1024@hotmail.com From: "bryan m" To: freebsd-questions@freebsd.org Date: Tue, 02 Mar 2004 01:15:35 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Mar 2004 01:15:35.0724 (UTC) FILETIME=[DDA54EC0:01C3FFF3] Subject: problems with kernel compilation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 01:15:36 -0000 I'm trying to compile a new kernel to add IPFilter support, albeit getting some compiler errors: (this is with a 5.2 kernel by the way) ../../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper': ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared (first use in this function) ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier is reported only once ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it appears in.) ../../../contrib/ipfilter/netinet/ip_fil.c: In function `iplattach': ../../../contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet' ../../../contrib/ipfilter/netinet/ip_fil.c: At top level: ../../../contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' defined but not used *** Error code 1 Stop in /usr/src/sys/i386/compile/ROUTER. Here is my kernel configuration: machine i386 cpu I686_CPU ident ROUTER options SCHED_4BSD options INET options FFS options SOFTUPDATES options UFS_ACL options UFS_DIRHASH options MD_ROOT options PROCFS options PSEUDOFS options COMPAT_43 options COMPAT_FREEBSD4 options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options AHC_REG_PRETTY_PRINT options AHD_REG_PRETTY_PRINT options INVARIANT_SUPPORT device isa device eisa device pci device fdc device ata device atadisk device atapicd options ATA_STATIC_ID device atkbdc device atkbd device psm device vga device splash device sc device agp device npx device pmtimer device sio device miibus device fxp device vr device random device loop device ether device tun device pty device gif device bpf options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK Would someone please tell me what's wrong here? Thanks in advance _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail