From owner-cvs-src@FreeBSD.ORG Fri Aug 20 20:07:35 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0D8D16A4CE for ; Fri, 20 Aug 2004 20:07:35 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C42843D5D for ; Fri, 20 Aug 2004 20:07:35 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 9139 invoked from network); 20 Aug 2004 20:07:26 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 20 Aug 2004 20:07:26 -0000 Message-ID: <41265A04.25A48B17@freebsd.org> Date: Fri, 20 Aug 2004 22:07:32 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "P.D. Seniura" References: <20040820192058.3BE26790032@ws1-14.us4.outblaze.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: ru@freebsd.org Subject: Re: problem in building modules-with-world re: cvs commit:src/sys/netinet ip_fw_pfil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 20:07:36 -0000 "P.D. Seniura" wrote: > > ----- Original Message ----- > From: Andre Oppermann > Date: Fri, 20 Aug 2004 20:01:25 +0200 > To: Paul Seniura > 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