From owner-freebsd-stable Sun Jul 1 23:47:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id 9A07B37B405 for ; Sun, 1 Jul 2001 23:47:09 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id IAA46703; Mon, 2 Jul 2001 08:47:07 +0200 (CEST) (envelope-from gunnar@pluto.sr.se) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.9.3/8.9.3) with ESMTP id IAA53798; Mon, 2 Jul 2001 08:47:07 +0200 (CEST) (envelope-from gunnar@pluto.sr.se) Received: (from root@localhost) by pluto.sr.se (8.11.2/8.11.1) id f626l6897303; Mon, 2 Jul 2001 08:47:06 +0200 (CEST) (envelope-from gunnar) Received: (from gunnar@localhost) by pluto.sr.se (8.11.2/8.11.1av) id f626l4b97294; Mon, 2 Jul 2001 08:47:04 +0200 (CEST) (envelope-from gunnar) Date: Mon, 2 Jul 2001 08:47:04 +0200 From: Gunnar Flygt To: Gianmarco Giovannelli Cc: FreeBSD Stable Subject: Re: make kernel is broken on ipfilter (4.3-STABLE) Message-ID: <20010702084704.A97160@sr.se> Reply-To: Gunnar Flygt Mail-Followup-To: Gunnar Flygt , Gianmarco Giovannelli , FreeBSD Stable References: <5.1.0.14.2.20010701110225.03ad5558@194.184.65.7> <5.1.0.14.2.20010701110225.03ad5558@194.184.65.7> <20010701112019.C296@blossom.cjclark.org> <5.1.0.14.2.20010702080811.01b1c7b8@194.184.65.7> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <5.1.0.14.2.20010702080811.01b1c7b8@194.184.65.7>; from gmarco@scotty.masternet.it on Mon, Jul 02, 2001 at 08:26:08AM +0200 X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 02, 2001 at 08:26:08AM +0200, Gianmarco Giovannelli wrote: > At 01/07/2001, you wrote: > >On Sun, Jul 01, 2001 at 11:02:37AM +0200, Gianmarco Giovannelli wrote: > > > At 01/07/2001, you wrote: > > > > > > > > > >I have a 4.3-STABLE laptop, installed from a 4.3 CDROM. > > > > > > > >If I do a: > > > >cd /usr/src > > > >make kernel > > > > > > > >with KERNCONF=FREEBSD it stops in this way: > > > > > > > >make: don't know how to make > > > >/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop > > > >Your src/sys/modules/ipfilter/Makefile is out of date. That file does > >not exist. > > > >Not exactly sure off the top of my head why building using the "old" > >method or GENERIC works. They should fail too if they try to build > >this module. > > > > > Ideas ? Tips ? > > > >Update src/sys/modules/ipfilter. > > I delete the ipfilter dirs from both /sys/modules/ipfilter and from contrib > tree. Then I run cvsup again and I get the new files. > > The same make kernel fails: > > preferred-stack-boundary=2 -c setdef0.c > cc -O -pipe -DIPV6FIREWALL -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/../include -m > preferred-stack-boundary=2 -c setdef1.c > ld -Bshareable -o ip6fw.ko setdef0.o ip6fw.kld setdef1.o > ===> ipfilter > make: don't know how to make I had the same problem. I deleted the total /usr/obj tree and remade the world, and then kernel. Then it works. You have to `chflags noschg -R /usr/obj` before you can delete the whole lot. > /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop > *** Error code 2 > > So why it continue to stop ? > Is "make kernel" and "config -r FREEBSD && cd ../../compile/FREEBSD && > make depend && make install" > make things using different Makefiles ? > > I use always mergemaster too to updated the system scripts. > > Btw a some considerations. > > a) Cvsup is running in exact mode so I allow the deletion of files too... > The dir /sys/modules/ipfilter had a lot of files before I delete it, after > I recreated it with cvsup I get only a Makefile with version : > > # $FreeBSD: src/sys/modules/ipfilter/Makefile,v 1.2.2.2 2001/06/07 05:11:44 > jlemon Exp $ > > ... but why cvsup doesn't delete them by itself during the last updated I > run (and I run a lot of them :-) ? > If I didn't manually remove them I continue to carry them in my tree... > > b) Why any other boxes I have installed from 4.2-RELEASE and the cvsupped > has the right files in the ipfilter dir ? (only a Makefile). > > c) Could it be a problem related to the src tree installed from the > 4.3-RELEASE cdrom that cvsup is not able to handle properly ? Now I think > I'll wipe all my src tree and then I try to get it again to see if the > problem is still here. > > Please stay tuned... > > > > > Best Regards, > Gianmarco Giovannelli , "Unix expert since yesterday" > http://www.giovannelli.it/~gmarco > http://www2.masternet.it > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message