From owner-cvs-src@FreeBSD.ORG Fri Aug 20 20:51:43 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 DD4AC16A4CF for ; Fri, 20 Aug 2004 20:51:43 +0000 (GMT) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B6E143D45 for ; Fri, 20 Aug 2004 20:51:43 +0000 (GMT) (envelope-from pdseniura@techie.com) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180])896B41801CCC for ; Fri, 20 Aug 2004 20:51:43 +0000 (GMT) X-OB-Received: from unknown (205.158.62.178) by wfilter.us4.outblaze.com; 20 Aug 2004 20:51:43 -0000 Received: by ws1-14.us4.outblaze.com (Postfix, from userid 1001) id 5998C790032; Fri, 20 Aug 2004 20:51:43 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [192.149.244.9] by ws1-14.us4.outblaze.com with http for pdseniura@techie.com; Fri, 20 Aug 2004 15:51:43 -0500 From: "P.D. Seniura" To: "Andre Oppermann" Date: Fri, 20 Aug 2004 15:51:43 -0500 X-Originating-Ip: 192.149.244.9 X-Originating-Server: ws1-14.us4.outblaze.com Message-Id: <20040820205143.5998C790032@ws1-14.us4.outblaze.com> 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:51:44 -0000 ----- Original Message ----- From: Andre Oppermann Date: Fri, 20 Aug 2004 22:07:32 +0200 To: "P.D. Seniura" Subject: Re: problem in building modules-with-world re: cvs commit:src/sys/netinet ip_fw_pfil.c > "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. It is still supported, no? ;) Do y'all really want to know why? (1) It shaves hours & hours off kernel build times on this puny p2. (2) Things that the hardware needs are built into my custom kernels. Firewall is not needed by IBM's hardware to boot-up. ;) (3) I like having modules-files stored separately (/boot/modules) from the kernel (/boot/kernel) in case I mess-up one or the other during tests. (4) And I LUV Apple's way of doing this same sort of thing. Tiny kernel for booting, then load other stuff as needed, on the fly, change parms and/or kext code WITHOUT REBOOTING, etc. ;) Well I can think of s'more reasons but I hope y'all get my drift... ;) And before I forget _again_ I want to say THANK YOU for taking time working on all this. > Ruslan, do you have any idea what is going wrong? > > -- > Andre -- thx, Paul Seniura. -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm