Date: Sat, 17 Feb 2001 19:47:16 -0800 From: "George W. Dinolt" <gdinolt@pacbell.net> To: freebsd-stable@freebsd.org Subject: Trouble Compiling ipfilter module - reference to osreldate.h Message-ID: <3A8F45C4.357D84E5@pacbell.net>
next in thread | raw e-mail | index | archive | help
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 <osreldate.h> */ # define ACTUALLY_LKM_NOT_KERNEL # endif # if __FreeBSD__ < 3 --- 265,271 ---- #if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) # ifdef IPFILTER_LKM ! # include <osreldate.h> # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8F45C4.357D84E5>