From owner-freebsd-stable Sat Feb 17 19:47:37 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id A83D237B491 for ; Sat, 17 Feb 2001 19:47:32 -0800 (PST) Received: from pacbell.net ([63.199.30.191]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0G8X00CN1P20PE@mta5.snfc21.pbi.net> for freebsd-stable@freebsd.org; Sat, 17 Feb 2001 19:44:24 -0800 (PST) Date: Sat, 17 Feb 2001 19:47:16 -0800 From: "George W. Dinolt" Subject: Trouble Compiling ipfilter module - reference to osreldate.h To: freebsd-stable@freebsd.org Message-id: <3A8F45C4.357D84E5@pacbell.net> MIME-version: 1.0 X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tried to build a new kernel and modules for stable after a recent cvsup (6:00 P.M. PST) and was unable to build the ipfilter module. The file /usr/src/sys/netinet/mlfk_ipl.c references the file ip_compat.h in the same directory, which, when compiling modules, references osreldate.h. The file osreldate.h is not available. After I commented out the reference in /usr/src/sys/netinet/ip_compat.h the build worked fine: *** ip_compat.h Sat Feb 17 19:42:29 2001 --- ip_compat.h.old Sat Feb 17 19:42:40 2001 *************** *** 265,271 **** #if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) # ifdef IPFILTER_LKM ! /* # include */ # define ACTUALLY_LKM_NOT_KERNEL # endif # if __FreeBSD__ < 3 --- 265,271 ---- #if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) # ifdef IPFILTER_LKM ! # include # define ACTUALLY_LKM_NOT_KERNEL # endif # if __FreeBSD__ < 3 (Of course the "right fix" is to remove the offending line.) I have not tried a kernel build with OPTIONS IPFILTER to see if I broke something there. I hope this is useful until a patch is installed in the CVS tree. Regards, G. Dinolt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message