problem in building modules-with-world re: cvs commit:src/sys/netinet ip_fw_pfil.c

Andre Oppermann andre at freebsd.org
Fri Aug 20 13:07:36 PDT 2004


"P.D. Seniura" wrote:
> 
> ----- Original Message -----
> From: Andre Oppermann <andre at freebsd.org>
> Date: Fri, 20 Aug 2004 20:01:25 +0200
> To: Paul Seniura <pdseniura at techie.com>
> Subject: Re: problem in building modules-with-world re: cvs commit: src/sys/netinet ip_fw_pfil.c
> 
> > Paul Seniura wrote:
> > >
> > > Hi,
> > >
> > > I'll try replying directly to the committer
> > > this time rather than post on -current@ since
> > > -current@ seems to be ignored somewhat.  And
> > > also CC the cvs list directly, too.
> > >
> > > Got the latest CTM buckets installed.
> > > Doesn't seem to be any commits since then
> > > to cover this problem.
> > >
> > > ident /src/sys/modules/ipfw/../../netinet/ip_fw2.c:
> > >      $FreeBSD: src/sys/netinet/ip_fw2.c,v 1.73 2004/08/19 23:31:40 andre Exp $
> > >
> > > ident /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:
> > >      $FreeBSD: src/sys/netinet/ip_fw_pfil.c,v 1.5 2004/08/20 00:36:55 andre Exp $
> > >
> > > A snip from my build log freshly done just now:
> > >
> > > [...]
> > > ===> ipfw
> > > rm -f .depend
> > > mkdep -f .depend -a   -nostdinc -DIPFIREWALL -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include /src/sys/modules/ipfw/../../netinet/ip_fw2.c /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c
> > > /src/sys/modules/ipfw/../../netinet/ip_fw2.c:35:22: opt_ipfw.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw2.c:36:22: opt_ipdn.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw2.c:37:26: opt_ipdivert.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw2.c:38:22: opt_inet.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw2.c:39:23: opt_ipsec.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw2.c:41:2: #error IPFIREWALL requires INET.
> > > /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:29:22: opt_ipfw.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:30:22: opt_ipdn.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:31:26: opt_ipdivert.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:32:28: opt_pfil_hooks.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:33:22: opt_inet.h: No such file or directory
> > > /src/sys/modules/ipfw/../../netinet/ip_fw_pfil.c:35:2: #error IPFIREWALL requires INET.
> > > mkdep: compile failed
> > > *** Error code 1 (continuing)
> > > `depend' not remade because of errors.
> > > ===> ip_mroute_mod
> > > [...]
> >
> > I have just cvsupped -current and the GENERIC kernel compiles just fine.
> >
> > Looking at the error message in your log output one might conclude that you
> > are missing "option INET" in your kernel config?
> 
> MODULES_WITH_WORLD
> 
> Please read the subject line.  ;)

Ok, there seems to be a problem with setting up the environment when doing
this.  Why do you build modules with WORLD instead of doing it with the
kernel?  This sounds quite dangerous to me when kernel/modules go out of
sync.

Ruslan, do you have any idea what is going wrong?

-- 
Andre


More information about the cvs-src mailing list