Date: Fri, 27 Oct 2000 00:57:47 -0700 From: Doug Barton <DougB@gorean.org> To: current@freebsd.org, darrenr@freebsd.org Subject: kernel build problem Message-ID: <39F9357B.36BD77F0@gorean.org>
next in thread | raw e-mail | index | archive | help
With tonight's sources I had an error in sys/netinet/ip_compat.h that
was looking for an osreldate.h that didn't exist. The following patch
fixes it, in the sense that the kernel and lkm compile, and ipfilter
compiled into the kernel works. However I'm told it might not be
appropriate. FWIW, I'm using buildkernel, and I can see
src/i386/usr/include/osreldate.h and src/include/osreldate.h both in
/usr/obj.
Doug
Index: ip_compat.h
===================================================================
RCS file: /usr/ncvs/src/sys/netinet/ip_compat.h,v
retrieving revision 1.11
diff -u -r1.11 ip_compat.h
--- ip_compat.h 2000/10/26 12:33:42 1.11
+++ ip_compat.h 2000/10/27 06:14:46
@@ -265,10 +265,10 @@
#if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL))
# ifdef IPFILTER_LKM
-# include <osreldate.h>
+# include <sys/param.h>
# define ACTUALLY_LKM_NOT_KERNEL
# else
-# include <sys/osreldate.h>
+# include <sys/param.h>
# endif
# if __FreeBSD__ < 3
# include <machine/spl.h>
--
"The dead cannot be seduced."
- Kai, "Lexx"
Do YOU Yahoo!?
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F9357B.36BD77F0>
