Re: kernel build problem
What failed ? Do you have the make error output ? Darren In some email I received from Doug Barton, sie wrote: 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
In message [EMAIL PROTECTED], Darren Reed writes : What failed ? Do you have the make error output ? Did you try to compile LINT before you committed ? Right, if you had you would have seen the error :-( Darren 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
Darren Reed wrote: What failed ? Do you have the make error output ? In file included from /usr/amd/slave/usr/current/src/sys/netinet/fil.c:79: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_auth.c:93: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_fil.c:101: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_frag.c:71: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_log.c:112: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_nat.c:99: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_proxy.c:72: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_state.c:82: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/mlfk_ipl.c:44: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory HTH, Doug -- "The dead cannot be seduced." - Kai, "Lexx" Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
On Fri, Oct 27, 2000 at 11:43:04AM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Darren Reed writes : What failed ? Do you have the make error output ? Did you try to compile LINT before you committed ? Hell, forget LINT, just try GENERIC. Darren, you really, really have a major problem importing new ipfilter bits. I cannot think of a single time you have not broken world. What can we do to help you prevent this in the future? Do you compile a GENERIC and/or LINT kernel before your change(s)? Do you ``cvsup'' and then test what actually got committed in a virgin src tree? -- -- David ([EMAIL PROTECTED]) P.S. === ipfilter rm -f .depend mkdep -f .depend -a -nostdinc -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c /usr/src/sys/modules/ipfilter/../../netinet/ip_nat.c /usr/src/sys/modules/ipfilter/../../netinet/ip_frag.c /usr/src/sys/modules/ipfilter/../../netinet/ip_state.c /usr/src/sys/modules/ipfilter/../../netinet/ip_proxy.c /usr/src/sys/modules/ipfilter/../../netinet/ip_auth.c /usr/src/sys/modules/ipfilter/../../netinet/ip_log.c /usr/src/sys/modules/ipfilter/../../netinet/ip_fil.c /usr/src/sys/modules/ipfilter/../../netinet/fil.c In file included from /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:44: @/netinet/ip_compat.h:268: osreldate.h: No such file or directory ..snip.. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
In some email I received from David O'Brien, sie wrote: On Fri, Oct 27, 2000 at 11:43:04AM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Darren Reed writes : What failed ? Do you have the make error output ? Did you try to compile LINT before you committed ? Hell, forget LINT, just try GENERIC. Darren, you really, really have a major problem importing new ipfilter bits. I cannot think of a single time you have not broken world. What can we do to help you prevent this in the future? Do you compile a GENERIC and/or LINT kernel before your change(s)? Do you ``cvsup'' and then test what actually got committed in a virgin src tree? I don't use cvsup (but may soon) as I have to pay for megabytes at the moment. I'm generally compiling/developing on -STABLE (in this case, the imported code was compiling cleanly on 4.1-RELEASE) and generally don't think that it'll be _that_ different. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
On Fri, Oct 27, 2000 at 10:46:24PM +1100, Darren Reed wrote: I'm generally compiling/developing on -STABLE (in this case, the imported code was compiling cleanly on 4.1-RELEASE) and generally don't think that it'll be _that_ different. In all seriousness, the farther down the 4.x branch we get, the divergence between -STABLE and -CURRENT gets *quite* different. This is unfortunate, but until we do major paid release engineering, many things are MFC'ed that really could/should be to reduce the differences. -- -- David ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message